Page 1 of 1
Allow XY variables for script captions
Posted: 17 Nov 2008 08:20
by serendipity
Code: Select all
+ POM: Now the captions may contain XY variables. They are resolved in the moment the POM is generated. For example:
|"Search IMDB for '<curbase>'" *>::Open("http://www.imdb.com/find?s=tt&q=<curbase>");
Maybe allow this for script captions too??
Re: Allow XY variables for script captions
Posted: 17 Nov 2008 08:56
by admin
serendipity wrote:Code: Select all
+ POM: Now the captions may contain XY variables. They are resolved in the moment the POM is generated. For example:
|"Search IMDB for '<curbase>'" *>::Open("http://www.imdb.com/find?s=tt&q=<curbase>");
Maybe allow this for script captions too??
Yeah, why not. Added it.

Re: Allow XY variables for script captions
Posted: 17 Nov 2008 17:19
by serendipity
admin wrote:serendipity wrote:Code: Select all
+ POM: Now the captions may contain XY variables. They are resolved in the moment the POM is generated. For example:
|"Search IMDB for '<curbase>'" *>::Open("http://www.imdb.com/find?s=tt&q=<curbase>");
Maybe allow this for script captions too??
Yeah, why not. Added it.

Thanks!

Re: Allow XY variables for script captions
Posted: 21 Nov 2008 19:02
by serendipity
In continuation with me previous wish, is it possible to show user variables in script captions? Especially since we have global variables now.
For example consider this script:
Code: Select all
"start : 1"
input $byemessage, "Enter goodbye message", "Goodbye World";
copytext $byemessage;
load *, "_script1;_script2"
"Hello world : _script1"
msg "Your hello message was Hello World";
"<clipboard> : _script2"
msg "Your goodbye message was <clipboard>";
In script2, I am using one of XY's variable <clipboard> in the captions which is quite cool because the menus are not hardcoded anymore. But this method has limitations and would be nice if there could be someway to use user variables in captions.
Re: Allow XY variables for script captions
Posted: 22 Nov 2008 17:16
by admin
serendipity wrote:In continuation with me previous wish, is it possible to show user variables in script captions? Especially since we have global variables now.
For example consider this script:
Code: Select all
"start : 1"
input $byemessage, "Enter goodbye message", "Goodbye World";
copytext $byemessage;
load *, "_script1;_script2"
"Hello world : _script1"
msg "Your hello message was Hello World";
"<clipboard> : _script2"
msg "Your goodbye message was <clipboard>";
In script2, I am using one of XY's variable <clipboard> in the captions which is quite cool because the menus are not hardcoded anymore. But this method has limitations and would be nice if there could be someway to use user variables in captions.
Resolve Globals in captions... well, could work. I'm not sure about the ramifications, and it's not a good time to open a black box... please save wish for later.

Re: Allow XY variables for script captions
Posted: 22 Nov 2008 17:19
by serendipity
admin wrote:serendipity wrote:In continuation with me previous wish, is it possible to show user variables in script captions? Especially since we have global variables now.
For example consider this script:
Code: Select all
"start : 1"
input $byemessage, "Enter goodbye message", "Goodbye World";
copytext $byemessage;
load *, "_script1;_script2"
"Hello world : _script1"
msg "Your hello message was Hello World";
"<clipboard> : _script2"
msg "Your goodbye message was <clipboard>";
In script2, I am using one of XY's variable <clipboard> in the captions which is quite cool because the menus are not hardcoded anymore. But this method has limitations and would be nice if there could be someway to use user variables in captions.
Resolve Globals in captions... well, could work. I'm not sure about the ramifications, and it's not a good time to open a black box... please save wish for later.

Sure, I will remind you after the popular features are out.