Position the ASK dialog

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
[email protected]
Junior Coder
Posts: 25
Joined: Wed Jul 20, 2011 3:07 pm

Position the ASK dialog

Post by [email protected] » Fri Jul 25, 2014 4:36 pm

It appears that the MSG_XPOS and MSG_YPOS do not affect the ASK dialog. Is there a way to position this?

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: Position the ASK dialog

Post by JRL » Fri Jul 25, 2014 5:44 pm

There's no built in method to control the Ask dialog. You could write a second dynamic script that your main script would invoke just prior to opening the Ask box that could move it after it opens. But if you're going to that much effort you may as well create you own Ask dialog.

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

Re: Position the ASK dialog

Post by Marcus Tettmar » Fri Jul 25, 2014 9:17 pm

Or, what I would do is create your own version of an Ask dialog using the custom dialog designer which you could position anywhere you like. It would be easy to make a dialog look and work exactly like Ask.
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
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: Position the ASK dialog

Post by JRL » Thu Jul 31, 2014 3:12 pm


[email protected]
Junior Coder
Posts: 25
Joined: Wed Jul 20, 2011 3:07 pm

Re: Position the ASK dialog

Post by [email protected] » Thu Jul 31, 2014 7:13 pm

Thanks for this JRL. I hadn't gotten around to doing it yet, so I am very appreciative.

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