• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder...


  • Subject: Re: Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder...
  • From: Jay Louvion <email@hidden>
  • Date: Tue, 31 Jan 2006 23:31:59 +0100

Title: Re: Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder...


On 31/1/06 23:09, "tomáz rezistänz" <email@hidden> wrote:

I tried recording this using Applescript but I think it's too complex for recording..

Nope, it’s just that most of the recording hasn’t worked since OS9


And here’s for you to dabble with:

on adding folder items to this_folder after receiving these_items
   repeat with this_item in these_items
       tell application "Finder"
            try
               tell application "Finder" to set theFolder to ((desktop as text) & "Test" as string) as alias —edit this bit according to the folder where you want the alias (this one points to an existing folder “test” on your desktop)
                make alias file to this_item at folder theFolder
           on error mistake
                
activate
               display dialog mistake
           end try
       end tell
   end repeat
   tell application "Finder" to open theFolder
end adding folder items to

HTH.

J.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com


P Please consider the environment before printing this email.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder... (From: tomáz rezistänz <email@hidden>)

  • Prev by Date: Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder...
  • Next by Date: Re: Q: GraphicsConverter Paste At (format for position?)
  • Previous by thread: Script needed: When a file or folder is added to a drop box, an alias to the file is created in another folder...
  • Index(es):
    • Date
    • Thread