Search found 87 matches
- 10 Mar 2021, 05:59
- Forum: Ask for Help (v1)
- Topic: How to close a running ahk-script with a ahk-script or batch Topic is solved
- Replies: 3
- Views: 309
Re: How to close a running ahk-script with a ahk-script or batch Topic is solved
@ mikeyww Thx - works fine :bravo: could you briefly explain the "\" in line: WinClose, \%scriptToClose%.ahk ahk_class AutoHotkey is a backslash absolutely necessary? after some tests i see that WinClose, %scriptToClose%.ahk also works ? add. question: is there a command to end all running AHK scrip...
- 10 Mar 2021, 03:36
- Forum: Ask for Help (v1)
- Topic: How to close a running ahk-script with a ahk-script or batch Topic is solved
- Replies: 3
- Views: 309
How to close a running ahk-script with a ahk-script or batch Topic is solved
Hi
I want to close a running AHK script via a command line or ahk-script.
The Task manager shows all running AHK scripts but they are all namend "AutotHotkey Unicode 64-bit"
so I cannot use the "taskkill"-command to specify the script that i want to close.
need help
M.
I want to close a running AHK script via a command line or ahk-script.
The Task manager shows all running AHK scripts but they are all namend "AutotHotkey Unicode 64-bit"
so I cannot use the "taskkill"-command to specify the script that i want to close.
need help
M.
- 06 Aug 2020, 04:15
- Forum: Notepad++
- Topic: Notepad++ userDefineLang_AHK => import fail
- Replies: 1
- Views: 4875
Notepad++ userDefineLang_AHK => import fail
Hi
I want to import actual "userDefineLang_AHK.xml into the actual version of notepad++ (7.8.8 - x64)
result-message: import fail
I get the file from here:
https://www.autohotkey.com/boards/viewtopic.php?f=60&t=50
https://github.com/jNizM/ahk_notepad-plus-plus)
what am I doing wrong
pls help
Max
I want to import actual "userDefineLang_AHK.xml into the actual version of notepad++ (7.8.8 - x64)
result-message: import fail
I get the file from here:
https://www.autohotkey.com/boards/viewtopic.php?f=60&t=50
https://github.com/jNizM/ahk_notepad-plus-plus)
what am I doing wrong
pls help
Max
- 04 May 2019, 16:14
- Forum: Ask for Help (v1)
- Topic: Question about RegExMatch() Topic is solved
- Replies: 13
- Views: 2536
Re: Question about RegExMatch() Topic is solved
@ just me
@Klarion
@Odlanir
Thx for your help
@Klarion
@Odlanir
Thx for your help
- 04 May 2019, 10:43
- Forum: Ask for Help (v1)
- Topic: Question about RegExMatch() Topic is solved
- Replies: 13
- Views: 2536
Re: Question about RegExMatch() Topic is solved
@ just me wow ! big THX works fine so far :-) BUT a very small (?) problem if; var = [test] ;var with [ and ] str = [test] some text test or more bla bla if regexmatch(str, "^" . var . "\s.*") msgbox % var " found at the beginning of " str in this case Regexmatch does not work unfortunately do not f...
- 04 May 2019, 09:58
- Forum: Ask for Help (v1)
- Topic: Question about RegExMatch() Topic is solved
- Replies: 13
- Views: 2536
Question about RegExMatch() Topic is solved
Hi @ all is it possible to use a var in NeedleRegEx ? e.g. var = test str = test some text test or more bla bla if regexmatch(str,"^%var%\s.*") ; this is my idea msgbox % var " found at the beginning of " str I would like to check if the word at the beginning of str contains the var but my match doe...
- 01 Apr 2019, 08:58
- Forum: Ask for Help (v1)
- Topic: Help to replace "." (dots) with " " (space) in a string Topic is solved
- Replies: 6
- Views: 2141
Re: Help to replace "." (dots) with " " (space) in a string Topic is solved
@swagfag
@Odlanir
@sinkfaze
Thx for the quick response and help
all 3 solutions works perfect
regards
Max
@Odlanir
@sinkfaze
Thx for the quick response and help
all 3 solutions works perfect
regards
Max
- 01 Apr 2019, 06:06
- Forum: Ask for Help (v1)
- Topic: Help to replace "." (dots) with " " (space) in a string Topic is solved
- Replies: 6
- Views: 2141
Help to replace "." (dots) with " " (space) in a string Topic is solved
Hi I need help with this: i have a list with book-titles e.g. Wempen,.Faithe.-.No.018.15.-.Office.-.2016.For.Seniors.For.Dummies I want to replace all "." (dots) with " " space exept the dots between 2 digits should remain so in my example the result should be: Wempen, Faithe - No 018.15 - Office - ...
- 16 Dec 2018, 16:02
- Forum: Ask for Help (v1)
- Topic: I need help with using RegExReplace() function Topic is solved
- Replies: 6
- Views: 1368
Re: I need help with using RegExReplace() function Topic is solved
Hi Alpha
your code works perfect - Thank you
best regards
Max
your code works perfect - Thank you
best regards
Max
- 16 Dec 2018, 08:21
- Forum: Ask for Help (v1)
- Topic: I need help with using RegExReplace() function Topic is solved
- Replies: 6
- Views: 1368
Re: I need help with using RegExReplace() function Topic is solved
Hallo, to remove all characters (no matter what) after and including the " (" (space & bracket up), try: Outfilename := SubStr(Outfilename,1,InStr(Outfilename," (")-1) But in "Name1, Firstname1 - City1(tata.txt" there's no " ("! Hi Rohwedder Many Thx for your help - the code works for both cases - ...
- 16 Dec 2018, 08:02
- Forum: Ask for Help (v1)
- Topic: I need help with using RegExReplace() function Topic is solved
- Replies: 6
- Views: 1368
Re: I need help with using RegExReplace() function Topic is solved
Outfilename := RegExReplace(Outfilename , "\s*\(.*(?=\.)") Hi AlphaBravo Many Thx for your help - the code works so far BUT unfortunately your solution matches only my first example: "Name, Firstname - City (blabla)).txt" (this filename has a "(" and a ")" at the end) if i apply it with "Name, Firs...
- 15 Dec 2018, 13:07
- Forum: Ask for Help (v1)
- Topic: I need help with using RegExReplace() function Topic is solved
- Replies: 6
- Views: 1368
I need help with using RegExReplace() function Topic is solved
Hi i have many files like this in a folder: "Name, Firstname - City (blabla)).txt" or "Name1, Firstname1 - City1(tata.txt" .... I want to remove all characters (no matter what) after the " (" (space & bracket up) so that the result is "Name, Firstname - City.txt" or "Name1, Firsname1 - City1.txt ......
- 01 Nov 2018, 08:04
- Forum: Ask for Help (v1)
- Topic: Problem when renaming a filename with Em dash (—) or En dash (–)
- Replies: 4
- Views: 1122
Re: Problem when renaming a filename with Em dash (—) or En dash (–)
ok here is my script: #.:: ;Win+. ;---------------------------------------------------------- ; Testfile: Word1, Word2 — Word3.txt ;--------------------------------------------------------- SetTitleMatchMode,2 StringCaseSense, On ClipSaved := ClipboardAll ; save the entire clipboard to the variable ...
- 01 Nov 2018, 05:36
- Forum: Ask for Help (v1)
- Topic: Problem when renaming a filename with Em dash (—) or En dash (–)
- Replies: 4
- Views: 1122
Re: Problem when renaming a filename with Em dash (—) or En dash (–)
many Thx @jeesweg,
i use MsgBox before/after !
the edited file is displayed correctly (word3 - word1, word2.txt)
so: how can i "save the file as UTF-8 with a BOM" in my script ?
which ahk-command should i use ?
regards
M.
i use MsgBox before/after !
the edited file is displayed correctly (word3 - word1, word2.txt)
so: how can i "save the file as UTF-8 with a BOM" in my script ?
which ahk-command should i use ?
regards
M.
- 01 Nov 2018, 04:50
- Forum: Ask for Help (v1)
- Topic: Problem when renaming a filename with Em dash (—) or En dash (–)
- Replies: 4
- Views: 1122
Problem when renaming a filename with Em dash (—) or En dash (–)
Hallo I have a problem renaming a file that contains an Em dash (—) or En dash (–) character e.g. file like this: word1, word2 — word3.txt i want to rename it to: word3 - word1, word2.txt i use: StringReplace, clipboard , clipboard ,—,-, All to changethe Em dash "—" to a normal Hyphen "-" and then i...
- 27 Jan 2018, 17:21
- Forum: Ask for Help (v1)
- Topic: send {F3} does not work ? Topic is solved
- Replies: 6
- Views: 5507
Re: send {F3} does not work ? Topic is solved
@evilc
thx fot the hint
as i see so far - using the #include - function is the solution !
greets
Max
thx fot the hint
as i see so far - using the #include - function is the solution !
greets
Max
- 25 Jan 2018, 15:45
- Forum: Ask for Help (v1)
- Topic: send {F3} does not work ? Topic is solved
- Replies: 6
- Views: 5507
Re: send {F3} does not work ? Topic is solved
Hi
thx for the answers @all
@evilC
I would like to shorten some scripts - thats the idea
the "F3"-script is used like a subroutine
how could i "call" the code (my F3-script) multiple ?
thx for the answers @all
@evilC
I would like to shorten some scripts - thats the idea
the "F3"-script is used like a subroutine
how could i "call" the code (my F3-script) multiple ?
- 25 Jan 2018, 11:45
- Forum: Ask for Help (v1)
- Topic: send {F3} does not work ? Topic is solved
- Replies: 6
- Views: 5507
send {F3} does not work ? Topic is solved
Hallo
here is a simple script
if i push Alt+F2 on my keyboard the script under function-key F3 does not start !
if i push F3 on my keyboard the F3-script starts.
Why
greets
max
here is a simple script
Code: Select all
!F2:: ;Alt+F2
send {F3}
return
if i push F3 on my keyboard the F3-script starts.
Why
greets
max
- 31 Oct 2017, 17:56
- Forum: Ask for Help (v1)
- Topic: How to check, that a folder is empty Topic is solved
- Replies: 4
- Views: 1903
Re: How to check, that a folder is empty Topic is solved
Hi
Thx for your quick help
@boiler: problem is, that Count = 1 if there is no or 1 file in subfolder "test" - so it does not help
@helgef: works fine
@garry: will test your solution later - thx
greets
Max
Thx for your quick help
@boiler: problem is, that Count = 1 if there is no or 1 file in subfolder "test" - so it does not help
@helgef: works fine
@garry: will test your solution later - thx
greets
Max
- 31 Oct 2017, 12:58
- Forum: Ask for Help (v1)
- Topic: How to check, that a folder is empty Topic is solved
- Replies: 4
- Views: 1903
How to check, that a folder is empty Topic is solved
Hi @all i'm a little bit helpless here is part of a script in a loop .... SplitPath, A_Loopfield , OutFileName, OutDir, OutExt, OutNameNoExt, OutDrive .... in Outdir is a subfolder "test" How can I check, if this folder is empty? my idea: if (OutDir\test = " ") does not work ! .... thx for a help Max