Mac OS X Technologies

Applescript to mimic behavior of folder on desktop Question marked as solved ★ Latest reply  by  dpdpdp Latest update on the question 2 replies 66 views asked by  dpdpdp User profile for user: griffonwoody griffonwoody User level: Level 1 After upgrading to macOS Catalina the "duplicate command" in AppleScript has a different behavior Question marked as solved ★ Latest reply  by  griffonwoody Latest update on the question 2 replies 81 views asked by  griffonwoody User profile for user: Neal Jackson Neal Jackson User level: Level 1 Can my User "Documents" folder be added to "Share" destinations?

I am unfortunately a complete novice with Applescript. I would like to write a script that mimics the behavior of a folder icon in the Finder. So that if I save it as a compiled app:

(1) if I drag a file to the app, it moves the file into a folder pre-specified in the script (call it "~/Desktop/My\ Folder") and

(2) if I just double-click on the app, it just opens that folder in Finder.

My attempts to create something, modeled on scripts I see online, are not working out. Would very much appreciate help — thank you!!

(Invoking Automator would also be fine.)

Click to rate this post!
[Total: 0 Average: 0]

Related posts

Renaming files using Automator and CSV file.

Sasha

Macmost?

Serega

applescript error

Lamaxima

Leave a Comment