frontmill Posted June 10, 2007 Share Posted June 10, 2007 I would like to associate a file with a self-written application (i think I know how to do this, or I at least should be able to find it). Thats not the problem. MY question is: Is there anyway to do this with an autoit-application? Since the explanation above isnt very clear, i am gonna try to clear it up with an example: I associate the extension .frt with one of my applications. When someone clicks a file with a .frt extension, I want the following to happen: I want autoit to get the location of the file. Just the path, like fileopen dialog would return it. My english is not excellent :Pm as you might have noticed. I hope you understood what i am trying to do. Thanks in advance! Link to comment Share on other sites More sharing options...
Gabburd Posted June 10, 2007 Share Posted June 10, 2007 For associating your file with a file type try this function.http://www.autoitscript.com/forum/index.ph...st&p=211980The paths of any files opened will be listed in the $Cmdline array. Link to comment Share on other sites More sharing options...
herewasplato Posted June 10, 2007 Share Posted June 10, 2007 http://www.autoitscript.com/forum/index.ph...showtopic=37289Q16 [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
frontmill Posted June 10, 2007 Author Share Posted June 10, 2007 http://www.autoitscript.com/forum/index.ph...showtopic=37289Q16Thank you very much. Stupid that i wasnt able to find this myself. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now