StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Rob  
#1 Posted : Saturday, June 8, 2019 1:33:44 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,359
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 419 time(s) in 356 post(s)
Since I've added synchronizing settings between computers, I realized that it might be necessary to have a script recognize the computer in case it should behave differently.

This will get you the computer name, in case you want to do something different, or maybe not do anything if you're not using the computer which it was intended for:

Code:
sp.ExpandEnvironmentVariables("%COMPUTERNAME%")

That returns the computer name, which you can test against using an if statement, etc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.