jacky wrote:Stefan wrote:but i like to suggest an new scripting command "notepad" or "edit"
to work like "text" but just open the default text editor instead.
Does it have to be the default text editor
No, an option to set an different editor as default inside XY could be nice anyway too.
Would be also nifty for other situations to open text files with an favorite editor without the need for do POM or scripting first. (for non-adv. users)
But this was not my intention.
(Which would require the use of a temp file) ?
Not really (PostMessage/SendMessage, isn't it?)
Cause otherwise, XY already provides such a function, called input. Try this: msg input(,,report("{Name}"),m);
Thanks jacky but this is basically the same as using 'text report("{Name}");'
But this dialog lacks all the advance features of an editor like "Sort", "Search&Replace", "LineNumbers" and above all...: "Save as"
I know that i can use 'writefile' and 'run notepad' on my own... but since this is
an common use i want to suggest an simpler/quicker way.
An other idea would be an optional "Save as..." -button for text() and input() ?
But notepad() or edit() would be more useful me think?
.