Search found 3770 matches

by garry
09 Apr 2024, 15:28
Forum: Помощь
Topic: вирус или нежелательная программа в программе launcher.ahk Topic is solved
Replies: 8
Views: 1799

Re: вирус или нежелательная программа в программе launcher.ahk Topic is solved

У меня Autohotkey с 2005 года, и проблем никогда не было. У меня есть только антивирус для Windows ( MsMpEng.exe / in Windows-11 ) .
https://www.autohotkey.com/
by garry
09 Apr 2024, 12:27
Forum: Ask for Help (v2)
Topic: How to get video file metadata (Media Created Date, Frame Rate, Frame Width)?
Replies: 8
Views: 518

Re: How to get video file metadata (Media Created Date, Frame Rate, Frame Width)?

@XMCQCX thank you for the example used with CMDRET from @SKAN
I have no experience with RegEx and also with ahk V2 ...
by garry
09 Apr 2024, 08:41
Forum: Ask for Help (v2)
Topic: How to get video file metadata (Media Created Date, Frame Rate, Frame Width)?
Replies: 8
Views: 518

Re: How to get video file metadata (Media Created Date, Frame Rate, Frame Width)?

example , run hidden #Requires Autohotkey v2.0 A_Clipboard:="" PR:=a_scriptdir . "\exiftool.exe" F1:=a_scriptdir . "\test.mp4" RunWait(A_ComSpec " /c " pr " `"" f1 "`" | clip", , "hide") for x,y in strsplit(A_Clipboard, "`n", "`r") { if InStr(y, "Image width") iw:=y if InStr(y, "Video Frame rate") v...
by garry
03 Apr 2024, 09:12
Forum: 请求帮助
Topic: 更改名称为什么用 Run 可以,用 FileMove 就不行?
Replies: 2
Views: 121

Re: 更改名称为什么用 Run 可以,用 FileMove 就不行?

其他例子 : #Requires AutoHotkey v1.1 #NoEnv #Warn SetWorkingDir,%A_ScriptDir% ;- filelist:="" FD1:=a_scriptdir . "\Files" Loop,%fd1%\*.* FileList .=A_LoopFileName . "`r`n" ;- 这里是不是有问题? msgbox, 262208,FILELIST,%filelist% exitapp FileRename in FD1 ----------- ;- FileRename in FD1 ----------- #Requires Aut...
by garry
31 Mar 2024, 15:17
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 254

Re: List of USB serial numbers

after complicated made , here an easy logic script ( I think ... ) , driveget serial only from new inserted disk ( not show GUI with all drives ) ;- Detect Usb Drive ( from user teadrinker ) ;- https://www.autohotkey.com/boards/viewtopic.php?t=76221&p=330409 ;- Detect Usb Drive ( from user 'teadrink...
by garry
30 Mar 2024, 12:29
Forum: Ich brauche Hilfe
Topic: File oder Folder ? Topic is solved
Replies: 5
Views: 97

Re: File oder Folder ? Topic is solved

@just me danke , mache immer alles kompliziert , nichts überlegt ...
und eigentlich :
Loop, Files, %a_guievent%, D
habe unnötig variable definiert > r:=a_guievent
by garry
30 Mar 2024, 08:42
Forum: Ich brauche Hilfe
Topic: File oder Folder ? Topic is solved
Replies: 5
Views: 97

Re: File oder Folder ? Topic is solved

evtl ;--------------- GuiDropFiles: r:=a_guievent SplitPath,r, Dateiname,Verzeichnis,Erweiterung,NameOhneErw,Laufwerk GuiControl,,DropFile,% A_GuiEvent GuiControl,,Dateiname,% Dateiname GuiControl,,Verzeichnis,% Verzeichnis GuiControl,,Erweiterung,% Erweiterung GuiControl,,NameOhneErw,% NameOhneErw ...
by garry
29 Mar 2024, 17:52
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 254

Re: List of USB serial numbers

