Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making a new file



On 6/4/07 at 7:57 PM, Nigel Redmon <email@hidden> spake thusly:

Well, there is no "New File scripting addition". How can I do this? I'd like to avoid scripting to a third application to get the job done (that is, if it's not built in, I'll probably have to write my own command).

I believe that's been folded into the StandardAdditions.osax as

choose file name

(verb) Get a new file reference from the user, without creating the file (from the User Interaction suite, defined in StandardAdditions.osax)

But actual creation of the file is up to you. You could use "open for access" in the "file read/write" suite also in the StandardAdditions.osax

JBS
--
99 percent of lawyers give the rest a bad name.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >making a new file (From: Nigel Redmon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.