Hi:
I have a problem trying to mount a shared Volume on a remote OSX
server via RB code.
ShowURL "afp://Peter Barck:mypwd at myIPaddress/myVolume"
Use AppleScript
on run {v, w, x, y}
mount volume v on server w as user name x with password y
end run
Drag and drop the compiled script to your project window. The name
of the script file is the function you call from RB. If saved as
"mountRemoteVol":
mountRemoteVol ("myName","serverName",",userName","passWord")
will magiaclly mount the volume if it connected to the LAN. I
recenly did this to simplify my FileSync utility I use with the
notebook and desktop computers.
R Charles Flickinger
Corona Developer: http://www.designersdomain.com/corona
Daktari Developer: http://www.designersdomain.com/daktari
Thanks Charles,
I often thought of using Applescript with RB, but never knew how.
Looks like rather simple!!
I tried your example above. Saved the script as a compiled
application. But the RB compiler complains: This method requires
fewer parameters ... I seems that it does not recognize the arguments
in the script. Why?
--
Cheers,
Peter
TI PowerBook G4, 1GHz, 1GB RAM, OSX 10.3.9, RB2006r1 Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>