Re: What makes AppleScript difficult
Re: What makes AppleScript difficult
- Subject: Re: What makes AppleScript difficult
- From: Peter Baxter <email@hidden>
- Date: Thu, 6 Dec 2007 18:21:20 +1100
This is off topic, but I just wrote a script to create a folder with a
given name inside a folder that didn't exist and another folder that
didn't exist and the two enclosing folders were created. ( All AS!) I
didn't know you could do that.
tell application "Finder"
--ReportSetup
if not (the folder "ReportSetup" of folder "LocalReports" of
folder "Applications" exists) then make new folder at folder
"LocalReports" of folder "Applications" of startup disk with
properties {name:"ReportSetup"}
-- ReportsPrint
if not (the folder "ReportsPrint" of folder "ReportSetup" of
folder "LocalReports" of folder "Applications" exists) then make
new folder at folder "ReportSetup" of folder "LocalReports" of
folder "Applications" of startup disk with properties
{name:"ReportsPrint"}
end tell
--> created the folder Local Reports. I thought this impossible!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
We may go to the moon, but that's not very far. The greatest distance
we have to cover still lies within us." Charles de Gaulle
Peter Baxter
email@hidden
_______________________________________________
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