• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Image Capture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image Capture


  • Subject: Image Capture
  • From: "Andrew C. Bairnsfather" <email@hidden>
  • Date: Mon, 24 Jan 2005 22:30:59 -0700

I searched the archives and posted to the Discussion forums (AppleScript and 10.3 Customization).  In the archives I found one question like mine, back in 2002, but no answer.

http://lists.apple.com/archives/applescript-users/2002/Jun/msg00636.html

I wrote this script to automatically unmount the camera chip and quit Image Capture.  The idea being that once the images have been downloaded all I have to do is unplug the USB cord.

tell application "Finder"
	try
		eject "CHIP_NAME"
	on error
		-- Oops.
	end try
end tell

delay 1

tell application "Image Capture"
	try
		quit
	on error
		-- Oops.
	end try
end tell

Just replace CHIP_NAME with the name of your camera RAM chip.

I saved it as an app, no Startup Screen, not Stay Open, not Run Only.

When I run it from the Script Editor it works.  When I open it from the Finder, it works.

But when I choose it as the automatic process to perform once Image Capture has downloaded the images it doesn't work.  I can see it launches very quickly for a moment then quits.

I put a delay 3 at the beginning thinking maybe Image Capture was still somehow using the chip and therefore it couldn't be unmounted, but that didn't work either.

Is this a bug? I did put it in the OS X Feedback page.

Or am I leaving something out?

Dragging files from /System/Library/Image Capture/Automatic Tasks/ on to the ScriptEditor give me "Unable to read the dictionary of the application or extension because it is not scriptable."  (Thank goodness for OS X's ability to copy text from dialogs. :-))

TIA
 _______________________________________________
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

  • Follow-Ups:
    • Re: Image Capture
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: Mail question
  • Next by Date: Re: Image Capture
  • Previous by thread: Re: Mail question
  • Next by thread: Re: Image Capture
  • Index(es):
    • Date
    • Thread