This line:
GetActiveWindow>title,X,Y,W,H
is getting the position and size of the window, so try adding
MessageModal>%title% %X% %Y% %W% %H%
to see if that is working correctly.
Macro Image Library
Moderators: Dorian (MJT support), JRL
It creates a pop up, and as long as the window is in the left side of the screen, it works. But as soon as I move the window to the middle of to the right of the screen i get an error. Incorrect Parameter.
________
Health Discussion
________
Health Discussion
Last edited by adivarup on Wed Feb 02, 2011 12:37 pm, edited 1 time in total.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
I'm baffled by what you are saying - I can run this script and it works fine wherever IE is on the screen!
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?
I really dont know what to tell you all. I am just reporting what I am seeing here. I have a Dell Inspiron 6000. The resultion is super high, but no i am not using any multiscreen drivers.
Skunk, thanks for the ideas about placing the screen at 0,0. I will do that.
It does seem strange to me why it would error out. I ran a few tests this morning.
1. If IE is max, then the script works.
2. If IE is in absolute left... it works.
3. If IE is in middle, it does nothing.
4. If IE is in absolute right, I get a fatel error... many error windows are opened. If you want, I can take snapshots. But i dont know how to show you the pics on here.
________
how to roll a joint
Skunk, thanks for the ideas about placing the screen at 0,0. I will do that.
It does seem strange to me why it would error out. I ran a few tests this morning.
1. If IE is max, then the script works.
2. If IE is in absolute left... it works.
3. If IE is in middle, it does nothing.
4. If IE is in absolute right, I get a fatel error... many error windows are opened. If you want, I can take snapshots. But i dont know how to show you the pics on here.
________
how to roll a joint
Last edited by adivarup on Wed Feb 02, 2011 12:38 pm, edited 1 time in total.
-
- Newbie
- Posts: 10
- Joined: Thu Feb 12, 2004 2:18 pm
another option
If the script works when the window position is at 0,0 (upper leftmost) you may be able to handle different window positions by:-
1) getting the current position of the window.
2) adding those values(as variables of course) to the mouse and other positioning commands.
1) getting the current position of the window.
2) adding those values(as variables of course) to the mouse and other positioning commands.