Jump to content

"://" protocol


Recommended Posts

Hi. I have my own site, and my own program (made in autoit) and i want to make i can click on link for example "autoit://doit?param1=aaaaa&param2=bbbbbb" and it will launch program with this option's is it possible ? Can someone help me ?

If my understanding is correct, you can click links using any one below

  • _IELinkClickByIndex()
  • _IELinkClickByText()

[size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent]

Link to comment
Share on other sites

I think you dont understand me but thanks :)

for example skype:

callto://12345+type=phone

that will open skype and call to 12345 by phone

i want make something like this but it will open my program, i made registry key

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\autoit]

@="URL:autoit Protocol"

"URL Protocol"=""

[HKEY_CLASSES_ROOT\autoit\DefaultIcon]

@="\"C:\\myprogram.exe\",0"

[HKEY_CLASSES_ROOT\autoit\shell]

[HKEY_CLASSES_ROOT\autoit\shell\open]

[HKEY_CLASSES_ROOT\autoit\shell\open\command]

@="\"C:\\myprogram.exe\" \"/autoit:\"%l\"\""

SO!:

How to read the parameters from autoit://(?)

Sorry for my english, if u dont understand something pls post :)

Edited by crackcomm
Link to comment
Share on other sites

Hi. I have my own site, and my own program (made in autoit) and i want to make i can click on link for example "autoit://doit?param1=aaaaa¶m2=bbbbbb" and it will launch program with this option's is it possible ? Can someone help me ?

Running Scripts

http://www.autoitscript.com/autoit3/docs/intro/running.htm

Examples

Console_Script.au3

For $i = 1 To $CmdLine[0]
MsgBox(0,"","param" & $i & " = " & $CmdLine[$i] & @CRLF)
Next

Run_Script.au3

Run(@AutoItExe & " Console_Script.au3 /F /O /D /B", "", @SW_MAXIMIZE)
Edited by wolf9228

صرح السماء كان هنا

 

Link to comment
Share on other sites

file Protocol

http://msdn.microsoft.com/en-us/library/aa767731(VS.85).aspx

http Protocol

http://msdn.microsoft.com/en-us/library/aa767734(VS.85).aspx

Predefined Protocols

http://msdn.microsoft.com/en-us/library/aa767739(VS.85).aspx

صرح السماء كان هنا

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...