RE: Mounting volumes
RE: Mounting volumes
- Subject: RE: Mounting volumes
- From: "Pitcher, George" <email@hidden>
- Date: Wed, 14 Mar 2001 07:53:03 -0000
Andy,
I did try your solution but when I ran the syntax check SE asked me to find
"Drive Setup" and that ain't on my Mac. I'm using OS8.6.
Regards
George
>
-----Original Message-----
>
From: Andrew Wylie [mailto:email@hidden]
>
Sent: 10 March 2001 23:46
>
To: email@hidden
>
Subject: Re: Mounting volumes
>
>
>
> 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
>
--------------------------------------------------------------
>
--------------
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users