Search found 3760 matches

by garry
Today, 14:04
Forum: Ich brauche Hilfe
Topic: Menü Eintrag nachträglich verändern Topic is solved
Replies: 2
Views: 53

Re: Menü Eintrag nachträglich verändern Topic is solved

evtl dies .. (?) falls Menu erst später , nach Auswahl von DropDownList startet ... ( in diesem Beispiel, Menu sichtbar mit F1 , danach klicke auf row, zeigt nur die ausgewählte Sprache ) ;- mit DropDownList ausgewählt : var=konkani ;- h= ( Replace IN language>%var% bbb>notepad ccc>zzzz ) Array := [...
by garry
Today, 13:39
Forum: 请求帮助
Topic: 如何避免多余的按键被按下时的热键触发?
Replies: 1
Views: 22

Re: 如何避免多余的按键被按下时的热键触发?

或许

Code: Select all

~^+a::
msgbox, 262208, ,CTRL+SHIFT+a,3
return

~+a::
msgbox, 262208, ,SHIFT+a,3
return
by garry
14 Apr 2024, 15:14
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 102

Re: Storing PID of a window

example , not sure it's correct (?) Detecthiddenwindows,on settitlematchmode,2 scx :="MATHE" ;- TITLE global scx Gui,show,x500 y500 w300 h300,%scx% WinGet,PID2,PID,%scx% ;- TITLE PID WinWait, ahk_pid %pid2% sleep,3000 WinMove, ahk_pid %pid2%, ,1,1, return ;-------------- Guiclose: Exitapp ;---------...
by garry
14 Apr 2024, 14:00
Forum: Помощь
Topic: Помогите сделать клик по картинке
Replies: 1
Views: 20

Re: Помогите сделать клик по картинке

Пример #Warn setworkingdir, %a_scriptdir% CoordMode,Pixel,Screen CoordMode,Mouse,Screen F1:="C:\trade.png" return ;------------------------ ~$F8:: imgFound := false while(imgFound = false) { ImageSearch,x,y,0,0,A_ScreenWidth, A_ScreenHeight,*transblack %f1% if(x <> "") { click, %x%, %y% imgFound := ...
by garry
13 Apr 2024, 13:36
Forum: Ask for Help (v1)
Topic: Storing PID of a window
Replies: 12
Views: 102

Re: Storing PID of a window

maybe also a script from user @SKAN > PIDfromAnyID()
viewtopic.php?style=1&t=3533
by garry
13 Apr 2024, 10:26
Forum: Ich brauche Hilfe
Topic: String nach WinHttpRequest-Abfrage konvertieren Topic is solved
Replies: 5
Views: 95

Re: String nach WinHttpRequest-Abfrage konvertieren Topic is solved

von Rohwedder ;- Format multiple characters by char code? / Rohwedder ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=109066 ;- aa={"name":"j\u00fcrgen","name_sanitized":"J\u00fcrgen","country":"","gender":"male","samples":9431,"accuracy":99,"duration":"12ms","credits_used":1} ab:=decode_u...
by garry
12 Apr 2024, 13:30
Forum: Ich brauche Hilfe
Topic: String nach WinHttpRequest-Abfrage konvertieren Topic is solved
Replies: 5
Views: 95

Re: String nach WinHttpRequest-Abfrage konvertieren Topic is solved

kannst Du versuchen ob in diesem Beispiel die Zeichen korrekt sind ? ( Variable 'H' , mit Deinem URL ) F1:=a_desktop . "\test.hta" url:="https://blog.fefe.de/?css=" whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") Whr.Open("GET", url, true) Whr.Send() Whr.WaitForResponse() Arr := Whr.responseBody p...
by garry
11 Apr 2024, 13:15
Forum: Ask for Help (v1)
Topic: screenshot of a webpage
Replies: 3
Views: 92

Re: screenshot of a webpage

example printscreen2pdf irfan:="C:\Program Files\IrfanView\i_view64.exe" screenshots:=a_desktop return ;----------------- ~$printscreen:: ;- printscreen button F1=%screenshots%\%A_now%_screenshot.pdf ;try,runwait, "%irfan%" "/capture=0 /convert=%F1%" ;- whole screen try,runwait, "%irfan%" "/capture=...
by garry
11 Apr 2024, 02:59
Forum: Ask for Help (v1)
Topic: screenshot of a webpage
Replies: 3
Views: 92

Re: screenshot of a webpage

example with irfanview ;- example : copy a part from the active window ( percent calc ) ;- https://www.irfanview.com/ ;- irfan:="C:\Program Files\IrfanView\i_view64.exe" screenshots:=a_desktop wa:=A_screenwidth,ha:=A_screenHeight,xx:=100 return *~!h:: ;- alt+h F1=%screenshots%\%a_now%_CROP_screensho...
by garry
10 Apr 2024, 05:21
Forum: Ask for Help (v2)
Topic: How to get video file metadata (Media Created Date, Frame Rate, Frame Width)?
Replies: 8
Views: 501

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

EDIT : error , realised , this is NOT for MP4 ... its for pictures .... maybe can use it once ... (?) example RENAME many pictures with irfanview , put pictures with Selma en Mieke in one folder > AA create new folder depending created YEAR ... \BB\2018_Selma en Mieke ;- copy photo's from AA to BB w...
by garry
09 Apr 2024, 15:28
Forum: Помощь
Topic: вирус или нежелательная программа в программе launcher.ahk Topic is solved
Replies: 8
Views: 1728

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: 501

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: 501

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: 105

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: 250

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: 85

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: 85

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: 250

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: 250

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: 250

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...

Go to advanced search