strawman2 Posted November 9, 2010 Share Posted November 9, 2010 I fill out the same form hour after hour at work to our internal webpage, using data from excel/word/outlook. I have been able to jump to first form field (this is in firefox) when I press ALT+D, which is easier than tab as I can just slide my thumb to the left, what I want AutoIT to do now is to paste or 'ctrl+v' either way, I will already have the data on my clipboard, hit ALT+D, and then it pastes. If someone could guide me where to read on how to do this or assist me I would greatly appreciate it. Basically, I press ALT+D, jumps to first form field (have this part done), AutoIT pastes whats on clipboard (usually 10-20 characters of info). Thanks! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted November 10, 2010 Share Posted November 10, 2010 See ClipGet in the Helpfile. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
strawman2 Posted November 10, 2010 Author Share Posted November 10, 2010 Not sure how to set _ispressed, I am a complete noob, but can I do 'OnEvent("!d","Send("^v")' ? Thanks I don't need getclip because I will manually put the item to paste on the clipboard with CTRL+C, I need it to send (CTRL+V) Send("^v") after I press Alt+D or "!d" Link to comment Share on other sites More sharing options...
omikron48 Posted November 10, 2010 Share Posted November 10, 2010 (edited) If the information is already on the Clipboard, then use Send("^v"). As for the shortcut, you can just make functions then trigger them by registering hotkeys via HotKeySet. You don't really need to use _IsPressed if the functionality that you want is just a plain old keyboard shorcut. Edited November 10, 2010 by omikron48 Link to comment Share on other sites More sharing options...
somdcomputerguy Posted November 10, 2010 Share Posted November 10, 2010 but can I do 'OnEvent("!d","Send("^v")' ?Put the Send line in the function that the ALT-d key combo hotkeys. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
C45Y Posted November 10, 2010 Share Posted November 10, 2010 enjoy HotKeySet("^x","_paset") while 1 Sleep(1) WEnd Func _paset() Send(ClipGet()) Exit EndFunc http://twentylinesofcode.blogspot.comLittle apps n crap. can be fun Link to comment Share on other sites More sharing options...
somdcomputerguy Posted November 10, 2010 Share Posted November 10, 2010 Ya, that's what I meant, C45Y. I just read my earlier post.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
C45Y Posted November 10, 2010 Share Posted November 10, 2010 Ya, that's what I meant, C45Y. I just read my earlier post.. haha yes thought it could use some clarificationglad i can help.now just hope strawman2 gets it all working http://twentylinesofcode.blogspot.comLittle apps n crap. can be fun Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now