• 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: How to "Tell" a varible name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to "Tell" a varible name


  • Subject: Re: How to "Tell" a varible name
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 07 Feb 2001 18:41:04 -0800

On 2/7/01 2:45 PM, "SeaSoft Systems" <email@hidden> wrote:

> In this situation the "double tell" method seems to fail in general
> since whichever version of the App was used at applet compile time
> gets loaded when the script is run, in addition to the App version
> that is actually running, which can be different. Having two versions
> of the same app running at the same time creates a huge problem, as
> you can imagine (it is a server in this case).
>
> I had hopes that something simple like
>
>> tell application file ID "WWW "
>> [Do Stuff]
>> end tell
>
> would work, and was ecstatic to see this offered as a solution.
> Sadly, it won't compile on my machine (OS8.6), even though an
> application with the appropriate creator code is an active process.
> Is there another syntax, perhaps within a finder tell block, that
> might work?
>
> It seems (to the newbie :-) like it should be a simple matter to
> target a script to an application with known creator code, which App
> is known to be up and running when the script is run, and is known to
> be the *only* application with that code that is running, but I can't
> get anything to work.
>
> Any other thoughts?


All this has been settled exhaustively by John Delacour some time ago. See
his website:

<http://www.eremita.demon.co.uk/scripting/applescript/>


But there's a somewhat easier way to do it, which Emmanuel Levy has already
referred you to right here in this thread. He advised you to check the Smile
Help, and even told you which subsection to find it in. I guess you haven't
done that, or you wouldn't still be asking. Please refer back to Emmanuel's
contribution to this thread, check the Smile Help (which Emmanuel gave you a
URL to) and try it out. It works, and it's very, very easy to get the raw
codes you need for his method and for JD's if you have Smile.

--
Paul Berkowitz


References: 
 >Re: How to "Tell" a varible name (From: SeaSoft Systems <email@hidden>)

  • Prev by Date: Re: How to "Tell" a varible name
  • Next by Date: Re: History of Scripting Terms (was Re: Attachability)
  • Previous by thread: Re: How to "Tell" a varible name
  • Next by thread: Re: How to "Tell" a varible name
  • Index(es):
    • Date
    • Thread