| View previous topic :: View next topic |
| Author |
Message |
evildave1025
Joined: 11 Jul 2008 Posts: 2
|
Posted: Fri Jul 11, 2008 10:59 pm Post subject: How to use Script recorder |
|
|
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 |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 712 Location: Florida
|
Posted: Fri Jul 11, 2008 11:40 pm Post subject: |
|
|
Not positive, but I think the first code should have worked... _________________ [Join IRC!]
 |
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 267 Location: Canada
|
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 616
|
Posted: Sat Jul 12, 2008 6:25 pm Post subject: |
|
|
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 |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 267 Location: Canada
|
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sat Jul 12, 2008 9:09 pm Post subject: |
|
|
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 |
|
 |
tank
Joined: 21 Dec 2007 Posts: 616
|
|
| Back to top |
|
 |
SpiderGames
Joined: 09 Jun 2008 Posts: 267 Location: Canada
|
Posted: Sun Jul 13, 2008 12:04 am Post subject: |
|
|
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 |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sun Jul 13, 2008 12:11 am Post subject: |
|
|
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 |
|
 |
tank
Joined: 21 Dec 2007 Posts: 616
|
Posted: Sun Jul 13, 2008 12:24 am Post subject: |
|
|
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 |
|
 |
|