what is wrong with this ?
what is wrong with this ?
- Subject: what is wrong with this ?
- From: yvan-koenig <email@hidden>
- Date: Tue, 8 Feb 2005 13:38:45 +0100
Le 8 févr. 2005 , à 12:54, Christian Vinaa a écrit :
tell application "Finder"
set filePath to folder "x" of folder "Desktop" of folder "myUser" of
folder "Users" of startup disk
end tell
tell application "AppleWorks 6"
set theNewDoc to make new document with properties {document kind:text
document, name:"yada"} at filePath
end tell
Very easy:
tell application "Finder"
set bootVol to (name of startup disk) as text
set filePath to (folder "x" of folder "Desktop" of folder "myUser" of
folder "Users" of folder bootVol) as text
-- set filePath to bootVol &"Users:myUser:Desktop:x:"
end tell
tell application "AppleWorks 6"
set theNewDoc to make new document with properties {document kind:text
document, name:"yada"} at filePath
end tell
Yvan KOENIG
_______________________________________________
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