• 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: user/password in the script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: user/password in the script


  • Subject: RE: user/password in the script
  • From: "Jan-Bultereys" <email@hidden>
  • Date: Mon, 6 Dec 2004 21:42:20 +0100
  • Thread-topic: user/password in the script

yes it does, jeff .... thanks I was sleeping I guess :)

The reason why I thought this didn't work was....when I
compiled the script it was asking to add user and password.... but
when I ran the script....it ran without asking for user and password....

anyway thanks very much for your input,

best regards,jan

> ----------
> From: 	Jeff Powell
> Sent: 	Monday, December 6, 2004 20:47 PM
> To: 	Jan-Bultereys
> Subject: 	Re: user/password in the script
>
>
>
> Jan,
>
> Yes - I understood that.  I lifted the sample code right out of my own working examples but the premise should work for your needs with eppc as well.
>
> See this:  http://bbs.applescript.net/viewtopic.php?t=8633
>
> Tell application "Finder" of machine "eppc://user:email@hidden"
> .....
>
> The syntax of <connection type>://<user name>:<password>@<address>  seems to work regardless of what the transport protocol is, AFP, SMB, EPPC, etc.
>
> Let me know if it works for you.
>
> Good luck
> Jeff
>
>
> On Dec 6, 2004, at 12:39 PM, Jan-Bultereys wrote:
>
>
> 	thanks jeff,
>
> 	I am using this syntax for mounting an SMB connection as well,
> 	but this is not my question...
>
> 	what I need to know is the syntax for an eppc connection with user and password....
>
> 	anyway thanks for your comments,
>
> 	best regards,jan
>
>
> 		----------
> 		From: 	Jeff Powell
> 		Sent: 	Monday, December 6, 2004 18:53 PM
> 		To: 	Jan-Bultereys
> 		Subject: 	Re: user/password in the script
>
> 		Jan,
>
> 		I do something similar in a script that I used every day -- your syntax might be different but hopefully this will help.  I use it to mount a remote share on a windows server.
>
> 			-- mount HOMEDIR
> 			if not (exists "HOMEDIR") then
> 				mount volume "smb://userNameHere:email@hiddenrName(or ip address).com/sharename"
> 			end if
>
> 		You can also use variables to hold the username & password info so it can be a more portable script.
>
> 		Good luck!
> 		Jeff
>
> 		On Dec 6, 2004, at 9:38 AM, Jan-Bultereys wrote:
>
>
> 			Does anyone know how to launch an applescript on a remote machine where user/password
> 			is in the script....
>
> 			tell application "Finder" of machine "eppc://mac.local" to open ":path_of_remote_machine:test"
>
> 			meaning can I add username and password somewhere in this line?
>
> 			thanks for any input.
> 			jan
>
>
> 			 _______________________________________________
> 			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
>
>
>
>
>   __        __  __     ___                  _ _
>   \ \  ___ / _|/ _|   / _ \_____      _____| | |
>    \ \/ _ \ |_| |_   / /_)/ _ \ \ /\ / / _ \ | |
> /\_/ /  __/  _|  _| / ___/ (_) \ V  V /  __/ | |
> \___/ \___|_| |_|   \/    \___/ \_/\_/ \___|_|_|
>
>
>
 _______________________________________________
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

  • Prev by Date: RE: user/password in the script
  • Next by Date: Re: user/password in the script
  • Previous by thread: Re: user/password in the script
  • Next by thread: Reading a file through it's alias
  • Index(es):
    • Date
    • Thread