devi Posted August 12, 2011 Share Posted August 12, 2011 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. Link to comment Share on other sites More sharing options...
JohnOne Posted August 12, 2011 Share Posted August 12, 2011 What application? perhaps you can open file in it via command line option. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
wakillon Posted August 12, 2011 Share Posted August 12, 2011 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.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 12, 2011 Share Posted August 12, 2011 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. 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