just use the applescript editor and save it as an applescript. Then drag and drop it into your Project window of the IDE. Then call it in your rb code like a method.

//example 1

tell application "Finder"
        activate
        mount volume "smb://WORKGROUP;username:[EMAIL PROTECTED]/YELLOW"
        mount Volume "afp://username:[EMAIL PROTECTED]"
end tell

//example 2

tell application "Finder"
        activate
        
        if not (exists the disk "SERVER") then
                mount volume "afp://username:[EMAIL PROTECTED]/SERVER"
        end if
end tell
_______________________________________________
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>

Reply via email to