This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM. Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Hi,
I want to create a snippet which inserts the current date and Username in string format - how can i do this with the Powershell Studio snippet editor?
PowerShell Studio has some special variables for the date and the registered product user:
%DATE%
%USERNAME%
%YEAR%
%TIME%
If you want to use the computer user's name or some other dynamic information, you are probably better off using the Custom PrimalSense feature instead: