• 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: AS asking for application on every occasion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS asking for application on every occasion


  • Subject: Re: AS asking for application on every occasion
  • From: Walter Ian Kaye <email@hidden>
  • Date: Thu, 8 Jul 2004 20:10:53 -0700

At 09:19p -0400 07/08/2004, Thierry Lavallie didst inscribe upon an electronic papyrus:

Thanks all, But I still have a problem.

If I directly call GC, my script works perfectly:
tell application "GraphicConverter PPC"
But GraphicConverter has different names in different versions it seems.

If I set graphicConverterPath to application file id "GKON" as string, some
parts of my script do not pass syntax error check. I get "a property can't
go after this property" near "set color space of window 1 to rgb".

As if some of the properties were not accessible the same way.
So this does not work:

tell application "Finder"
set graphicConverterPath to application file id "GKON" as string
end tell

tell application graphicConverterPath

I mentioned you may need a Using Terms From block.
Try this:

tell application graphicConverterPath
using terms from application "GraphicConverter PPC"
--gc commands
end using terms from
end tell

The U.T.F. block should only affect compiling not running, and so should not itself cause any "Where is...?"-ing.


-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: AS asking for application on every occasion
      • From: Thierry Lavallée <email@hidden>
References: 
 >Re: AS asking for application on every occasion (From: Thierry Lavallée <email@hidden>)

  • Prev by Date: Re: Keep a launched app in background
  • Next by Date: Applet Identifier for Mac OS X server registration
  • Previous by thread: Re: AS asking for application on every occasion
  • Next by thread: Re: AS asking for application on every occasion
  • Index(es):
    • Date
    • Thread