AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

save images from clipboard
Goto page Previous  1, 2
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
mindless



Joined: 09 Mar 2006
Posts: 2

PostPosted: Wed Feb 13, 2008 4:54 pm    Post subject: Reply with quote

Good idea, thanks for trying to help, I have tried your suggestion but then that just raises another error somewhere else. I'd rather not have to debug the whole thing line by line.

Besides while I was waiting for an answer I was busy looking for alternatives, I ended up writing my own script to automate Kleptomania, I can now define a region of the screen to text capture and have that copied to the clipboard for me, which is what I came here looking for in the first place.

The only thing is that I have wrote the script in AutoIt rather than AutoHotKey as its what I'm more familiar with, I can post the script I wrote if anyone's interested?
Back to top
View user's profile Send private message
impecco



Joined: 09 Dec 2007
Posts: 3
Location: Germany

PostPosted: Wed Feb 13, 2008 9:42 pm    Post subject: Reply with quote

I am using AutoHotkey version 1.0.47.04 under VISTA, may be this is the reason why it works in my case.
AutoHotkey help contains some hints into this direction:
...
One True Brace (OTB, K&R style): In v1.0.41+, the OTB style may optionally be used in the following places: expression if-statements, the "else" keyword, normal loops, and function definitions. This style puts the block's opening brace on the same line as the block's controlling statement rather than underneath on a line by itself. For example:

if (x < y) {
...
} else {
...
}
Loop %RepeatCount% {
...
}
MyFunction(x, y) {
...
}
...
_________________
Impecco: Rerum Cognoscere Causas!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group