• 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: osascript problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osascript problems


  • Subject: Re: osascript problems
  • From: "Philip T. Gonia" <email@hidden>
  • Date: Fri, 03 Jan 2003 22:18:36 -0800

Chris,

Thank you very much. That did the trick. 8-)


A shell tool run from Terminal doesn't have privileges to interact with the
user via the graphic user interface. Try telling an app that does, e.g. the
Finder or System Events:

tell application "System Events"
activate
display dialog "Location of CVS root repository." default answer "Enter
your CVS root directory here."
set cvsRoot to (text returned of result)
return cvsRoot
end tell

Chris
_______________________________________________
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: Help scripting form IE to TextEdit using Cut & Paste needed!
  • Next by Date: GUI scripting
  • Previous by thread: Re: osascript problems
  • Next by thread: Ui scripting: having trouble with pop up menus
  • Index(es):
    • Date
    • Thread