Jump to content

Easy Key Macro


Guest babychoi
 Share

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

Link to comment
Share on other sites

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!
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...