Sign in to follow this  
Followers 0
PCode

File Registry

2 posts in this topic

Okay, so I have a made a program that opens up files and reads them, then uses the information in the files to decide what to do.

What'd I like to do, is have it so that when I open up a certain file type, my Autoit program opens up with the file's path inserted into an input inside my Autoit program.

The way my autoit program reads files at the moment is by using a fileopendialog to find a file, then pasting the path into an input, then using FileOpen to read the files.

So can I get some info on what code I'm going to need to put into my autoti program so that it can do this.

Share this post


Link to post
Share on other sites



Okay, so I have a made a program that opens up files and reads them, then uses the information in the files to decide what to do.

What'd I like to do, is have it so that when I open up a certain file type, my Autoit program opens up with the file's path inserted into an input inside my Autoit program.

The way my autoit program reads files at the moment is by using a fileopendialog to find a file, then pasting the path into an input, then using FileOpen to read the files.

So can I get some info on what code I'm going to need to put into my autoti program so that it can do this.

From what I understand all you wish for it to accomplish is if u open so called C:\*path*\*file*.*extension* and the extension matches ur desired extension then open your program, make the file's path a variable send the variable to an input box... If I am correct, it would seem as if your first challenge is to assciate ur extension with ur AutoIt program... in Command prompt there is a command: assoc . open command prompt and type: assoc /? and it will inform you the rest... I apologize for being such a minute help if at all but I am quite a newbie :/

-Psibernetic, Psibernetic Computing (Omega Division)


[sup]Psibernetic[/sup]My Creations:X-HideSecuracy

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