BananaFredSoft Posted July 5, 2007 Share Posted July 5, 2007 A couple of questions: How can you have a compiled Autoit3 script associate a file type with itself? How do you program a script so that when you right click on a file and select "Open With" and then the compiled script name, the program will start up and load the file? Thanks in advance! -ColinSite:www.bananafredsoft.comStuff:Simple Text Editor - MediaPlayer - Animator - BananaDB - BananaNotes - Chatta - Filesearch - Excuse GeneratorMy YouTube channel:http://www.youtube.com/user/colipat Link to comment Share on other sites More sharing options...
herewasplato Posted July 5, 2007 Share Posted July 5, 2007 Is this what you want?Q16. How can I register a file type with my program [or] How can I make files with a certain extension open in my program?http://www.autoitscript.com/forum/index.php?showtopic=37289 [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
BananaFredSoft Posted July 6, 2007 Author Share Posted July 6, 2007 Thanks! Perfect! Only one thing: Before I registered the file, I had it to open in NotePad on default. Now, even when I set the file type to always open with my program, it opens with notepad when you double click (although the menu item is still there when I right-click). This is just a minor problem, because mine is the only computer that has the file type associated with NotePad. Is this what you want? Q16. How can I register a file type with my program [or] How can I make files with a certain extension open in my program? http://www.autoitscript.com/forum/index.php?showtopic=37289 -ColinSite:www.bananafredsoft.comStuff:Simple Text Editor - MediaPlayer - Animator - BananaDB - BananaNotes - Chatta - Filesearch - Excuse GeneratorMy YouTube channel:http://www.youtube.com/user/colipat Link to comment Share on other sites More sharing options...
herewasplato Posted July 6, 2007 Share Posted July 6, 2007 (edited) I'm not sure, but look around in this area: Open Windows File explorer Select "Tools" from the menu bar Then select "Folder Options" Then the tab named "File Types" Locate and highlight the file extension of interest. Once highlighted, click on the button named "Advanced". The next window should be named "Edit File Type". Double-click on "open" (assuming that their is an open) and see/change the app listed in the field named: "Application used to perform action:" -MSP- Edited July 7, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
BananaFredSoft Posted July 6, 2007 Author Share Posted July 6, 2007 Thanks!I'm not sure, but look around in this area:Open Windows File explorerSelect "Tools" from the menu barThen select "Folder Options"Then the tab named "File Types"Locate and highlight the file extension of interest.Once highlighted, click on the button named "Advanced".The next window should be named "Edit File Type".Double-click on "open" (assuming that their is an open)and see/change the app is listed in the field named:"Application used to perform action:"-MSP- -ColinSite:www.bananafredsoft.comStuff:Simple Text Editor - MediaPlayer - Animator - BananaDB - BananaNotes - Chatta - Filesearch - Excuse GeneratorMy YouTube channel:http://www.youtube.com/user/colipat 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