And further again... I used the AppleScript Studio in XCode and it
compiled fine there. So I dragged this file: ~/mountRemoteVol/build/
Debug/mountRemoteVol
into the RB Project window. Now when I run the project it gives this
error:
"This method requires fewer parameters than were passed."
Noting that someone else had the same problem, I checked and there
are definitely four parameters being passed. I'll carry on checking
but any insights from anyone else would be welcome.
BTW, I would also like to unmount some or all of my drives - how
would I do that?
Ian.
--
Dr Ian M Piper
[EMAIL PROTECTED]
skype: ianmpiper
--
Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?
On 8 Mar 2006, at 6:43 pm, Ian Piper wrote:
Further to my recent message, I have managed to save the script as
a script bundle and it then drags into the Project window. However
when I run the RB app I get this error:
"This method or property does not exist"
The script bundle appears as "mountRemoteVol.scptd" with a bunch of
alias icons below it. Is this right?
Ian.
--
Dr Ian M Piper
[EMAIL PROTECTED]
skype: ianmpiper
--
Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?
On 8 Mar 2006, at 5:46 pm, Ian Piper wrote:
Could you elaborate on this, do you think? I'm afraid I'm not an
AppleScript aficionado. I entered the code snippet you posted into
the Script Editor. I could save it OK but the compile button in
Script Editor didn't do anything. I tried dragging the (presumably
un-compiled) script into the RB project window but it bounced out
again (it's RB v5.5.2). Do you need any structural code in an
AppleScript in order to be able to compile it?
Ian.
--
Dr Ian M Piper
[EMAIL PROTECTED]
skype: ianmpiper
--
Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?
On 6 Mar 2006, at 5:51 am, R Charles Flickinger wrote:
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
_______________________________________________
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>
_______________________________________________
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>
_______________________________________________
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>
_______________________________________________
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>