Joe -

Would environment variables work?

- on Mac OS X there's $USER

- on Win XP there's $USERNAME


So you could do this:


function currentUser
  switch the platform
    case "MacOS"
      return $USER
      break
    case "Win32"
      return $USERNAME
      break
  end switch
end currentUser


Or there might be a different variable you want to use. Check out 'globalNames' in the docs.

HTH -
Phil Davis



Joe Lewis Wilkins wrote:
Hi All,

Anyway to determine the computer user's name with RR; both Mac and Windows? I want to personalize a dialog query.

TIA,

Joe Wilkins
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to