• 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: Script tell the wrong app !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script tell the wrong app !


  • Subject: Re: Script tell the wrong app !
  • From: Ian King <email@hidden>
  • Date: Wed, 12 Nov 2003 22:13:41 +0000

Bonjour Thomas,

OS 9, or OS X?
ImageReady handles the same types of files,
it just happens to get there 1st, on your customers Mac.

So your Script is not only for your Mac,
you could try and use the 'application file id' method instead.
This way, you do not need to know where Photoshop is kept on their Mac.

-- OS 9

tell application "Finder"
set theApp to application file id "8BIM" as string -- Photoshop id
end tell

tell application theApp -- Photoshop
activate
-- do your stuff
end

-- or just use;
Open application file id "8BIM" -- before you;

Tell app "Photoshop"


Hope that helps "un petit peu"
Regards, Ian

> Thomas C.
>
> Hi all, I have a problem with a script I've made that tells Photoshop.
> I sent it to a costumer but when he launches it, Image Ready opens and
> an error comes !
> My script does not deal at all with Image Ready, only with Photoshop...
> so it seems that my script try to tell to wrong app : IR instead of PS
> and an error come because the code is made for PS.
> Does someone know why this happens and what can I do to make this
> script running on my costumer's computer (the same script works great
> on my mac) ?
>
> Thanks Thomas
_______________________________________________
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.

  • Prev by Date: Re: Off: Disk Utility broken in 10.3.1 on G5s?
  • Next by Date: Re: Mail email to Filemaker
  • Previous by thread: Re: Script tell the wrong app !
  • Next by thread: Re: Script tell the wrong app !
  • Index(es):
    • Date
    • Thread