• 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
Javascript wrapper for Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascript wrapper for Applescript


  • Subject: Javascript wrapper for Applescript
  • From: David Andrews <email@hidden>
  • Date: Tue, 8 Jun 2004 23:30:20 -0400

How is a Javascript wrapper put around an applescript?

I'd like to have Javascript do the following AS:

tell application "RealOne Player" to GetURL
"rtsp://archive.wfmu.org/archive/SP/sp020112.rm?start=2:48:47&end=2:52:
19&title=\"Trooper's Nag - Spriguns of Tolgus\""

BTW: When the script runs, the RealOne Play window reverts to its
default size. Is there a way to tell it, using System Events, to "Zoom
Window" in the "Window" menu so that it goes back to its former size?
Everything I've tried gives "AppleScript Error, System Events got an
error: NSReceiverEvaluaionScriptError: 4"

Thanks
_______________________________________________
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: UI Scripting - selecting text items from a scroll area
  • Next by Date: Re: UI Scripting - selecting text items from a scroll area
  • Previous by thread: Re: UI Scripting - selecting text items from a scroll area
  • Next by thread: Re: Javascript wrapper for Applescript
  • Index(es):
    • Date
    • Thread