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 

How to use Script recorder

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
evildave1025



Joined: 11 Jul 2008
Posts: 2

PostPosted: Fri Jul 11, 2008 10:59 pm    Post subject: How to use Script recorder Reply with quote

I tried recording key strokes Alt+F5 with Script recorder and it yielded the
following script "Send, {ALTDOWN}{F5}{ALTUP}".

I then pasted the script into notepad and saved it with the .ahk extension.

I was hoping that would initiate the action, but, no such luck.

Thankfully a guest member of the forum told me to use this script
"Send, !{F5}" and that has done the trick.

What concept about script recorder am I misunderstanding?

I was under the assumption it was similar to recording a macro in excel.

Please enlighten me


Thanks in advance,
EvilDave
Back to top
View user's profile Send private message
Rhys



Joined: 17 Apr 2007
Posts: 712
Location: Florida

PostPosted: Fri Jul 11, 2008 11:40 pm    Post subject: Reply with quote

Not positive, but I think the first code should have worked...
_________________
[Join IRC!]
Back to top
View user's profile Send private message
SpiderGames



Joined: 09 Jun 2008
Posts: 267
Location: Canada

PostPosted: Sat Jul 12, 2008 5:59 pm    Post subject: Reply with quote

{ALTDOWN} has to be writen as {AltDown} or {RAltDown}
_________________
http://www.spider-games77.piczo.com
Join the Elite few...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
tank



Joined: 21 Dec 2007
Posts: 616

PostPosted: Sat Jul 12, 2008 6:25 pm    Post subject: Reply with quote

Moderator needs to move this to the bug report forum Spider is correct the case is why it failed
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
SpiderGames



Joined: 09 Jun 2008
Posts: 267
Location: Canada

PostPosted: Sat Jul 12, 2008 7:35 pm    Post subject: Reply with quote

=P
_________________
http://www.spider-games77.piczo.com
Join the Elite few...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Sat Jul 12, 2008 9:09 pm    Post subject: Reply with quote

works for me:
Code:

Send, {ALTDOWN}{F5}{ALTUP}

return

!f5::
msgbox
exitapp

_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
tank



Joined: 21 Dec 2007
Posts: 616

PostPosted: Sat Jul 12, 2008 9:35 pm    Post subject: Reply with quote

me will revert to rule 3 of engunneer sig Wink
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
SpiderGames



Joined: 09 Jun 2008
Posts: 267
Location: Canada

PostPosted: Sun Jul 13, 2008 12:04 am    Post subject: Reply with quote

what version of computer are you runnign it on vista xp... me?
_________________
http://www.spider-games77.piczo.com
Join the Elite few...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Sun Jul 13, 2008 12:11 am    Post subject: Reply with quote

Incidentally, I tested it o my Libretto, so 98.

While writing this post, I tested the exact same code in XP.

Also incidentally, I susgest people not ue the scriptwriter. There are much better ways of making the script do what you want, and the scriptwriter code always has to be massaged into what you want anyway, so why not write from scratch?
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
tank



Joined: 21 Dec 2007
Posts: 616

PostPosted: Sun Jul 13, 2008 12:24 am    Post subject: Reply with quote

most use macro recorders to create examples to modify helps the learning curve they learn from how the script writer executes and what form it takes it beats the heck out of rtfm if you only ever going to use it once or twice
But in the end i agree it is as macro recorders go, one of the worst examples of one out there
_________________
Read this
Com
Automate IE7 with Tabs
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
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