An short example

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

An short example

Post by kpassaur » Wed Dec 03, 2008 5:06 pm

I cut this from a ver 10 script and pasted it into ver 11 as this was where the colors stopped working.
The first two lines are in color the rest of the lines are in B&W.

Origionally the end of the sub was End instead of END, I placed the editor on the line SRT>RemoveProfile, it added the END, I added the RemoveProfile and then pasted the lines inbetween, thinking maybe that had something to do with it. However, I don't think it is with the script as it should be in color as long as there is a command. And this is happening on two different PCs

SRT>RemoveProfile
DeleteFile>C:\parsetext\Outputjobs\%Dialog1.Profilechoicecombo%.ini
DeleteFile>C:\parsetext\Outputjobs\catlist_%Dialog1.Profilechoicecombo%.txt
GoSub>getllist
Let>r=0
Let>DIALOG1.PROFILECHOICECOMBO.ITEMS.TEXT=%filelist%
Let>DIALOG1.PROFILECHOICECOMBO.ITEMINDEX=0
ResetDialogAction>Dialog1
Show>Dialog1
END>RemoveProfile

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 03, 2008 5:10 pm

I think I have just realised what is causing this. It is the name of the dialog. It is seeing "Dialog" as a token starting a dialog block. If you change the name of the dialog from "Dialog" to "myDialog" for example, the problem goes away.

Will try and find a solution for this.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Dialog color issue

Post by kpassaur » Wed Dec 03, 2008 5:32 pm

I think that is it, I went into 5 scripts, changed the name of the Dialog box to something that did not begin with Dialog and it displayed correctly.

Sort of like if you import a bitmap and the name of the imported file starts with setup you will get an error at the end of the script.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 03, 2008 5:35 pm

I think we have this fixed .... stay tuned ...
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 03, 2008 5:43 pm

Please try downloading 11.0.26 from the registered download area. Should fix it.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts