Search found 94 matches

by enthused
21 Feb 2015, 13:04
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

DutchPete wrote:There is still 1 more step ;) : leave off No comma between ahk_group and MultiClose.

SetTitleMatchMode, RegEx

GroupAdd MultiClose, ahk_exe i)(evernote|onenote|palemoon|thunderbird)(.*)

!q::WinClose, ahk_group MultiClose

Esc::ExitApp


That was a relevant comment :P
by enthused
20 Feb 2015, 21:18
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

MJs that was nice :D

here is ultimately the script (4 lines) :D

Code: [Select all]GeSHi © Codebox Plus

SetTitleMatchMode, RegEx

GroupAdd MultiClose, ahk_exe i)(evernote|onenote|palemoon|thunderbird)(.*)

!q::WinClose, ahk_group MultiClose ; No comma between ahk_group and MultiClose.

Esc::ExitApp
by enthused
20 Feb 2015, 10:27
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

I have two processes running called AllInOneFYC.exe and AllInOneFYC1055.exe. Is possible to kill them using a group? (AllInOneFYC(.*) or similar) Thanks I think it should work. Let me know if it works. It does not work. Thanks Note: My processes do not have Gui. I noticed thunderbird doesn't close ...
by enthused
20 Feb 2015, 09:25
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

I don't have Evernote on my computer so can't test it but one note closes fine (2010 version) Make sure you copy the AHK_exe name exactly as you see in winspy SetTitleMatchMode, RegEx ; Create the group only once, with each app window on a separate line. GroupAdd MultiClose, ahk_exe evernote(.*) Gro...
by enthused
20 Feb 2015, 08:53
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

DutchPete wrote:@ enthused: I copied your script, only replaced the names of notepad & scite with names of programs I use. All have (.*) behind their name. But ..... only T/bird & Pale Moon are closed.

Can you post your script?
Likely something minor needs to be changed.
by enthused
20 Feb 2015, 08:38
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

I then added thunderbird(.*) to Lexikos's script, but that again failed to close T/bird. Did you add this line to the top of the script: SetTitleMatchMode, RegEx Try this script: SetTitleMatchMode, RegEx ; Create the group only once, with each app window on a separate line. GroupAdd MultiClose, ahk...
by enthused
20 Feb 2015, 08:35
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

empardopo wrote:I have two processes running called AllInOneFYC.exe and AllInOneFYC1055.exe. Is possible to kill them using a group? (AllInOneFYC(.*) or similar)
Thanks


I think it should work. Let me know if it works.
by enthused
19 Feb 2015, 23:09
Forum: Ask For Help
Topic: Closing 5 programs with 1 keyboard shortcut Topic is solved
Replies: 35
Views: 4185

Re: Closing 5 programs with 1 keyboard shortcut Topic is solved

would this work: SetTitleMatchMode, RegEx ; Create the group only once, with each app window on a separate line. GroupAdd MultiClose, ahk_exe Notepad.exe GroupAdd MultiClose, ahk_exe SciTE.exe GroupAdd MultiClose, ahk_exe thunderbird(.*) !q:: WinClose, ahk_group MultiClose ; No comma between ahk_gro...
by enthused
19 Feb 2015, 02:06
Forum: Offtopic
Topic: « What's on your mind? » Topic is solved
Replies: 3951
Views: 480364

Re: « What's on your mind? » Topic is solved

Chuc Mung Nam moi :D
by enthused
14 Feb 2015, 00:24
Forum: Ask For Help
Topic: controlsend to notepad2 not sending text
Replies: 9
Views: 2426

Re: controlsend to notepad2 not sending text

Thanks for the very detailed information RHCP. This made a fine reading.
Post message is very fast indeed. Interestingly, I have no errors with it yet and I haven't used a Keydelay with it.
by enthused
13 Feb 2015, 01:13
Forum: Ask For Help
Topic: controlsend to notepad2 not sending text
Replies: 9
Views: 2426

Re: controlsend to notepad2 not sending text

Sure. If you happen to resolve the letters changing, please post how you did that. I noticed that before when I sent text to notepad (the regular notepad). Use SetKeyDelay to send Keystrokes: #singleinstance,force pr=notepad sc=ahk_exe Notepad2.exe ClassNN=SysListView321 Gui,2: Add, Button, x10 y60...
by enthused
13 Feb 2015, 01:07
Forum: Bug Reports
Topic: ControlSend sends wrong characters
Replies: 2
Views: 1504

Re: ControlSend sends wrong characters

Thank you Lexikos :D
Works well with: SetKeyDelay

edit:
lexikos wrote:Note: ControlSend does not send characters. It sends keystroke messages.

Thank you for the clarification. Important distinction.
by enthused
12 Feb 2015, 23:20
Forum: Bug Reports
Topic: ControlSend sends wrong characters
Replies: 2
Views: 1504

ControlSend sends wrong characters

This was discussed here: http://ahkscript.org/boards/viewtopic.php?f=5&t=6372 #singleinstance,force pr=notepad sc=ahk_exe Notepad.exe Gui,2: Add, Button, x10 y60 h25 w160 gA1,Write to Notepad Gui,2: Show,x10 y10 h90 w200,Run_Notepad Gui,2: Add, Edit, x10 y10 h40 w180 vE1, TEST1 `nTEST2 `n return...
by enthused
12 Feb 2015, 09:01
Forum: Ask For Help
Topic: controlsend to notepad2 not sending text
Replies: 9
Views: 2426

Re: controlsend to notepad2 not sending text

So far it looks like an issue with ControlSend and ControlSendRaw where it adds extra shift to what is being sent. It is consistent after the first send which is good. TEST1 ; first send good TEST2 ; first send good tEST! ; second send note lower "T" and "!" instead of "1&qu...
by enthused
12 Feb 2015, 08:31
Forum: Ask For Help
Topic: controlsend to notepad2 not sending text
Replies: 9
Views: 2426

Re: controlsend to notepad2 not sending text

nice :)
worked beautifully except as you mentioned the case of the letters changed. But it's a start..
Thanks boiler.
by enthused
12 Feb 2015, 01:43
Forum: Ask For Help
Topic: controlsend to notepad2 not sending text
Replies: 9
Views: 2426

controlsend to notepad2 not sending text

I was trying a script to send text to notepad2 but not sending anything. It does launch notepad (notepad2.exe on my system) but no text is sent. My question is what needs to be changed in the script? #singleinstance,force pr=notepad sc=ahk_exe Notepad2.exe ClassNN=SysListView321 Gui,2: Add, Button, ...
by enthused
11 Feb 2015, 10:29
Forum: Ask For Help
Topic: Dir .: C:\Program Files (x86) and c:\Program Files
Replies: 7
Views: 2516

Re: Dir .: C:\Program Files (x86) and c:\Program Files

Hello! In this computer I have two program catalogs. One catalog is "c:\Program Files" and the other "c:\Program Files(x86)". I have no idea what is different between these programs directories. 32 bit and 64 bit programs: "c:\Program Files" has 64 bit programs. "...
by enthused
11 Feb 2015, 01:24
Forum: Ask For Help
Topic: need help to change script Topic is solved
Replies: 17
Views: 1707

Re: need help to change script Topic is solved

I'm not sure I understand what you are trying to do. You want label1 to start and check color1 ? Do you want after that label2 and label3 to always happen? can you walk me through your program? Thanks as I'm learning too and a lot of times I need help understanding what is happening in the code.
by enthused
09 Feb 2015, 08:55
Forum: Ask For Help
Topic: Press key combination
Replies: 24
Views: 8255

Re: Press key combination

Hi DavidP.
When you press control Alt Delete to bring up task manager, is that a combination or a sequence?
by enthused
08 Feb 2015, 18:09
Forum: Ask For Help
Topic: [SOLVED] How to link contextually to a .chm file.
Replies: 8
Views: 1542

Re: How to link contextually to a .chm file.

Capbat wrote:I guess I would have to put buttons for help at specific places to find out from where they where originating?


you probably need to see where the cursor is and copy the word at the boundary of the cursor to %topic%

That is my understanding of how F1 pulls the topic if available.

Go to advanced search