checking removable drives

Mark Wieder mwieder at ahsoftware.net
Wed Nov 2 17:04:03 EST 2005


Richard-

Tuesday, November 1, 2005, 1:22:08 PM, you wrote:

> I'd like to be able to determine if an app is running from a removable
> drive.

> I've found that on OS X I can call system_profiler from shell, but it
> takes between 2 and 4 seconds on my 1GHz PB.

> And I've found no solution at all for Windows.

There's a GetDriveType external function for Windows in the sdk. I
thought there was an OSX Gestalt function for this, but I can't find
it.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list