Search found 87 matches
- 24 Mar 2023, 11:16
- Forum: Ask for Help (v2)
- Topic: Question about using HotIF
- Replies: 3
- Views: 358
Re: Question about using HotIF
Datapoint Thx but your code does not match my problem pushing ^F12 does not start Pause-Hotkey (msgbox 'Pause',,'T1') while explorer.exe is active if I omit the HotIf-brackets everything works as it should: ^F12:: { msgbox 'go',,'T1' send '{Pause}' return } Pause:: { msgbox 'Pause',,'T1' return wor...
- 24 Mar 2023, 09:35
- Forum: Ask for Help (v2)
- Topic: Question about using HotIF
- Replies: 3
- Views: 358
Question about using HotIF
Hi i have a simple qestion about the script beyond: i want to start a hotkey (Pause::) via hotkey (^F12::) #Requires AutoHotkey v2.0 #SingleInstance Force #HotIf winexist('ahk_exe explorer.exe') ^F12:: { msgbox 'go',,'T1' send '{Pause}' return } Pause:: { msgbox 'Pause',,'T1' return } #HotIF if expl...
- 04 Mar 2023, 17:51
- Forum: Ask for Help (v2)
- Topic: using regexmatch Topic is solved
- Replies: 2
- Views: 257
Re: using regexmatch Topic is solved
@mikeyww
Thanks for the help and your correct script - works perfect
I was of the opinion, that RegExMatch searches the entire string with the search pattern and saves the matches in the match array
(wrong thought)
sorry for my faulty script
M.
Thanks for the help and your correct script - works perfect
I was of the opinion, that RegExMatch searches the entire string with the search pattern and saves the matches in the match array
(wrong thought)
sorry for my faulty script
M.
- 04 Mar 2023, 08:32
- Forum: Ask for Help (v2)
- Topic: using regexmatch Topic is solved
- Replies: 2
- Views: 257
using regexmatch Topic is solved
Hi i have a very simple question in using regexmatch: in the following teststring i want to match the 3 number-parts (01 02 03) in the string t_string:= 'Test 01 Test 02 Test 03' regexmatch(t_string,'(\d+)+', &t_match) msgbox t_match.count ' ' t_match.Name[1] ' ' t_match.Name[2] ' ' t_match.Name[3] ...
- 13 Feb 2023, 16:23
- Forum: Ask for Help (v2)
- Topic: start a program via run with a variable - does not work Topic is solved
- Replies: 4
- Views: 474
Re: start a program via run with a variable - does not work Topic is solved
@RussF find a solution (it's probably more of a workaround) you have to add a RegExReplace to enclose the filename with a space in double quotes ("F:\test test.epub") A_Clipboard:='F:\test test.epub' ;(a space in filename) A_Clipboard:=RegExReplace(A_Clipboard,"(.*)",'"$1') run '"C:\Program Files\Ca...
- 13 Feb 2023, 15:20
- Forum: Ask for Help (v2)
- Topic: start a program via run with a variable - does not work Topic is solved
- Replies: 4
- Views: 474
Re: start a program via run with a variable - does not work Topic is solved
Thx RussF
yess works now !!
but if i take
F:\test test.epub will no be load
yess works now !!
but if i take
Code: Select all
A_Clipboard:='F:\test test.epub' ;(a space in filename)
run '"C:\Program Files\Calibre2\calibre.exe" "--with-library" "F:\Calibre-Work "' A_clipboard
- 13 Feb 2023, 12:33
- Forum: Ask for Help (v2)
- Topic: start a program via run with a variable - does not work Topic is solved
- Replies: 4
- Views: 474
start a program via run with a variable - does not work Topic is solved
Hi at all i have a problem to start a program (in my case calibre.exe) with a variable here is the code: A_Clipboard:='F:\test.epub' run '"C:\Program Files\Calibre2\calibre.exe" "--with-library" "F:\Calibre-Work" "A_clipboard"' does not work: The file F:\test.epub will not be loaded (add) into calib...
- 09 Feb 2023, 16:09
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
Re: MyGui.Destroy() does not work ? Topic is solved
wow !
thx a lot
will test the sctipts in peace
regards
MS
thx a lot
will test the sctipts in peace
regards
MS
- 09 Feb 2023, 07:30
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
Re: MyGui.Destroy() does not work ? Topic is solved
@teadrinker
I have one more question:
what would the code be like under AHKv1 ?
I have one more question:
what would the code be like under AHKv1 ?
- 09 Feb 2023, 05:39
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
Re: MyGui.Destroy() does not work ? Topic is solved
@teadrinker
@neogna2
thx a lot for the help
now i understand ....
both selutions works pretty
@neogna2
thx a lot for the help
now i understand ....
both selutions works pretty
- 09 Feb 2023, 05:01
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
Re: MyGui.Destroy() does not work ? Topic is solved
teadrinker yes i add the msgbox what i now see is, that after excecution of MyGui.Destroy() the last added window (#6) will be removed the windows #1 -#5 are still on the screen btw. this script should be act later as a "status line" window in which the line "I=" is constantly changing after each l...
- 09 Feb 2023, 04:37
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
Re: MyGui.Destroy() does not work ? Topic is solved
thx
if I change the "Gui.show" line to
i see 5 separate windows in a line side by side
these windows are not removed either after execution of
if I change the "Gui.show" line to
Code: Select all
MyGui.Show("autosize y100 x" . 0 + I*200)
these windows are not removed either after execution of
Code: Select all
MyGui.Destroy()
- 09 Feb 2023, 04:02
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
Re: MyGui.Destroy() does not work ? Topic is solved
@teadrinker
thx but the window still will not be removed
thx but the window still will not be removed
- 09 Feb 2023, 02:57
- Forum: Ask for Help (v2)
- Topic: MyGui.Destroy() does not work ? Topic is solved
- Replies: 14
- Views: 1162
MyGui.Destroy() does not work ? Topic is solved
Hi @all I'm testing AHKv2 here is a short script to test the GUI-function my problem is, that »MyGui.Destroy()« does not Remove the window it remains on the screen. After reloading the script the window will be removed (off course) What's wrong ? ^1:: ;Strg+1 { I:="0" again: I++ MyGui:=Gui() MyGui.O...
- 31 May 2022, 15:23
- Forum: Ask for Help (v1)
- Topic: How to open a Rar-archive with a password that contains a " (quotation mark)
- Replies: 8
- Views: 778
Re: How to open a Rar-archive with a password that contains a " (quotation mark)
Thx for your help I'm familiar with AHK 'legacy' and 'expression' styles - that is not the problem ! The problem is, that a password containing a (") will not be processed correctly in an AHK script. In my opinion, a password can very well contain a quotation mark (") e.g. password = abc"def. If suc...
- 31 May 2022, 02:10
- Forum: Ask for Help (v1)
- Topic: How to open a Rar-archive with a password that contains a " (quotation mark)
- Replies: 8
- Views: 778
Re: How to open a Rar-archive with a password that contains a " (quotation mark)
Hi Bobo Thx for the reply unfortunately no success :| 1. pls note, the password-string is: abc"def ( not "abc""def") 2. if i try msgbox % ProgramFiles . "\winrar\winrar.exe x -y -p "" . password "" "" . A_LoopFileFullPath . "" "" . Verz " . "\Extract\"" ",, Hide a msgbox apears with the text: Hide i...
- 30 May 2022, 17:01
- Forum: Ask for Help (v1)
- Topic: How to open a Rar-archive with a password that contains a " (quotation mark)
- Replies: 8
- Views: 778
How to open a Rar-archive with a password that contains a " (quotation mark)
Hi i have the following problem in a loop to unpack rar-archives automatically: opening a password-protected rar-archive fails , if the password contains a " (quotation mark) e.g. Password contains the string: abc"def ... runwait, %ProgramFiles%\winrar\winrar.exe x -y -p"%Password%" "%A_LoopFileFull...
- 14 Oct 2021, 10:28
- Forum: Ask for Help (v1)
- Topic: How to extract the "image recording date" ("date taken") in Exif Topic is solved
- Replies: 5
- Views: 775
Re: How to extract the "image recording date" ("date taken") in Exif Topic is solved
@mikeyww
thx for the script
works fine !
thx for the script
works fine !
- 14 Oct 2021, 07:48
- Forum: Ask for Help (v1)
- Topic: How to extract the "image recording date" ("date taken") in Exif Topic is solved
- Replies: 5
- Views: 775
Re: How to extract the "image recording date" ("date taken") in Exif Topic is solved
THX for the reply
the proposed 'exiftool' provides the "date taken"-information required
the commandline is: exiftool.exe -T -createdate test.jpg >out.txt
regards
Max
the proposed 'exiftool' provides the "date taken"-information required
the commandline is: exiftool.exe -T -createdate test.jpg >out.txt
regards
Max
- 14 Oct 2021, 02:20
- Forum: Ask for Help (v1)
- Topic: How to extract the "image recording date" ("date taken") in Exif Topic is solved
- Replies: 5
- Views: 775
How to extract the "image recording date" ("date taken") in Exif Topic is solved
Hi @all
i have a lot of .jpg-files and i want to extract the "date taken string" from Exif
to modify the filename of the image.
Is there a simple ahk-command or ahk-script?
Need help !
Max
i have a lot of .jpg-files and i want to extract the "date taken string" from Exif
to modify the filename of the image.
Is there a simple ahk-command or ahk-script?
Need help !
Max