Sign in to follow this  
Followers 0
BananaFredSoft

Associating File Types

5 posts in this topic

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!

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Thanks!

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 is listed in the field named:

"Application used to perform action:"

-MSP-

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  
Followers 0