Re: Mounting volumes
Re: Mounting volumes
- Subject: Re: Mounting volumes
- From: Andrew Wylie <email@hidden>
- Date: Sun, 11 Mar 2001 12:46:29 +1300
>
on 3/9/01 11:06 AM, Pitcher, George at email@hidden wrote:
>
>
I have a partition called 'scope 8' which I can unmount using the put away
>
command (in as). However, I'm finding it impossible to remount it.
>
>
I've been trying this:
>
tell application "Finder" --this line seems optional as with end tell
>
mount volume {"scope 8"}
>
end tell
It can be done like this with Akua Sweets:
------------------------------------
try
set theDisks to list disks
if theDisks contains "foo" then
expel volume named "foo"
else
tell application "Drive Setup"
activate
set oldWindowBounds to (reposition window 1)
if (oldWindowBounds is not {5, 45, 320, 273}) then
reposition window 1 to {5, 45, 320, 273}
end if
input state {pointer location:{108, 104}}
input state {button down:true}
puppet menu {"Functions", "Mount Volumes"}
puppet menu {"File", "Quit"}
end tell
end if
on error m number n
end try
------------------------------------
____ Andy
----------------------------------------------------------------------------
If the shoe fits try and find the other
----------------------------------------------------------------------------