This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
action:Prompt_for_File [2017/09/07 01:27] peternlewis created |
action:Prompt_for_File [2019/07/01 04:16] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Prompt for File ====== | + | ====== Prompt for File Action ====== |
The //Prompt for File// action (v8+) prompts for a selected file or folder and saves the path into a variable. | The //Prompt for File// action (v8+) prompts for a selected file or folder and saves the path into a variable. | ||
+ | |||
+ | {{ promptforfile.png?nolink&575x202 | Prompt for File }} | ||
You can prompt for an existing file or folder, or for a new file or folder. | You can prompt for an existing file or folder, or for a new file or folder. | ||
Line 8: | Line 10: | ||
For an existing file, you can specify the allowed file types with a space or comma separated list of extensions or [[https://en.wikipedia.org/wiki/Uniform_Type_Identifier|Uniform Type Specifiers]] such as `public.image`. | For an existing file, you can specify the allowed file types with a space or comma separated list of extensions or [[https://en.wikipedia.org/wiki/Uniform_Type_Identifier|Uniform Type Specifiers]] such as `public.image`. | ||
+ | |||
+ | You can (v9.0+) specify the default directory in the action. | ||
===== See Also ===== | ===== See Also ===== | ||
Line 18: | Line 22: | ||
* [[action:Get_Touch_Bar_Selection|Get Touch Bar Selection]] action | * [[action:Get_Touch_Bar_Selection|Get Touch Bar Selection]] action | ||
* [[:Actions|All Actions]] | * [[:Actions|All Actions]] | ||
+ | |||
+ | ==== Forum ==== | ||
+ | |||
+ | * [MACRO: Prompt for File Action](https://forum.keyboardmaestro.com/t/move-copy-with-dialogue-box/8108) | ||