Thanks, Mark. I will try it. But, being an AppleScript dummy, I can't 
figure out why the second script will not compile. The syntax checker 
selects "string" in the line 12, and says a comma was expected instead 
of a class name. Any idea why?

On Monday, January 20, 2003, at 05:13 PM, Mark Hartman 
<[EMAIL PROTECTED]> wrote:

> property dummyEMail : "[EMAIL PROTECTED]"
> property submittedFolder : ""
> on adding folder items to this_folder after receiving added_items
> �open added_items
> end adding folder items to
>
> on open added_items
> ��set submittedFolder to (path to system folder as string) & "SIMS 
> Folder:Submitted:"
> �������repeat with theItem in added_items
> ��������������if the last character of (theItem as text) is not ":" 
> then
> �������������������try
> �������������������������set theList to (extract string list from 
> (theItem as text) id 8192)
> ������������������on error errtxt number errnum
> �����������������������tell application "Finder"
> ����������������������������������select theItem
> �����������������������������move selection to folder submittedFolder
> ����������������������������end tell
> ���������������������end try
> ��������������try
> �������������������������if the (count of items in theList) is 1 then
> �������������������������������set theList to theList & {dummyEMail}
> ������������������������������add string list theList to (theItem as 
> text) id 8192 with replacing allowed
> �������������������������end if
> ����������������������tell application "Finder"
> ����������������������������������select theItem
> �����������������������������move selection to folder submittedFolder
> ����������������������������end tell
> ���������������������on error errtxt number errnum
> �����������������������tell application "Finder"
> �����������������������������������delete theItem
> ����������������������������end tell
> ���������������������end try
> �������end if
> �end repeat
> end open
>
Charles L. Martin
123 N. McDonough St.
Decatur, GA 30030
Work 404-373-3116
FAX 801-881-1246
mailto:[EMAIL PROTECTED]



Chuck's out scan done



#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[EMAIL PROTECTED]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to