Jump to content
Sign in to follow this  
crackcomm

"://" protocol

Recommended Posts

crackcomm

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 ?


Sorry for my English.

Share this post


Link to post
Share on other sites
Mecrazycoder

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]

Share this post


Link to post
Share on other sites
crackcomm

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

Sorry for my English.

Share this post


Link to post
Share on other sites
crackcomm

BUMP, help me please


Sorry for my English.

Share this post


Link to post
Share on other sites
crackcomm

They forget about me :)


Sorry for my English.

Share this post


Link to post
Share on other sites
wolf9228

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

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

 

Share this post


Link to post
Share on other sites
wolf9228

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


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

 

Share this post


Link to post
Share on other sites
crackcomm

Thanks, i will try it!


Sorry for my English.

Share this post


Link to post
Share on other sites
crackcomm

Ok, i made it rly thanks :)

Look here now pls:

http://www.autoitscript.com/forum/index.php?showtopic=103721

Edited by crackcomm

Sorry for my English.

Share this post


Link to post
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
Sign in to follow this  

×