<< Paste text | Table of Contents | Record and play keystrokes >>

Open a file

You can open any file by pressing a hot key.

Action Parameters

File to open - type in a file name or click the Browse... button to select a file to open. Once you execute the macro, the file will be opened with a default application. E.g. if you choose a Word document, Microsoft Word will be launched to open the file.

Open with - you can override the default application to open the selected file type. For example, you can choose OpenOffice Calc to open Excel spreadsheet instead of Microsoft Excel. Of course you must have OpenOffice installed.

"Open file" macros support scripting

Learn more about Hot Keyboard scripting capabilitites

Example:

c:\Users\user\Documents\${{InputBox ("Enter Document Name") }}.doc

Usage ideas:

  • Open the documents you work very often on

See also:

Open folder action type
Launch Application action type