Between the first and second lines of your open() handler's code, insert the following:
repeat until not (exists theFile) -- end repeat On Feb 20, 11:19 pm, Unifier <[email protected]> wrote: > (Mac OS 10.4.11, Quicksilver B54) > > Hi all. I'm dissatisfied with Quicksilver's default Eject action > because it lacks any kind of notification as to when a volume has been > successfully ejected. Every now and then, it takes an extra 15 > seconds or so for a volume to no longer be visible in the Finder > sidebar to confirm successful ejection. I would hate to accidentally > remove my USB thumbdrive before this. I am currently trying to > formulate an action via AppleScript to resolve this. Here's one that > I came up with so far: > > on open theFile > tell application "Finder" to eject theFile > tell application "Quicksilver" to show large type "The disk has been > successfully ejected" > end open > > What can I do from here to ensure the large type notification doesn't > appear until the drive has been ejected completely? Thanks in > advanced!
