• 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: saving front window using osascript...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saving front window using osascript...


  • Subject: Re: saving front window using osascript...
  • From: Rick Ballard <email@hidden>
  • Date: Wed, 7 Nov 2007 19:30:07 -0800

On Nov 7, 2007, at 5:02 PM, Fons Rademakers wrote:

Hi,

something very trivial. I want to save the Xcode front window via osascript:

tell application "Xcode"
  save front window
  close front window
end tell

only closes but does not save the window. What script command should I use? write to file? If so how do I get the type?

tell application "Xcode" close front document saving <yes/no/ask> end tell

	- Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: saving front window using osascript...
      • From: Fons Rademakers <email@hidden>
References: 
 >saving front window using osascript... (From: Fons Rademakers <email@hidden>)

  • Prev by Date: having trouble debugging a linker error
  • Next by Date: Re: having trouble debugging a linker error
  • Previous by thread: saving front window using osascript...
  • Next by thread: Re: saving front window using osascript...
  • Index(es):
    • Date
    • Thread