Search found 3743 matches
- Today, 17:52
- Forum: Ask for Help (v1)
- Topic: List of USB serial numbers
- Replies: 15
- Views: 121
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...
- Today, 16:43
- Forum: Ask for Help (v1)
- Topic: List of USB serial numbers
- Replies: 15
- Views: 121
Re: List of USB serial numbers
I added an example above ....
- Today, 16:35
- Forum: Ask for Help (v1)
- Topic: List of USB serial numbers
- Replies: 15
- Views: 121
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...
- Yesterday, 09:25
- Forum: Ask for Help (v1)
- Topic: integrating windows commands
- Replies: 7
- Views: 89
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....
- Yesterday, 09:18
- Forum: Ask for Help (v1)
- Topic: meaning of * in fileappend
- Replies: 10
- Views: 113
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...
- Yesterday, 07:57
- Forum: Ask for Help (v1)
- Topic: integrating windows commands
- Replies: 7
- Views: 89
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...
- Yesterday, 06:44
- Forum: Ask for Help (v1)
- Topic: integrating windows commands
- Replies: 7
- Views: 89
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 ;...
- 27 Mar 2024, 13:09
- Forum: Ich brauche Hilfe
- Topic: Link mit verschiedenen Browsern öffnen
- Replies: 21
- Views: 403
Re: Link mit verschiedenen Browsern öffnen
sollte so sein :
run,"D:\Programme\Firefox_1\Firefox_1.exe" https://autohotkey.com
run,"D:\Programme\Firefox_1\Firefox_1.exe" https://autohotkey.com
- 27 Mar 2024, 13:03
- Forum: Ask for Help (v1)
- Topic: A_AhkPath icons
- Replies: 3
- Views: 63
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,...
- 27 Mar 2024, 04:47
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 185
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...
- 26 Mar 2024, 14:35
- Forum: Ask for Help (v1)
- Topic: How to play two sounds at once?
- Replies: 38
- Views: 509
Re: How to play two sounds at once?
@mikeyww thank you, I excluded > a_programfiles . "\Autohotkey" and also > a_programfiles . "\Autohotkey\autohotkey.exe" (?)
- 26 Mar 2024, 14:11
- Forum: Ask for Help (v1)
- Topic: How to play two sounds at once?
- Replies: 38
- Views: 509
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...
- 26 Mar 2024, 07:57
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 185
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...
- 25 Mar 2024, 17:31
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 185
Re: Problems with GUI button names
an example because the problem with space in filename , concerns > v%name_no_ext% replace all spaces with a character which usually not exist , here example > replace space with $ , and later replace $ again with space ( script not uses a_guicontrol ,and shoul'd work with more than 63 characters ) ;...
- 25 Mar 2024, 17:19
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 185
Re: Problems with GUI button names
and this works with long names , greater than 63 characters , but works not when you have space in filename ( then problem in > v%name_no_ext% ) dir = %A_ScriptDir% Gui,2:default Gui,2: Font, s12 ,Lucida Console colbgr:="black",coltxt:="yellow" Loop, Files, %dir%\*.ahk { z:=a_loopfilefullpath SplitP...
- 25 Mar 2024, 15:44
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 185
Re: Problems with GUI button names
have no answer if problem with more than 63 characters . This works but you get with a_loopfileshortpath the DOS format-name 8.3 ;- Gui help / mikeyww ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=104039 i:=0 dir = %A_ScriptDir% Gui,2:default Gui,2: Font, s12 cBlack,Lucida Console Loop, ...
- 25 Mar 2024, 14:09
- Forum: Ask for Help (v1)
- Topic: Problems with GUI button names
- Replies: 14
- Views: 185
Re: Problems with GUI button names
example from mikeyww ( but defaced , bad modified by me ... :) ) create buttons , run ahk-files in a_scriptdir https://www.autohotkey.com/boards/viewtopic.php?p=462052#p462052 ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=104039 i:=0 dir = %A_ScriptDir% Gui,2: Font, s12 cBlack,Lucida Con...
- 25 Mar 2024, 07:40
- Forum: Ask for Help (v1)
- Topic: FileGetTime Results 1 Hour Off except during Daylight Savings Time
- Replies: 7
- Views: 110
Re: FileGetTime Results 1 Hour Off except during Daylight Savings Time
;- DST = example calculate CEST Central-European- SUMMER Time ;- https://autohotkey.com/boards/viewtopic.php?f=28&t=46997 ;- ;- https://www.timeanddate.com/time/dst/ ;- https://www.timeanddate.com/worldclock/ ;- https://www.science.co.il/language/Locale-codes.php ; ( UTC + 1 / CET - Central European...
- 25 Mar 2024, 07:29
- Forum: Pedir Ayuda
- Topic: Leer INI varias lineas Topic is solved
- Replies: 2
- Views: 41
Re: Leer INI varias lineas Topic is solved
tal vez ... (?) RSSINI=%A_scriptdir%\RSSINI2.ini ifexist,%rssini% filedelete,%rssini% ifnotexist,%rssini% { Iniwrite,valor 1 ,%rssini%,SECCION-1,dato1 Iniwrite,valor 2 ,%rssini%,SECCION-1,dato2 Iniwrite,var 1 linea 1`tvar 1 Linea 2`tvar 1 Linea 3 ,%rssini%,SECCION-1,varias1 Iniwrite,var 2 linea 1`tv...
- 25 Mar 2024, 05:15
- Forum: Scripts and Functions (v1)
- Topic: CLSID folders
- Replies: 0
- Views: 49
CLSID folders
https://www.autohotkey.com/docs/v1/misc/CLSID-List.htm ;- show/open CLSID Folders until Win-11 and some other Folders idea > add some ICO , in this example > notepad and charmap is automatically displayed ;- https://www.autohotkey.com/docs/v1/misc/CLSID-List.htm ;- ;- show CLSID Folders until Win-11...