• 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: file copy over newtork
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file copy over newtork


  • Subject: Re: file copy over newtork
  • From: Yvan KOENIG <email@hidden>
  • Date: Mon, 24 Jul 2006 19:11:07 +0200


Le 24 juil. 2006 à 19:03, Bob Cuilla a écrit :

I have a powerbook that has a mounted server, called theServer. I want to copy of a file from the desktop of the mounted server to the laptop desktop.

I cant seem to get the correct syntax for this script.


this is my script


tell app "finder"

set theSource to "theServer:users:me:desktop:filename"

duplicate theSource to desktop

end tell


I am running this from the laptop. what am i missing?

Hello
in your script, theSource is a string. The Finder can't duplicate a string.
Happily, it is able to duplicate a file or an alias so edit:


duplicate file theSource to desktop

or

duplicate theSource as alias to  desktop

Yvan KOENIG _______________________________________________
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: 
 >file copy over newtork (From: Bob Cuilla <email@hidden>)

  • Prev by Date: file copy over newtork
  • Next by Date: Re: file copy over newtork
  • Previous by thread: file copy over newtork
  • Next by thread: Re: file copy over newtork
  • Index(es):
    • Date
    • Thread