Arrrgh!

Basic stuff!
Sorry...

> -----Original Message-----
> From: Macintosh Scripting Systems
> [mailto:[log in to unmask]] On Behalf Of Jon Pugh
> Sent: Friday, December 19, 2008 12:08 PM
> To: [log in to unmask]
> Subject: Re: FW: Deleting a file
> 
> At 12:00 PM -0600 12/19/08, john darnell wrote:
> >I am trying to write a simple script to delete a file.  The script
> looks
> >like this:
> >
> >set firstfile to "Macintosh
> HD:Users:PRG03:Library:Preferences:Suitcase
> >Preferences:FontTrackingFile"
> >if file firstfile exists then
> >	set myresult to delete firstfile
> >end if
> 
> tell application "Finder"
>   set myFile to file "Macintosh
> HD:Users:PRG03:Library:Preferences:Suitcase
> Preferences:FontTrackingFile"
>   delete myFile
> end tell
> 
> The Finder manages files, not AppleScript itself.
> 
> Jon