Re: What conversion am I missing?
Re: What conversion am I missing?
- Subject: Re: What conversion am I missing?
- From: Robert Poland <email@hidden>
- Date: Sat, 08 Sep 2012 15:02:57 -0600
On Sep 8, 2012, at 2:47 PM, "koenig.yvan" < email@hidden> wrote: Le 08/09/2012 à 18:45, Robert Poland < email@hidden> a écrit : Hi,
I have this script that if I drop an image on it all is well. But if I try to "run" it (from an open GraphicConverter window" I get errors. I'm sure that i'm not making the "droppedItem" into the right class or whatever.
What conversion am I missing?
on run tell application "GraphicConverter" delay 2 set droppedItem to window name of window 1 end tell open {droppedItem} end run
on open (droppedItem) …
Hello
droppeditem is a name.
You can't open a file with its name, you need its full pathname.
Yvan KOENIG (VALLAURIS, France) samedi 8 septembre 2012 22:46:56
Obviously I'm for getting another of my many lessons…
this isn't the answer;
tell application "GraphicConverter" activate delay 2 set droppedItem to get path of window 1 end tell
Robert Poland - Fort Collins, CO
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden