side by side
lines around each change
Show the changes in full context
White space changes
May 11, 2012, 4:00:42 PM (
Please take special attention on the used quotating marks (' and ") used on the WRITEEDITOR command. Any other combination of these quotation marks will actually result in the WRITEEDITOR command to return the above mentioned error. However, if you want to just issue the e.g. CLEAR attribute you can also simply use "WRITEEDITOR CLEAR" without any quotating marks. The special quotation is only required for the TEXT attribute.
== The GotoURL.yam Arexx script doesn't seem to work and popup my webbrowser if I doubleclick on an URL. Why? ==
The included GotoURL.yam Arexx script might fail due to several possible reasons.
First of all, we have to mention that due to the direct integration of the openurl.library in YAM 2.4+, the Arexx script is somewhat considered obsolete. The same behaviour/functionality can now be achieved by installen the OpenURL library and its tools. So, we highly recommand to install the openurl.library instead and disable the use of the GotoURL.yam script in your YAM->Arexx configuration.
However, if you still want to continue to use the GotoURL.yam arexx script there are several things you have to consider and eventually modify the arexx script directly:
* Several parameters within the GotoURL.yam script have to be changed and adapted to your own environment. This includes the correct path to the webbrowser you want to get started as soon as you double-click on an URL
* Since YAM 2.5+, the way Arexx scripts are executed is slightly changed. In fact, former versions did automatically supply the script the full path to the URL when executing. Since YAM 2.5+ you have to make sure that within the Arexx configuration you supply the script the necessary URL replacement substitution string (%p).
== Why can't I send newline characters (0x0a) via the WRITEEDITOR Arexx command to YAM? ==
You can. But you have to escape such special characters like a newline or an escape (0x1b) character with some special char sequences like:
*N subsitutes to a newline (0x0a)
*E subsitutes to a esc char (0x1b)
** subsitutes to a *
*" subsitutes to a "
For example the following command would write a string to a texteditor containing a newline:
'WRITEEDITOR "TEXT Hello Joe,*N I would like to meet you."'
Please note that this applies to all Arexx command arguments and that you have to use proper escape sequences like explained above.
(C) 2000-2016 YAM Open Source Team