Boy! It took you guys long enough! (Hugh smile) Thanks a lot, I suspected some such, but my searches for username turned up nothing in the Dictionary.

Great List.

Joe Wilkins
On Apr 7, 2007, at 12:39 AM, Phil Davis wrote:

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

_______________________________________________
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