Hi, 
    This is in response to applescript to mount a file
remotely.

>     008 - Gregory Lypny <Feedback@v - Re: Writing a
> file remotely
>     009 - "Sjoerd Op 't Land" <sjoe - Re: do ... as
> applescript -> "alternative language not found"
>     010 - andu <[EMAIL PROTECTED]>    - Re: Writing a
> file remotely
> 

I have used the following form in SuperCard.

In a hidden card field called "TheHiddenScript" the
following form:
mount volume "afp://<the
volume>:<thePassword>@<theAddress>/webserver/"
which looks like:

"afp://volxyz:[EMAIL PROTECTED]/webserver/"

Then when the program starts up and the first window
opens, the following script runs on open window:


  put "" into cd fld "results"
  put Script(do, Applescript, cd fld
"TheHiddenScript") into cd fld "results"

when this operates the word webserver shows up in the
cd fld results on the card and the webserver icon
appears on the desktop.

I use the following to disconnect from the webserver
(again in SuperCard)

on closeProject
  --  disconnect webserver
  put empty into tAppleScript
  put "tell application " & quote & "Finder" & quote &
return after tAppleScript
  put " put away disk " & quote & "Webserver" & quote
& return after tAppleScript
  put "end tell" & return after tAppleScript
  get Script(do, AppleScript, tAppleScript)
end closeProject 

Hope this is of use to someone.

BTW.  I would like to know more about connecting the
Windows user.  Is anyone using sockets ??
does anyone have an example for connecting the windows
user.

I would like to connect the Mac user to a server
running AppleShare IP 6  and be able to connect the
window user also.  ( Is this possible ??)

If not what is the best alternate route to pursue ?
(sockets or ?? )

Dan

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to