Re: What should be a simple question, I think about creating a file....
Re: What should be a simple question, I think about creating a file....
- Subject: Re: What should be a simple question, I think about creating a file....
- From: Michelle Steiner <email@hidden>
- Date: Tue, 6 Apr 2010 11:26:33 -0700
On Apr 6, 2010, at 10:58 AM, OSullivan, Steven wrote: to CreateFixFile(versionStr, mailBody) set myFileName to ("Fix List for " & versionStr & ".htm") as string tell application "Finder" to set myFile to ((path to desktop as string) & myFileName) as alias write mailBody as string to myFile close access end CreateFixFile
Here you go:
to CreateFixFile(versionStr, mailBody) set myFileName to ("Fix List for " & versionStr & ".htm") set myFile to (open for access (path to desktop as string) & myFileName with write permission) write mailBody as string to myFile close access myFile end CreateFixFile
-- Michelle
-- Those who extol the "nobility of labor" mean the labor of others.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden