Jump to content
Sign in to follow this  
devi

Need help to Open a file with in the application

Recommended Posts

devi

Hi,i use 'shell-execute' to launch the application.now i want to open one existing file from with in the application,for this i should browse the file and try to open it,but am unable to open.If am using shell execute to open that existing file it opens another window of the application.i don't want separate window.with in the same window how to open that file.

Share this post


Link to post
Share on other sites
wakillon

You can add parameters to ShellExecute,

try to find if your application use some parameters for open file in a same window.


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
somdcomputerguy

Or can you just use ShellExecute to run the file (open it in the app), instead of the way you are currently doing (shellexecute the app, then shellexecute the file). If the app needs to be run first, without the file being open, use ControlClick or ControlSend to 'tell' the app to open the file.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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  

×