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: newbie problem - sorry for the long question



Hello,

> On 3/28/05 1:47 PM, "Jesus Garcia" wrote:
>
> now I'm stuck on the following:
> 
> I need to create in the newly moved folder a new folder named
> "brisque_files" , but the Finder is giving me a "can't get folder of
> folder, etc'..

I don't know any of YOUR code...but...

Try this:

--code

set a_folder to "Macintosh HD:testDirA" as alias
set b_folder to "Macintosh HD:testDirB" as alias
set j_num to 123456

tell application "Finder"
 set moved_folders to move (every folder of a_folder whose name begins with
j_num) to b_folder
 repeat with i from 1 to count of moved_folders
  make new folder at item i of moved_folders with properties
{name:"brisque_files"}
 end repeat
end tell

--/code

HTH

Jake


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >newbie problem - sorry for the long question (From: Jesus Garcia <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.