Dialog Designer STATUSBAR

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
MadQuestion
Pro Scripter
Posts: 70
Joined: Wed Nov 08, 2017 6:54 pm

Dialog Designer STATUSBAR

Post by MadQuestion » Wed Nov 08, 2017 9:33 pm

Just a quick question if anyone can answer it...... This status bar in the dialog designer more tab..... What is its purpose exactly? Is it a way to deliver status messages to a dialog? Even better is there a way to update a dialog object such as the Memo Object with a new status message and have each message appear on a new line at the top of the memo box? I am trying to show the progress the script is making by giving myself status messages so I can track the script behavior kind of like the log step feature but a little less detail given. I have attached an image of what I am trying to explain. Where it says Message One, Two, Three Etc.... This is the Memo Object The Script would click within the emulator and navigate through a game after completeing each step I need a script that will add a status complete message where it reads "Message One" and then after the next task is completed it would move the Message One down one line and add the next status message.
I had been using this command but was wondering if there was a way to make it add a new line and have a multi line status rather than a single line.

SetDialogProperty>DIALOGNAMEHERE,MessageBox,Text,Ok %NAME% %WINDOWINFOCUS% Account %COUNT% Gold Collected

Any help or suggestions would be greatly welcomed.

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

Re: Dialog Designer STATUSBAR

Post by Marcus Tettmar » Thu Nov 09, 2017 10:25 am

At the risk of stating the obvious, it's for adding a status bar to the dialog. It goes at the bottom of the form. Use the SimpleText property to add text to 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?

MadQuestion
Pro Scripter
Posts: 70
Joined: Wed Nov 08, 2017 6:54 pm

Re: Dialog Designer STATUSBAR

Post by MadQuestion » Thu Nov 09, 2017 10:47 am

Is there any way to get a multi line status bar by using a memo box?

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

Re: Dialog Designer STATUSBAR

Post by Marcus Tettmar » Thu Nov 09, 2017 1:29 pm

No. Never heard of a multi-line status bar.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

MadQuestion
Pro Scripter
Posts: 70
Joined: Wed Nov 08, 2017 6:54 pm

Re: Dialog Designer STATUSBAR

Post by MadQuestion » Thu Nov 09, 2017 9:19 pm

I am trying to make an area in the dialog where I can deliver text based messages to the user like a status bar or the SOWriteLn> Function for the console but in a dialog its not necessary for the messages to be located at the bottom of the dialog and needs to be more than one single line shown at any time. It dont need to be scrolled just needs to be able to read the say last 7 status messages sent. the message would make no sense if delivered on a single line and this is why I need a method of delivering a multi line user message system into my script dialog. I have been using memobox objects but I am unsure how to script it to take a new line when editing the text within the Multiline section. Any help from you marcus on this subject would be a great help as there are very little in the way on online tutorials on youtube for dialogs, it has basic tutorials and I required something a little more complicated than basic dialog creation techniques If dialog Designer had a better wizard or even any wizard it would be a great addition to future updates. Even so still the best macro software on the market :-)

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

Re: Dialog Designer STATUSBAR

Post by Marcus Tettmar » Fri Nov 10, 2017 2:22 pm

I'd also use a memo. To "take a new line" I assume you mean you want to add a new line? You'd do that by appending a CRLF followed by the text you want to add.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

MadQuestion
Pro Scripter
Posts: 70
Joined: Wed Nov 08, 2017 6:54 pm

Re: Dialog Designer STATUSBAR

Post by MadQuestion » Fri Nov 10, 2017 6:05 pm

Yes great %CRLF% this is what I didnt know how to do. Now a memo box works perfectly for what I need. Thanks Marcus!

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