Allow XY variables for script captions

Features wanted...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Allow XY variables for script captions

Post 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??

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Allow XY variables for script captions

Post 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. :)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Allow XY variables for script captions

Post 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! :D

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Allow XY variables for script captions

Post 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.

admin
Site Admin
Posts: 66310
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Allow XY variables for script captions

Post 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. :)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Allow XY variables for script captions

Post 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.

Post Reply