AutoHotkey Community

It is currently May 25th, 2012, 10:17 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: July 5th, 2007, 5:28 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
how do I find and disable an ahk file that has #NoTrayIcon parameter?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 5th, 2007, 7:46 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
azure wrote:
how do I find and disable an ahk file that has #NoTrayIcon parameter?


Ambiguous! Did you mean:
How to detect and exit a running AHK script that has no tray icon ?

:?: :roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 8:03 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
yeap :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 8:47 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
Not an easy task, I guess. :(
You have to get a list of PID's for all running AHK scripts and use TrayIcons() to ascertain whether it has a Tray icon :!:

:roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 8:57 am 
CTRL+ALT+DEL opens the windows task manager..... under Processes locate AutoHotkey.exe and select End Process


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 11:17 am 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1018
Anonymous wrote:
CTRL+ALT+DEL opens the windows task manager..... under Processes locate AutoHotkey.exe and select End Process


but in case of multiple ahk files running there is no way to determine which is which


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 12:29 pm 
So you have to kill them until the annoying one is ended, and restart the others... :(


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 6:32 pm 
Offline

Joined: July 5th, 2007, 6:30 pm
Posts: 4
Not sure if this is what you were looking for but it's in the FAQ.
http://www.autohotkey.com/docs/FAQ.htm#close


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 6:52 pm 
Offline

Joined: July 5th, 2007, 6:48 pm
Posts: 4
um addition to this my ctrl+alt+del is actually shut off each time I try to open it due to a line my brother added so i can't shut if off that way does anyone know how to get around that?

also note that each one is hidden.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2007, 7:49 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
you can write an ahk script to search out other ahk scripts and process, Close them. just be sure to compile it, since otherwise, it will close itself

otherwise, use the pskill command (you have to download the pstools package)


I seem to remember a brother vs. brother prank script discussion a while back, I wonder if you are the target brother.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2007, 2:50 pm 
Offline

Joined: July 5th, 2007, 6:48 pm
Posts: 4
sadly i am... also i sorta am new at this auto hot key thing... so i don't know how to find it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 6th, 2007, 5:52 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
tested:
Code:
Loop
{
Process, Close, autohotkey.exe
If (ErrorLevel = 0)
  break
}


This will close al UNCOMPILED ahk scripts, including itself. If it is a compiled AHK script, you will need to know the name of it...


PSTools - http://www.microsoft.com/technet/sysint ... Tools.mspx

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 7th, 2007, 5:26 pm 
Offline

Joined: July 5th, 2007, 6:48 pm
Posts: 4
ok um i found on my desktop an autohotkey program i think it is complied cause it says Mcwall.exe does that mean it is compiled?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 7th, 2007, 5:45 pm 
Offline

Joined: June 16th, 2007, 6:43 pm
Posts: 35
micaman wrote:
ok um i found on my desktop an autohotkey program i think it is complied cause it says Mcwall.exe does that mean it is compiled?


If its a .exe then its compiled.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 7th, 2007, 6:03 pm 
Offline

Joined: July 5th, 2007, 6:48 pm
Posts: 4
good so it is complied now how do i close and note, it is hidden and i can't use ctrl+alt+del


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], just me, snyder, Yahoo [Bot] and 61 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