• 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: Christopher Nebel <email@hidden>
  • Date: Mon, 6 Dec 2004 13:15:55 -0800

Same syntax -- it's part of the URL specification, and should work for any type of authenticated URL.


--Chris Nebel AppleScript Engineering

On Dec 6, 2004, at 11:39 AM, 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:
40jlpowell.com


	This email sent to email@hidden


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


This email sent to email@hidden
_______________________________________________
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: 
 >RE: user/password in the script (From: "Jan-Bultereys" <email@hidden>)

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