| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
-- This script obtains the name of the folder from name of the files (need Satimage Osax for regex and format)–Of course it’s just a starting point… set x to "BE_00500_M3200W" set y to (find text "[A-Z]+_([[:digit:]]+)" in x using "\\1" with regexp, all occurrences and string result) as text set z to y div 100 set k to (z * 100) + 99 set z to format (z * 100) into "00000" set k to format k into "00000" return z & "-" & k & "_Vendor_Code" as text Luca On Oct 16, 2006, at 1:53 PM, Jan Bultereys wrote: Hi, I am looking for a script which moves file to the right folder based on the name of the files. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden This email sent to email@hidden
| References: | |
| >Move files to the right folder. (From: Jan Bultereys <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.