Re: Image Capture - Now Works
Re: Image Capture - Now Works
- Subject: Re: Image Capture - Now Works
- From: "Andrew C. Bairnsfather" <email@hidden>
- Date: Tue, 25 Jan 2005 07:59:16 -0700
Title: Re: Image Capture - Now Works
Ok, so I guess this shows how little I know about AppleScript,
although in my "defence" I've set up quite a few simple
one-trick-ponies to do cool things in iTunes. :-)
In any case, I guess the Image Capture program is calling the
script as though something was dropped on it.
Once I wrapped the whole thing with an "on open"
statement it worked so here the whole thing (added back the silent
failure parts).
on
open
these_items
tell application "Finder"
try
eject "CHIP_NAME"
on
error
--
Oops.
end
try
end
tell
tell application "Image Capture"
try
quit
on
error
--
Oops.
end
try
end tell
end
open
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden