[Done] Color Highlighting for SYSTEM VARIABLES in MS Editor
Moderators: Dorian (MJT support), JRL
[Done] Color Highlighting for SYSTEM VARIABLES in MS Editor
Hi Support,
Would it be possible to provide color highlighting for all SYSTEM VARIABLES in the Macro Scheduler editor? Perhaps a new color not presently used?
That way, if a SYSTEM VARIABLE was used by mistake, users would see they're dealing with a SYSTEM VARIABLE and use something else.
This might prevent situations like in the following post...
http://www.mjtnet.com/usergroup/viewtopic.php?t=2584
Would it be possible to provide color highlighting for all SYSTEM VARIABLES in the Macro Scheduler editor? Perhaps a new color not presently used?
That way, if a SYSTEM VARIABLE was used by mistake, users would see they're dealing with a SYSTEM VARIABLE and use something else.
This might prevent situations like in the following post...
http://www.mjtnet.com/usergroup/viewtopic.php?t=2584
Last edited by jpuziano on Sun Dec 07, 2008 2:43 am, edited 8 times in total.
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: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Good idea!
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?
Hi Marcus,
Will color highlighting for SYSTEM VARIABLES be supported in the improved editor for the upcoming version 11 of Macro Scheduler?
Will color highlighting for SYSTEM VARIABLES be supported in the improved editor for the upcoming version 11 of Macro Scheduler?
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 -
Hi Marcus,
While playing with the 11 betas, I was happy to see that you added color highlighting for SYSTEM VARIABLES... they were showing up dark red which was great. But now after installing the official 11 release... they're back to plain black.
I don't see an option to turn color highlighting on or off anywhere... how do I get the color highlighting back?
While playing with the 11 betas, I was happy to see that you added color highlighting for SYSTEM VARIABLES... they were showing up dark red which was great. But now after installing the official 11 release... they're back to plain black.
I don't see an option to turn color highlighting on or off anywhere... how do I get the color highlighting back?
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 -
Hi Marcus,
OK, answered my own question, I entered the following in version 11 and this is how it looked:
Thanks and take care
OK, answered my own question, I entered the following in version 11 and this is how it looked:
- Let>_DUMP_VARS=0
Let>_WRITE_LOG_FILE=0
Thanks and take care
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: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I'll get that fixed in the first maintenance release.
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?
Color in editor and automatically entering End>
I just installed the offical update and have had some issues.
Half way through viewing an existing script the colors all became black and when I tried to edit it "End>" was inserted for what ever reason I don't know. Since it was an existing working script, I compiled it, (have not tested it yet - and won't bother) and it placed the header information in for the next compile (fantastic).
I opened another script and the same thing with the colors (I count on the colors) so I rebooted thinking that may fix it.) Same thing so I said forget it I will wait until someone else has the issues and reports it.
Well, I did a restore (the install did not create a restore point) so I used yesterdays, no big deal.
I went to open the script and it will not open in version 10 anymore. So I had to restore the script from my backup.
Half way through viewing an existing script the colors all became black and when I tried to edit it "End>" was inserted for what ever reason I don't know. Since it was an existing working script, I compiled it, (have not tested it yet - and won't bother) and it placed the header information in for the next compile (fantastic).
I opened another script and the same thing with the colors (I count on the colors) so I rebooted thinking that may fix it.) Same thing so I said forget it I will wait until someone else has the issues and reports it.
Well, I did a restore (the install did not create a restore point) so I used yesterdays, no big deal.
I went to open the script and it will not open in version 10 anymore. So I had to restore the script from my backup.
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Please please please please please read the release notes. If you edit a script in v11 you will NOT be able to open it in v10. This is stated in the release notes and has been the case since the beta was announced.
As for the colors, not sure what is happening there, but if you manage to find a pattern to reproduce please let me know.
As for the colors, not sure what is happening there, but if you manage to find a pattern to reproduce please let me know.
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?
If there is an absolute requirement to edit a script from the version 11 editor using the version 10 editor. Here is a way to do it. I'm not recommending this but I've done it and it worked for me. Be sure you back up the script before you try this.kpassaur wrote:I went to open the script and it will not open in version 10 anymore. So I had to restore the script from my backup.
- Open Windows Explorer
- Right click on the script file
- pick "Open With" then "NotePad" from the menu (or browse to notepad)
- Press CTRL+A (select all) then CTRL+C (copy)
- Close notepad
- Open the script in the version 10 editor
- You will see a few odd characters if this is a version 11 edited script
- Press CTRL+A (select all) then CTRL+V (paste)
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Now do you want the quick way? Whilst in the v11 editor select File/Save As, and in "Save as Type" select "ANSI Script Files". Then the file will be compatible with v10 and earlier.JRL wrote:If there is an absolute requirement to edit a script from the version 11 editor using the version 10 editor. Here is a way to do it. I'm not recommending this but I've done it and it worked for me. Be sure you back up the script before you try this.kpassaur wrote:I went to open the script and it will not open in version 10 anymore. So I had to restore the script from my backup.
- Open Windows Explorer
- Right click on the script file
- pick "Open With" then "NotePad" from the menu (or browse to notepad)
- Press CTRL+A (select all) then CTRL+C (copy)
- Close notepad
- Open the script in the version 10 editor
- You will see a few odd characters if this is a version 11 edited script
- Press CTRL+A (select all) then CTRL+V (paste)
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?
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
That assumes you have v11 running of course. Otherwise, JRL's solution will also work.
The difference is just that v11 saves .scp files with Unicode encoding. v10 expects ANSI encoding.
Notepad gives you an encoding option when you save and autodetects the encoding when you open a file. So another way should just be to open the file in Notepad and then save it again, selecting ANSI encoding as you do so.
The difference is just that v11 saves .scp files with Unicode encoding. v10 expects ANSI encoding.
Notepad gives you an encoding option when you save and autodetects the encoding when you open a file. So another way should just be to open the file in Notepad and then save it again, selecting ANSI encoding as you do so.
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?
Version 11 and colors
Thanks for the tips to save a version 10 script.
I installed ver 11 on another PC and have the same issue with colors or should I say Commands being recognized. It is not on all scripts but on some of them (actually most of them that I tried).
I did notice (this maybe just me) that the ones that had Dialog Boxes were the ones that had issues. However, the colors change to all black at no specific command line.
It is really puzzling, if anyone wants to try one I will post it and they can see what they get.
I installed ver 11 on another PC and have the same issue with colors or should I say Commands being recognized. It is not on all scripts but on some of them (actually most of them that I tried).
I did notice (this maybe just me) that the ones that had Dialog Boxes were the ones that had issues. However, the colors change to all black at no specific command line.
It is really puzzling, if anyone wants to try one I will post it and they can see what they get.
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Please could you send me one of the scripts that causes problems. I haven't seen this issue myself having tested with all kinds of scripts of various sizes, but perhaps there is something in your script file. Might make sense if you send the .scp file as an attachment to my email address.
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?
Thanks Marcus... I'll look for it then.mtettmar wrote:I'll get that fixed in the first maintenance release.
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 -
Per Macro Scheduler History page at http://www.mjtnet.com/mswhatsnew.htm
- Version 11.0.26 03/12/2008
Fixed: Syntax highlighting being halted by "dialog" keyword
Fixed: _WRITE_LOG_FILE missing from syntax highlighter
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 -