Obtaining the users computer username.

Get help using Construct 2

Post » Wed Aug 10, 2016 4:05 am

I'm using the "Speak Text" command, and I want the voice to say the username of the user. What method if any, would be able to do that?
Oh, okay.
B
23
S
5
Posts: 39
Reputation: 1,251

Post » Wed Aug 10, 2016 7:23 am

If you're using nwjs you should be able to get the userfolder path and add it to a text based global variable... then use tokenat to find the username (just use forward slashes as your token delimiter).

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, Lancifer and 52 guests