Go Back   The macosxhints Forums > OS X Help Requests > AppleScript



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-08-2012, 11:51 AM   #1
Baresi
Guest
 
Posts: n/a
Automator droplet: ask for files?

I've got a simple app (see screenshot) that removes quarantine attribute from anything dropped onto it. Is there an easy way to make this app ask for files/folders when it's open with double-click (i.e. with nothing dropped onto it)? Thanks!

Mac OS X 10.7.3

  Reply With Quote
Old 04-15-2012, 10:34 PM   #2
sojourner
Major Leaguer
 
Join Date: Apr 2010
Posts: 371
Add an "on run" handler:

Code:
on open the_Droppings
   -- process files
end open

on run
   choose from list ...
end run
__________________
see a problem; solve a problem.
sojourner is offline   Reply With Quote
Reply

Tags
automator, droplet

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.