Search found 314 matches

by Tomer
30 Aug 2016, 07:17
Forum: Ask For Help
Topic: loop to process
Replies: 4
Views: 747

Re: loop to process

I have done this and need more help with the code please.

Code: Select all

loop
{
IfWinNotExist, ahk_exe cmd.exe
msgbox,64,,cmd process not running anymore
}
by Tomer
30 Aug 2016, 04:58
Forum: Ask For Help
Topic: loop to process
Replies: 4
Views: 747

loop to process

Hello,

I need help with writing a script that run with a "loop" or "wait" and checking if cmd.exe process is running,
if the process is running, then do nothing,
when the process is stops and not running anymore, then popup a msgbox: "cmd process not running anymore".

Tnx!
by Tomer
25 Aug 2016, 08:41
Forum: Ask For Help
Topic: Check if process is exist Topic is solved
Replies: 7
Views: 1810

Re: Check if process is exist Topic is solved

Sorry,
Update:

its works only when its empty cmd window,
when I try to use it while the cmd is running batch file,
the "exit" command doesn't help :(

I guess I cant use "ControlSend" in this situation and need other script.

tnx!
by Tomer
25 Aug 2016, 07:41
Forum: Ask For Help
Topic: Check if process is exist Topic is solved
Replies: 7
Views: 1810

Re: Check if process is exist Topic is solved

Perfect! thanks GEV!
by Tomer
25 Aug 2016, 07:12
Forum: Ask For Help
Topic: Check if process is exist Topic is solved
Replies: 7
Views: 1810

Re: Check if process is exist Topic is solved

Thanks GEV,

but If I have more then 1 cmd's processes running, it closes only the last cmd process that opened,
is it possible to terminate all of them ? also, to kill them all even if they're hidden.

Thanks!
by Tomer
25 Aug 2016, 06:28
Forum: Ask For Help
Topic: Check if process is exist Topic is solved
Replies: 7
Views: 1810

Check if process is exist Topic is solved

Hi, I am new to AHK and would like to write a script that check if process cmd.exe is exist. if not exist, then popup a msgbox: "cmd not existed!" if exist, then kill\close cmd.exe process and popup a msgbox: "cmd killed!" what am I doing wrong ? IfProcessExist, cmd.exe { msgbox, cmd not existed! ex...
by Tomer
25 Aug 2016, 02:51
Forum: About This Community
Topic: Just to say thanks to AHK...
Replies: 2
Views: 4583

Just to say thanks to AHK...

Hello :)

New here and new to the AHK world as well,

Just would like to say thanks to all people who stands behind this software,
I found this scripting language very powerful and i'm still learning everyday new things.

So thank you so much! :)

Tomer
by Tomer
23 Aug 2016, 03:03
Forum: Ask For Help
Topic: Script for Change Resolution for Win7 ?
Replies: 1
Views: 516

Script for Change Resolution for Win7 ?

Hii,

Tittle :)

Thanks in advance!
by Tomer
23 Aug 2016, 01:05
Forum: Ask For Help
Topic: help: WinKill with loop Topic is solved
Replies: 5
Views: 946

Re: help: WinKill with loop Topic is solved

Tnx Shadowpheonix :)
by Tomer
22 Aug 2016, 15:01
Forum: Ask For Help
Topic: help: WinKill with loop Topic is solved
Replies: 5
Views: 946

Re: help: WinKill with loop Topic is solved

Guest wrote:It is better to use WinWaitAcitve than wasting your cpu with looping.....
Any code sample?
by Tomer
22 Aug 2016, 09:40
Forum: Ask For Help
Topic: help: WinKill with loop Topic is solved
Replies: 5
Views: 946

Re: help: WinKill with loop Topic is solved

O.k

Found it.

Answer:

Code: Select all

#Notrayicon
Loop
{

IfWinActive, libraries
{
WinKill, libraries
break
}
}
Return
This will close libraries when it will be opened.
by Tomer
22 Aug 2016, 07:50
Forum: Ask For Help
Topic: help: WinKill with loop Topic is solved
Replies: 5
Views: 946

help: WinKill with loop Topic is solved

Hi,

I need a script that always looking for some open window,
like location: "C:\"

and when its detected that "C:\" is open, it will kill this window and script will close.

I hope I explain myself correctly.

Thanks in advance!
by Tomer
21 Aug 2016, 07:45
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 383
Views: 268355

Re: AutoGUI - GUI Designer and Script Editor

Please add the ability to set Text Alignment also in Radio Button and etc.
Like GroupBox etc..

Tnx
by Tomer
21 Aug 2016, 05:17
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 383
Views: 268355

Re: AutoGUI - GUI Designer and Script Editor

Alguimist

Incredible, best tool ever!

Best regards,
Tomer

Go to advanced search