I have an applescript that I am using to clear out a huge folder. I can select all of the files but how can I indicate the "command delete" key while keeping all of the files selected? Basically after the "command a function" if I try to preform the "command delete" function it deselects all of those previously selected files.
Problems with the command delete function in applescript
applescriptkeyboard
Related Question
- Need help with small AppleScript
- Zip email with con AppleScript
- AppleScript Excel – How to Invert Selection
- Detect FN and Function Key Simultaneously Pressed on Mac
- Conditional Statement in AppleScript – Fix Guide
- Applescript – How to Combine Choose Folder Command with Adding Folder Items Function
- Problem with Automator/AppleScript Question
- Problem with rsync in AppleScript
Best Answer
keystroke "backspace" using command down
[might be
delete
rather thanbackspace
- auto-deletes are not something I want to be playing with on my first coffee of the day] ;)