Here is a bit of script that I have been playing with to mount my 2 servers. My question is what is “target reference – the container at which this file viewer is targeted” can this be a sub folder of my server? if so how do I need to specify this? Strangely enough when trying to get some properties of a finder window so I could set my positioning of the new windows the position and bounds were both returned with the pairs inverted if you know what I mean why would this be? Here is what I have so far. Thanks
tell application "Finder"
if (not (exists disk "Macraid")) then
try
set TheServer1 to mount volume "afp://192.168.0.248/macraid"
end try
end if
set x to make new Finder window at front with properties ¬
{target:"Macraid", current view:list view, toolbar visible:false}
set properties of the result to {position:{43, 950}, bounds:{43, 950, 600, 1150}}
if (not (exists disk "transfer")) then
try
set TheServer2 to mount volume "afp://192.168.0.248/transfer"
end try
end if
set Y to make new Finder window at front with properties ¬
{target:"transfer", current view:list view, toolbar visible:false}
set properties of the result to {position:{43, 1151}, bounds:{43, 1151, 600, 1351}}
end tell