Re: Template for Debugging "on Open..." Handler
Re: Template for Debugging "on Open..." Handler
- Subject: Re: Template for Debugging "on Open..." Handler
- From: steve harley <email@hidden>
- Date: Thu, 18 Mar 2004 17:52:47 -0700
on 18 Mar 2004, at 2:38 PM, Grimm, Kenneth wrote:
Many, many moons ago someone posted sample code for a template to use
when
writing an "On Open..." applet that allowed the script to run without
the
"close, drop something, open, edit, lather rinse repeat" dance.
this is the idiom i use:
on open (the_files)
-- whatever
end open
-- for testing, run handler passes chosen files to open handler
on run
set some_files to choose file with multiple selections allowed
open (some_files)
end run
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.