• 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
Re: What conversion am I missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: What conversion am I missing?
      • From: "koenig.yvan" <email@hidden>
References: 
 >What conversion am I missing? (From: Robert Poland <email@hidden>)
 >Re: What conversion am I missing? (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: What conversion am I missing?
  • Next by Date: Re: What conversion am I missing?
  • Previous by thread: Re: What conversion am I missing?
  • Next by thread: Re: What conversion am I missing?
  • Index(es):
    • Date
    • Thread