Page 1 of 1

grab data from dialog box

Posted: 26 Nov 2021, 10:05
by kocelac205
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

Re: grab data from dialog box  Topic is solved

Posted: 26 Nov 2021, 11:20
by Smile_
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

Re: grab data from dialog box

Posted: 26 Nov 2021, 13:00
by kocelac205
thank you..thts exactly wht i wanted