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 : Friday, June 7, 2019 7:33:44 PM(UTC)
Rob

Rank: Administration

Reputation:

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

Thanks: 13 times
Was thanked: 155 time(s) in 134 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
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.