Sign in to follow this  
Followers 0
bobheart

{printscreen}

5 posts in this topic

I have {PRINTSCREEN} working and it works fine but it grabs the whole window

so holding down the Alt key makes it grab the window that is in the front But not on XP Pro ? I have home and it works fine but on XP Pro it won't work so anyway around this or how to grab just the open window .

Share this post


Link to post
Share on other sites



Are you using BlockInput() in the script by any chance?

Share this post


Link to post
Share on other sites

This is the code I have right now .

Sleep(9000)
SoundPlay("om3ti.wav")
Send("{PrintScreen}")
Run("mspaint.exe")
Opt("WinWaitDelay", 10);speed things up
WinWait("untitled - Paint")
WinMenuSelectItem("untitled - Paint","", "&Edit", "&Paste")

Share this post


Link to post
Share on other sites

That code doesn't send the Alt keystroke... It should be:

Send("!{PRINTSCREEN}")

Share this post


Link to post
Share on other sites

Thanks man ..

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  
Followers 0