Detecting Network Running

Peter Reid preid at reidit.co.uk
Tue Feb 19 16:09:01 EST 2002


>  > I'm trying to figure out a method of checking whether the currently
>>  running standalone app developed in Rev is running from a local or
>>  network drive.  I want to be able to licence my software separately
>  > for local vs network use.
>  > Anyone got any suggestions for both Mac and Windows?
>
>Not both, but one: on the Mac, you can use AppleScript to ask the Finder to
>inspect the "local volume" attribute, eg
>     tell application "Finder"
>         get the local volume of disk "Macintosh HD"
>     end tell
>
>On Windows... no idea.
>
>   Ben Rubinstein               |  Email: benr_mc at cogapp.com

Thanks Ben - one down, only one to go!

Cheers

Peter
-- 
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: preid at reidit.co.uk
Web: http://www.reidit.co.uk



More information about the use-livecode mailing list