grab data from dialog box Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kocelac205
Posts: 24
Joined: 04 Jul 2021, 01:15

grab data from dialog box

Post by kocelac205 » 26 Nov 2021, 10:05

i am trying to extract the download link from idm download dialog box so tht i can forward it to my download server on another computer

https://imgur.com/WfJ0rSd

i am not really sure how to use autohotkey for this...also idk if this matters but the area with download link does not support keyboard shortcuts for some weird reason i.e. u cannot click the link area and do ctrl+a and ctrl+c..instead you have to manually right click , select select all and then right click again to select copy..

PS: i cannot jus copy the link without idm bcoz the link is for an embedded video stream which can be grabbed by idm grab video function..i do not know of a way to intercept it before the dialog box open up

User avatar
Smile_
Posts: 857
Joined: 03 May 2020, 00:51

Re: grab data from dialog box  Topic is solved

Post by Smile_ » 26 Nov 2021, 11:20

While this window is open run the script below, click F1 and see if you get the download link in a message box or no, if you got it then your problem should be solved.

Code: Select all

F1::
ControlGetText, DLink, Edit1, Download File Info ahk_class #32770 ahk_exe IDMan.exe
Msgbox % Clipboard := DLink

kocelac205
Posts: 24
Joined: 04 Jul 2021, 01:15

Re: grab data from dialog box

Post by kocelac205 » 26 Nov 2021, 13:00

thank you..thts exactly wht i wanted

Post Reply

Return to “Ask for Help (v1)”