Re: Save a new file
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