Hi Marcus,
Given the following single line macro:
RegEx>pattern,myStr,1,matches,num,1,,myStr
I noticed that the Variable Explorer (Ctrl-Alt-V) does not show any of those variable names.
I understand why it wouldn't show matches as the actual variables (if matches were found) would be named matches_1, matches_2, etc.
However on stepping through with the debugger, that lines does create a variable called NUM so shouldn't the variable explorer show that?
Also myStr - I'm thinking we'd use the Variable Explorer to see all the lines that contain a certain variable. If I look for myStr in the list, it may be listed if its used in other lines... but any RegEx lines that use that variable... won't be listed.
???
Variable Explorer does not show RegEx> variables
Moderators: JRL, Dorian (MJT support)
Variable Explorer does not show RegEx> variables
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -

- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I'm seeing the variables in the watch list just fine.
E.g. if I run this:
RegEx>s,yes sir,1,matches,num,1,,myStr
I see the following in the match list:
MATCHES_2=s
MATCHES_1=s
MYSTR=ye ir
NUM=2
All as expected.
E.g. if I run this:
RegEx>s,yes sir,1,matches,num,1,,myStr
I see the following in the match list:
MATCHES_2=s
MATCHES_1=s
MYSTR=ye ir
NUM=2
All as expected.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
So am I, all is fine there but I'm not talking about the Watch List. I'm referring to your "Variable Explorer"...mtettmar wrote:I'm seeing the variables in the watch list just fine.
Variables that only appears in RegEx> lines seem to be completely ignored by the Variable Explorer... they just do not appear in the list.The Help File wrote:Variable Explorer
The variable explorer is activated from the Tools menu of the Script Editor, or by typing CTRL-ALT-V.
The variable explorer lists all the user defined variables created by the script and shows you where they are created and modified. Double click on a variable name header to insert it into the script. Double click on a line item to locate the line in the editor.
If a variable appears in other commands, that variable will be listed by the Variable Explorer... but when you click on the variable name to see all the lines in which it appears, it will show them... except it will not show RegEx> lines.
If I'm using it to see all the lines where a variable is used... I'd like to be able to see them all... even the RegEx> lines.
Can you please let me know if this is working the same way for you? I've tried this in MS 11.1.19 on both XP SP3 and Windows 7.
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -

- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Ah, ok. I see. Will check that out.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?