Script doesnt work

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Alpha_AI
Pro Scripter
Posts: 61
Joined: Wed Sep 19, 2007 9:30 am

Script doesnt work

Post by Alpha_AI » Wed Sep 19, 2007 9:35 am

Script problem

My macro doesnt work.
Here is the script

Let>RP_WINDOWMODE=3
Run Program>C:\Program Files\Adobe\Adobe Photoshop CS2\photoshop.exe
WaitWindowOpen>photoshop*
GetScreenRes>sX,sY
ScreenCapture>0,0,sX,sY,C:\macros\adobe photoshop\images\screen.bmp
FindImagePos>C:\Macros\Adobe Photoshop\images\MenuFile.bmp,C:\Macros\Adobe Photoshop\images\screen.bmp,20,1,XPos,YPos,imgs
If>imgs>0
MouseMove>XPos_0,YPos_0
LClick
EndIf

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

Post by Marcus Tettmar » Wed Sep 19, 2007 9:47 am

In what way doesn't it work? Have you checked all the return variables? Paths? Have you debugged it? Were the images captured with Macro Scheduler's own image capture tool?

http://www.mjtnet.com/blog/2007/09/12/d ... bug-debug/

http://www.mjtnet.com/blog/2007/09/12/d ... bug-debug/
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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