Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create timestamped duplicates of files via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create timestamped duplicates of files via AppleScript
Authored by: jbirk on Sep 29, '08 07:59:24AM

I was unclear about "select some files... then run the saved AppleScript" so I added this after the "property" line:
<code>
on open the selection
</code>

don't forget the "end open" at the end... now you've got a droplet!



[ Reply to This | # ]
Create timestamped duplicates of files via AppleScript
Authored by: Andreas. on Sep 29, '08 09:22:28AM

If you don't enclose the whole script between "on open" and "end open" but just add

on open
    run
end open

you will have the best of both worlds!



[ Reply to This | # ]
Create timestamped duplicates of files via AppleScript
Authored by: PizzaCake on Sep 29, '08 10:19:09AM

Thanks for pointing that out jbirk, Andreas. Now you can either select the files or drop them on the app and they will be duplicated.



[ Reply to This | # ]