i registered a custom url protocol with windows like this
as followed by this thread https://www.autohotkey.com/board/topic/71831-application-url-launch-local-application-from-browser/
myapp://sample.it?Name=myfilename&path=path_to_this_video_file
when i click on the link it is able to launch the application ,
but how to receive those parameters such as Name and path into the ahk from the link ?
Any idea ? or is that even possible ?
recieve parameters from url through custom url protocol Topic is solved
-
- Posts: 188
- Joined: 08 Jul 2019, 05:37
- Contact:
-
- Posts: 188
- Joined: 08 Jul 2019, 05:37
- Contact:
Re: recieve parameters from url through custom url protocol Topic is solved
ooooh this is quite fascinating
in the starting of script gives me everything i needed
if anybody needs it here you go
Is there any explanation anywhere though ?
Code: Select all
msgbox,%0%
msgbox,%1%
if anybody needs it here you go
Is there any explanation anywhere though ?
Re: recieve parameters from url through custom url protocol
there is. in the one place where all explanations are kept. the documentation
https://www.autohotkey.com/docs/v1/Scripts.htm#cmd_args
https://www.autohotkey.com/docs/v1/Scripts.htm#cmd_args
-
- Posts: 188
- Joined: 08 Jul 2019, 05:37
- Contact:
Re: recieve parameters from url through custom url protocol
thank you,
i tried to search it in documentation, but i was banging on my head what key word to search
now got it
i tried to search it in documentation, but i was banging on my head what key word to search
now got it
Who is online
Users browsing this forum: bobstoner289, peter_ahk, Spawnova and 341 guests