make new folder
make new folder
- Subject: make new folder
- From: Luther Fuller <email@hidden>
- Date: Sun, 1 Jun 2008 18:49:00 -0500
I've got this code that ought to work ...
tell application "System Events"
if not (exists folder "background" of xxxxxx) then
set hFolder to (make new folder at xxxxxx with properties
{name:"background"})
where xxxxxx is an alias. The first occurrence of xxxxxx always works,
but the second always fails. I've tried making the second occurrence a
posix path, a reference and some other things, but there's always the
error: "System Events can't make xxxxxx into a type location
reference." (or sometimes 'integer') I can't figure out what's
happening here. Does anyone know?
_______________________________________________
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