Sometimes, I need to open a file using an application that is not set as default for that filetype.
Of course, if you want to open a file using the default application, you'd simply use ExecuteFile.
The following snippet allows me to control which application I want my file to open in. In this case, I'm making it open in MS Paint, using RunProgram.
View Snippet Page
E.G.
RunProgram>msPaint.exe c:\filename.bmp
Open file in a specific application.
Moderators: Dorian (MJT support), JRL, Phil Pendlebury
- Dorian (MJT support)
- Automation Wizard
- Posts: 1378
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Open file in a specific application.
Yes, we have a Custom Scripting Service. Message me or go here
Re: Open file in a specific application.
Thanks for sharing all your tips, Dorian! Appreciate you!
- Dorian (MJT support)
- Automation Wizard
- Posts: 1378
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: Open file in a specific application.
Thanks Meryl.
In my 18 years or so of using Macro Scheduler, I've learned that little tips like this can make a world of difference.
In my 18 years or so of using Macro Scheduler, I've learned that little tips like this can make a world of difference.
Yes, we have a Custom Scripting Service. Message me or go here