AutoHotkey Community

It is currently May 27th, 2012, 11:05 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: January 14th, 2005, 8:53 pm 
:?: How can i execute an script by clicking an icon on the desktop instead pressing a keystroke?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2005, 9:48 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2005, 10:15 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
@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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2005, 11:44 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2545
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 :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thank´s
PostPosted: January 17th, 2005, 12:57 pm 
:lol: Thank´s a lot (Obrigado), It solved the problem.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2005, 1:37 pm 
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 ! :lol:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2005, 5:04 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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. :roll:

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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2005, 5:16 pm 
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.
:shock:

Well, I'm off to find my portuguese media lesson, unfortunately I've the slight feeling that you're right :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 9th, 2006, 3:40 pm 
Offline

Joined: March 21st, 2005, 6:37 pm
Posts: 117
Location: Bahia, Brasil
Ricardo spoken = obrigado
Enrica spoken = obrigada
:D

_________________
65.6E.72.69.63.61. (My hovercraft is full of eels)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Edd, Exabot [Bot], Google Feedfetcher, HotkeyStick, Yahoo [Bot] and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group