Re: Make New File in System Events
Re: Make New File in System Events
- Subject: Re: Make New File in System Events
- From: Luther Fuller <email@hidden>
- Date: Mon, 17 Oct 2005 07:35:24 -0500
Matthew Smith ssuggsted ...
tell application "System Events"
make new file at end of files of desktopalias with properties
{name:"ASD"}
end tell
I tried it and if worked. Which brings up another old complaint.
Nowhere in the System Events dictionary does it say anything about
adding the words
"end of files of". Either the dictionary is badly written or System
Events is broken or both.
There is more to my question, however. I need to make a new plist
file. So I tried ...
tell application "System Events"
make new property list file at end of files of locRef with
properties {name:"test.plist"}
The file 'test.plist' is created at the correct location, but it is
apparently NOT a plist file.
When I try to open it, Property List Editor says "The document
"test.plist" could not be opened."
So the new question now is ... How do I create a new property list file?
_______________________________________________
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