| View previous topic :: View next topic |
| Author |
Message |
saigepapa
Joined: 03 Aug 2007 Posts: 7
|
Posted: Fri Aug 03, 2007 1:58 pm Post subject: New user is lost! |
|
|
All I want to do is replace a program called RoboType from PC magazine because that program will not function in IE7 (which I use occasionally)
Anyway Robotype lets me type in a semicolon followed by an abreviation and returns a string. Thus:
";c " (no quotes) produces
Curiosity killed the cat. Satisfaction brought it back.
";he " (no quotes) produces
"Help" is not the same thing as "doing it for you."
That is all I want to do!!! I have over a hundred of abbreviations and many are multi-line.
";ms " produces
"Mozilla Support: Here are the links to the groups for Mozilla products.
news://news.mozilla.org/mozilla.support.firefox
news://news.mozilla.org/mozilla.support.thunderbird
There are others at the same location"
I have tried the quick start tutorial. It does not produce results it says it will.
It says I can put my .ahk files in a folder I choose. BUT how do I tell the program where to look. I tried a search on file location in these posts and found search was useless.
This program appears to be by and for geeks. I have been there and done that (since 1964) but am tired of the BS.
TIA
Lou |
|
| Back to top |
|
 |
tonne
Joined: 06 Jun 2006 Posts: 1159 Location: Denmark
|
Posted: Fri Aug 03, 2007 2:04 pm Post subject: |
|
|
| Code: | | :?*:;c ::Curiosity killed the cat.`nSatisfaction brought it back. |
Edit: What you are looking for is called hotstring & auto-replace in the help file.
Add the mentioned line as in the tutorial to a fresh ahk-file and double-click to launch it. _________________ there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face
- Kashmir |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Fri Aug 03, 2007 2:36 pm Post subject: |
|
|
You could also use the code provided here http://www.autohotkey.com/forum/topic20922.html .
It does the same with the help of an .ini-file. You can compile the script without loosing the ability to change your acronyms. |
|
| Back to top |
|
 |
saigepapa
Joined: 03 Aug 2007 Posts: 7
|
Posted: Fri Aug 03, 2007 2:36 pm Post subject: |
|
|
Thanks but where to put the file?
And does that mean I need 100 files for a hundred different abreviations? |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Fri Aug 03, 2007 2:39 pm Post subject: |
|
|
You can put the file wherever you want, you start the script by double-clicking it.
And No, you donīt need to make hundreds of files. |
|
| Back to top |
|
 |
saigepapa
Joined: 03 Aug 2007 Posts: 7
|
Posted: Fri Aug 03, 2007 2:40 pm Post subject: |
|
|
"double-click to launch it." Huh??
With Robotype whenever I type ";c " the substitution is automatic. |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Fri Aug 03, 2007 2:43 pm Post subject: |
|
|
well, you have to start your robotype.
You have to start your script, too.
Please try it out:
create a text-file with the contents tonne provided
rename it to soething.ahk
double-click it, to start the script
and then type ";c" anywhere |
|
| Back to top |
|
 |
saigepapa
Joined: 03 Aug 2007 Posts: 7
|
Posted: Fri Aug 03, 2007 2:50 pm Post subject: |
|
|
Robotype starts when I boot and sits in my tray (right side).
Autohotkey also starts and sits there.
Can I make one long script with many abreviations and then will it pick the correct one? i.e. all of the samples in my original post sit in one file and Robotype finds the correct one. |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Fri Aug 03, 2007 2:58 pm Post subject: |
|
|
Well, maybe your Autohotkey starts automaticaly, but not the ahk-scripts you made.
So you need to start the script, or you need incorporate the code in the script your Autohotkey is running by default.
Did you try out what i suggested? |
|
| Back to top |
|
 |
mwharri
Joined: 15 Mar 2007 Posts: 70
|
Posted: Fri Aug 03, 2007 2:59 pm Post subject: |
|
|
right click the tray icon for autohotkey and select 'Edit this Script'....when the code opens up, paste the code that tonne posted above....
| Code: |
:?*:;c ::Curiosity killed the cat.`nSatisfaction brought it back.
|
then reload the script. |
|
| Back to top |
|
 |
saigepapa
Joined: 03 Aug 2007 Posts: 7
|
Posted: Fri Aug 03, 2007 3:55 pm Post subject: |
|
|
BINGO!!!
" or you need incorporate the code in the script your Autohotkey is running by default."
That's the key to making this puppy behave like Robotype. It does search thru a list (at least a list of two items) and it does work in IE7.
THANK YOU!!!
I will post back later after I "play" some more.
Lou |
|
| Back to top |
|
 |
Z Gecko Guest
|
Posted: Fri Aug 03, 2007 4:00 pm Post subject: |
|
|
OK, have fun!
And remember, you can launch anything at startup, by creating a link to it in the autostart-folder of your startmenu. |
|
| Back to top |
|
 |
|