| View previous topic :: View next topic |
| Author |
Message |
Ricardo Guest
|
Posted: Fri Jan 14, 2005 7:53 pm Post subject: Executing scripts by clicking an icon |
|
|
How can i execute an script by clicking an icon on the desktop instead pressing a keystroke? |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2421
|
Posted: Fri Jan 14, 2005 8:48 pm Post subject: |
|
|
I'm not quite sute I understand the question... Do you mean you have a script that you run and use a hotkey but would like to just run when you start the script? If so if you're script was something like:
| Code: | ^j::
Run, Notepad.exe
Return |
then remove the hotkey to run without using a hotkey :
| Code: | Run, Notepad.exe
ExitApp |
Does this help? |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Fri Jan 14, 2005 9:15 pm Post subject: |
|
|
| @corrupt: You don't need to explicitly define ExitApp instead of Return unless the script is Persistent. A script is made persistent if it contains hotkeys, hotstrings, gui commands, or a #Persistent directive. If it contains none of those, it will exit when it is finished executing. |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2421
|
Posted: Fri Jan 14, 2005 10:44 pm Post subject: |
|
|
| jonny wrote: | | @corrupt: You don't need to explicitly define ExitApp instead of Return unless the script is Persistent. A script is made persistent if it contains hotkeys, hotstrings, gui commands, or a #Persistent directive. If it contains none of those, it will exit when it is finished executing. | Thanks for the tip jonny . I wasn't sure about that so I thought I'd put it in anyway  |
|
| Back to top |
|
 |
Ricardo Guest
|
Posted: Mon Jan 17, 2005 11:57 am Post subject: Thank´s |
|
|
Thank´s a lot (Obrigado), It solved the problem. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Jan 17, 2005 12:37 pm Post subject: |
|
|
If Jonny is a female (which I doubt, otherwise it would be an OrangeGallopingWhatNot *) than the correct spelling would be Obrigada, isn't it ?
* check the Toast it! post at the General Chat Section to get the evidence !  |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Mon Jan 17, 2005 4:04 pm Post subject: |
|
|
Um... I thought my chosen name made my gender clear. Allow me to elaborate: I am an American male student. There. It's on record.
And while I admire your seemingly endless capacity for language, you are wrong in this case. In Brazilian Portuguese at least (not sure about Portugal, but such a fundamental element should still be the same), the gender of such a word as "obrigado" depends on the speaker, not the spoken to. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Jan 17, 2005 4:16 pm Post subject: |
|
|
| Quote: | | In Brazilian Portuguese at least (not sure about Portugal, but such a fundamental element should still be the same), the gender of such a word as "obrigado" depends on the speaker, not the spoken to. |
Well, I'm off to find my portuguese media lesson, unfortunately I've the slight feeling that you're right  |
|
| Back to top |
|
 |
enrica
Joined: 21 Mar 2005 Posts: 117 Location: Bahia, Brasil
|
Posted: Sat Sep 09, 2006 2:40 pm Post subject: |
|
|
Ricardo spoken = obrigado
Enrica spoken = obrigada
 _________________ 65.6E.72.69.63.61. (My hovercraft is full of eels) |
|
| Back to top |
|
 |
|