It should ask for the option (drop down box/entry box) ?

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
JVM
Junior Coder
Posts: 40
Joined: Wed Oct 10, 2007 1:14 pm
Location: delhi (india)
Contact:

It should ask for the option (drop down box/entry box) ?

Post by JVM » Thu Nov 15, 2007 4:37 am

Dear friend,


can we create a front which includes the options that we use the most.
It should ask for the option (drop down box/entry box?)
is this possible with the Macro Scheduler.

waiting for reply.
Mayank Upadhyay
hi every one.

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

Post by Marcus Tettmar » Thu Nov 15, 2007 8:19 am

Yes, you can make dialogs with Macro Scheduler. Look at the Dialog Designer under the Advanced Editor.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

JVM
Junior Coder
Posts: 40
Joined: Wed Oct 10, 2007 1:14 pm
Location: delhi (india)
Contact:

It should ask for the option (drop down box/entry box) ?

Post by JVM » Thu Nov 15, 2007 9:55 am

Dear friend, hanks for the reply. well i want list box with the options
1. replace all
2. replace substring
3. conditional change

wat i want to do is " ask about these option and after selecting a option the following script should start.
Not getting how to create it.

wat i tried is here

wait>0.2
Dialog>Dialog1
Caption=Dialog1
Width=445
Height=250
Top=212
Left=148
ListBox=msListBox1,0,0,65,161,
EndDialog>Dialog1

i know i am doing wrong please guide me. how to create it and how can i use it.
Last edited by JVM on Thu Nov 15, 2007 10:36 am, edited 1 time in total.
hi every one.

JVM
Junior Coder
Posts: 40
Joined: Wed Oct 10, 2007 1:14 pm
Location: delhi (india)
Contact:

It should ask for the option (drop down box/entry box) ?

Post by JVM » Thu Nov 15, 2007 10:34 am

Dear friend,

am i doing right now if than why it is not showing the dialog.
please guide me

Dialog>Dialog1

Caption=Non-Modal Dialog

Top=113

Width=264

Left=16

Height=113

Button=Update,16,8,75,25,5

Button=Exit,16,48,75,25,6

Edit=msEdit1,104,8,121,Fred
ListBox=Replaceoptions,104,35,121,50,change farebase%CRLF%tourcode%CRLF%min stay%CRLF%max stay

EndDialog>Dialog1

Show>Dialog1
hi every one.

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

Post by Marcus Tettmar » Thu Nov 15, 2007 10:38 am

Your script displays the dialog non-modal and then exits. So you will probably never see it - it will flash up on the screen briefly before the script ends. I expect you want a modal dialog. In which case change the last line to:

Show>Dialog1,result

Please look at the help file and the examples that come with the software and also search these forums for dialog - there are hundreds of examples here.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

JVM
Junior Coder
Posts: 40
Joined: Wed Oct 10, 2007 1:14 pm
Location: delhi (india)
Contact:

It should ask for the option (drop down box/entry box) ?

Post by JVM » Thu Nov 15, 2007 10:45 am

thanks friend.
hi every one.

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