Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting the date, next question



Hi,

Thanks for all the different ways to convert "date "Tuesday, 30 December, 2003 10.34.27am"" into something usable. I didn't know there were so many ways to skin a cat. So, now Ive made my folder:
-----------------
set foldername to days_date
tell application "Finder"
activate
make new folder at folder "Documents" of folder "Toby" of folder "Users" of disk "PowerMac_HD" with properties {name:foldername}
reveal result
end tell
------------------
I now want the script to move something into the new folder, but how do I refer to the new folder if I dont know its name? Something like:

set dayfolder to folder (foldername as string) of folder "Documents" of folder "Toby" of folder Users" of disk "PowerMac_HD"

doesn't seem to work.

thanks,

simon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: getting the date (From: Paul Berkowitz <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.