Jump to content
Sign in to follow this  
Guest babychoi

Easy Key Macro

Recommended Posts

Guest babychoi

Hi

have hundreds of pictures need to be cropped using photoshop.

For some reason, if i run the automated patch from the program, it crashses,

So i decided to do it using this program

Send ("{up}") ;

Sleep (0100) ;

Send ("{ENTER}") ;

Sleep (0100) ;

Send ("{ESCAPE}") ;

what i want to do is, hit the 'up' button

and then wait to hit enter and then hit escape.

for some reason the up doesn't work.

when i looked at other topics, they had esc rather than ESCAPE

does it matter?

thanks for your help

Share this post


Link to post
Share on other sites
CyberSlug

Both "{ESCAPE}" and "{ESC}" are acceptable according to the help file.

You might try adding a sleep before the very first Send statement. Or use WinActivate(...) to make sure that the Photoshop window is active before the UP keypress is sent.


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×