Determining if an Application is Running From a Local or Network Drive
Mac OS 9 Mac OS X

> 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

Posted 2/18/2002 by Ben Rubenstein to the Use-Revolution List   (See the complete post/thread)