Re: Image Capture
Re: Image Capture
- Subject: Re: Image Capture
- From: "Andrew C. Bairnsfather" <email@hidden>
- Date: Mon, 24 Jan 2005 23:14:26 -0700
At 9:41 PM -0800 2005-01-24, Andrew Oliver wrote:
>Rule 1 when debugging: remove any and all 'try/end try' statements.
>
>That way the script will fail and post a dialog noting the error. While it
>probably doesn't solve the problem it should hint where to start looking.
>
>I'd hazard a guess that the problem relates to the Finder not being able to
>eject a string (which is what your disk is trying to do). It might be worth
>trying:
>
> ...
> eject disk "CHIP_NAME"
> ...
>
>Andrew
>:)
Hi Andrew, thanks for the quick reply. I did as you said and removed those statements, but the script still just stayed open for a very short time, barely long enough to read the app name in the menu bar. No feedback was given.
The script works fine in the Script Editor as well as the Finder. Even with "eject disk" instead of "eject". I used just "eject" only, since upon reading the Finder Dictionary in Script Editor it had just "eject". However, when run from the Editor or Finder, both versions work: "eject disk" and "eject" by itself.
But Image Capture still isn't launching it properly or something...
I see Image Capture is running with the user as me (via Activity Monitor), and there doesn't seem to be a permissions problem between my user folder and the folder the script is in. What I mean is that I'm the owner of each folder and the app.
No errors are reported via the Console, there is no crash log for Image Capture.
_______________________________________________
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