• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mounting volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
----------------------------------------------------------------------------


  • Prev by Date: Re: Help browser font size, code timing, RegEx
  • Next by Date: Re: Apple System Profiler not closed
  • Previous by thread: Re: Mounting volumes
  • Next by thread: RE: Mounting volumes
  • Index(es):
    • Date
    • Thread