JoeWinograd , sorry, no , now I have a problem ( and I'm no expert ... :) ) the last part to open notepad or charmap , it starts several times when connect/disconnect USB , I tried with sleep but no success First script above was ok , show only text in Edit which works dont know how this works , ma...
by garry
29 Mar 2024, 16:43
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 254

Re: List of USB serial numbers

I added an example above ....
by garry
29 Mar 2024, 16:35
Forum: Ask for Help (v1)
Topic: List of USB serial numbers
Replies: 16
Views: 254

Re: List of USB serial numbers

I tried this , if see these serial-numbers e.g. > serialx:="2565867498,3000530768,0123456789" , show it in GUI-EDIT when USB connect / disconnect > OnMessage(0x219, "notify_change") ( Lastdrive is not always the last new connected drive, it sorts from A-Z , ( I have a drive defined "G" ) ) you can m...
by garry
28 Mar 2024, 09:25
Forum: Ask for Help (v1)
Topic: integrating windows commands
Replies: 7
Views: 107

Re: integrating windows commands

RussF thank you can also open cmd with WIN+R ,cmd ,ENTER , then see DOS window, type CMD /? > see all parameters also help for xcopy > XCOPY /? ( /? can be used for all DOS commands to get help ) with ahk open DOS with > run,%comspec% /k I get a NEW DOS window after new installing windows , run wt....
by garry
28 Mar 2024, 09:18
Forum: Ask for Help (v1)
Topic: meaning of * in fileappend
Replies: 10
Views: 145

Re: meaning of * in fileappend

once I also needed the EOF ascii=26 , EndOfLine . Or to get a new paper-page , sent FF ascii=12 (FormFeed) to old printer . ( long time ago I wanted transfer via seriell connection a file , this only worked when the file had EOF ) eof:=Chr(26) F1:= A_ScriptDir . "\test_00.txt" var:=" (Ltrim join`r`n...
by garry
28 Mar 2024, 07:57
Forum: Ask for Help (v1)
Topic: integrating windows commands
Replies: 7
Views: 107

Re: integrating windows commands

%comspec% is cmd , /k > keep DOS open , /c > close DOS when finished run myvar : myvar=xcopy %a_desktop%\calculator.ahk D:\TEST run,%myvar% return open DOS run,%comspec% /k return an example , run hidden source:=a_desktop . "\calculator.ahk" dest :="D:\TEST" ifnotexist,%dest% filecreatedir,%dest% ru...
by garry
28 Mar 2024, 06:44
Forum: Ask for Help (v1)
Topic: integrating windows commands
Replies: 7
Views: 107

Re: integrating windows commands

short example, see also filecopy , robocopy etc source:=a_desktop . "\calculator.ahk" dest :="D:\TEST" runwait,%comspec% /k xcopy "%source%" "%dest%" try,run,%dest% return copy DESKTOP to D:\TEST\DESKTOP source:=a_desktop dest :="D:\TEST\DESKTOP" ;ifnotexist,%dest% ;- < not needed see parameter /I ;...
by garry
27 Mar 2024, 13:09
Forum: Ich brauche Hilfe
Topic: Link mit verschiedenen Browsern öffnen Topic is solved
Replies: 41
Views: 811

Re: Link mit verschiedenen Browsern öffnen Topic is solved

sollte so sein :
run,"D:\Programme\Firefox_1\Firefox_1.exe" https://autohotkey.com
by garry
27 Mar 2024, 13:03
Forum: Ask for Help (v1)
Topic: A_AhkPath icons
Replies: 3
Views: 79

Re: A_AhkPath icons

I like to use also small programs with commandline ( CLI ) https://www.nirsoft.net/utils/resources_extract.html ;- https://www.nirsoft.net/utils/resources_extract.html PR :=a_scriptdir . "\ResourcesExtract.exe" F1 :=a_programfiles . "\AutoHotkey\AutoHotkey.exe" DEST:=a_desktop . "\TEST_ICO" runwait,...
by garry
27 Mar 2024, 04:47
Forum: Ask for Help (v1)
Topic: Problems with GUI button names
Replies: 14
Views: 193

Re: Problems with GUI button names

just me thank you , interesting what you get so this I like to use > GuiControlGet, Caption, , %A_GuiControl% , >> no problem with space and more than 63 characters in filename ( I think my last examples are OK ) ;-------- saved at 星期三 三月 2024-03-27 09:28 UTC -------------- ;- Problems with GUI but...
by garry
26 Mar 2024, 14:35
Forum: Ask for Help (v1)
Topic: How to play two sounds at once?
Replies: 38
Views: 537

Re: How to play two sounds at once?

@mikeyww thank you, I excluded > a_programfiles . "\Autohotkey" and also > a_programfiles . "\Autohotkey\autohotkey.exe" (?)
by garry
26 Mar 2024, 14:11
Forum: Ask for Help (v1)
Topic: How to play two sounds at once?
Replies: 38
Views: 537

Re: How to play two sounds at once?

mikeyww works fine , as test played 2 sounds together , remembers me on Dual-tone multi-frequency signaling (DTMF) telecommunication signaling system Windows defender said , this ahk-script is a virus, TrojanDownloader: VBS/Adodb.D I not allowed windows defender to check *.txt and *.ahk-files , onl...
by garry
26 Mar 2024, 07:57
Forum: Ask for Help (v1)
Topic: Problems with GUI button names
Replies: 14
Views: 193

Re: Problems with GUI button names

just me yes this works fine earlier example worked also , don't know what the problem with '$' was , but was useless to replace the spaces . Is the variable > vBtn%A_Index% maybe not needed ? dir = %A_ScriptDir% Gui,2:default Gui,2: Font, s12 ,Lucida Console Loop, Files, %dir%\*.ahk { z:=a_loopfile...

Go to advanced search