Hints, tips and tricks for newbies
Moderators: Dorian (MJT support), JRL
-
Zjaii
- Newbie
- Posts: 11
- Joined: Fri Oct 15, 2010 3:48 pm
Post
by Zjaii » Wed Nov 10, 2010 5:47 pm
So I cant get my variables to be resolved before they are displayed in the message modal. I have looked at a few other posts and tried a few different variations to see if any would resolve before the MessageModal. I gotta be missing something obvious.
Code: Select all
GetScreenRes>screen_x,screen_y
Let>UpX=(screen_x*0.125)
Let>LeftY= (screen_x*0.25)
Let>BottomX= screen_x*0.875
Let>RightY= {screen_x * 0.75}
//ScreenCapture>UpX,LeftY,BottomX,RightY,C:\Pictures\FishermanDump.bmp
MessageModal>UpX : %UpX%%CRLF%LeftY : %LeftY%%CRLF%BottomX : %BottomX%%CRLF%RightY : %RightY%
MessageModal>%UpX%
Thanks in advance.
-
adroege
- Automation Wizard
- Posts: 438
- Joined: Tue Dec 07, 2004 7:39 pm
Post
by adroege » Wed Nov 10, 2010 6:10 pm
Try this:
Code: Select all
GetScreenRes>screen_x,screen_y
Let>UpX=screen_x*0.125
Let>LeftY=screen_x*0.25
Let>BottomX=screen_x*0.875
Let>RightY=screen_x*0.75
//ScreenCapture>UpX,LeftY,BottomX,RightY,C:\Pictures\FishermanDump.bmp
MessageModal>UpX : %UpX%%CRLF%LeftY : %LeftY%%CRLF%BottomX : %BottomX%%CRLF%RightY : %RightY%
MessageModal>%UpX%