• 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: Save a new file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save a new file


  • Subject: Re: Save a new file
  • From: Bill White <email@hidden>
  • Date: Sat, 06 Nov 2004 08:36:46 -0500

On 11/6/04 8:26 AM, Elliotte Harold <email@hidden> wrote:

> how does one tell an application (specifically BBEdit) to save a previously
> unsaved window into a file that doesn't yet exist?

set filePath to (path to desktop as string) & "some file name" as string

-- or you could have something less efficient like...
-- set filePath to "Hard drive:Users:User name:folder 1:folder 2:file name"

tell application "BBEdit 6.5"

    save window 1 to filePath

end tell

--Bill


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

This email sent to email@hidden

  • Follow-Ups:
    • [OT]Mystery message on Script Editor
      • From: Takaaki Naganoya <email@hidden>
References: 
 >Save a new file (From: Elliotte Harold <email@hidden>)

  • Prev by Date: Re: Save a new file
  • Next by Date: Re: Bridge anyone? [not off topic]
  • Previous by thread: Re: Save a new file
  • Next by thread: [OT]Mystery message on Script Editor
  • Index(es):
    • Date
    • Thread