• 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
Telling AS to use the OS X version of an app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Telling AS to use the OS X version of an app


  • Subject: Telling AS to use the OS X version of an app
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 04 Apr 2002 13:02:34 -0800

Does anyone now how to tell applescript to use the correct OS version of an
app that has both 9 and X versions on my computer?

A the moment, if I try to get 'recurrence' of any [calendar] event in, it
compiles as variable and errors on execution.

there is no problem with executing the raw code:


get +property pRca; of event 1

but it won't compile as 'recurrence' as it should. Same thing with 'remind
time' +property pRnt;

These are both properties added in Entourage X that don't exist in 2001.
The dumb OS doesn't recognize them probably because I was booted in OS 9
recently, running and scripting 2001. Even though Entourage X is open as a
running process, its properties aren't compilable if they're not in the OS 9
version of the app.

When I closed Entourage X and tried

tell application "Microsoft Entourage" to launch

Classic and Entourage 2001 tried to start up.

I tried:

set application "Microsoft Entourage" to choose application

and chose the right X version (which launched), but got an AS error that I
couldn't do this: 'access not allowed'.

Does anyone know how to reset the app to the X version, as far as AS is
concerned?

I can go on using the raw codes, but then I hit that idiotic bug where
<<property>> compiles as class, and when I recompile with <<class> typed it
compiles OK but the script will error on execution. So that is not a
solution.

--
Paul Berkowitz


--
Paul Berkowitz
_______________________________________________
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: Telling AS to use the OS X version of an app
      • From: Shane Stanley <email@hidden>
    • Re: Telling AS to use the OS X version of an app
      • From: Mr Tea <email@hidden>
    • Re: Telling AS to use the OS X version of an app
      • From: Paul Berkowitz <email@hidden>
    • Re: Telling AS to use the OS X version of an app
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: JavaScript utilities via AS?
  • Next by Date: Move, copy, rename, zip,...
  • Previous by thread: RE: JavaScript utilities via AS?
  • Next by thread: Re: Telling AS to use the OS X version of an app
  • Index(es):
    • Date
    • Thread