I created a script that runs a Write-Host "Hello World" command. How do I do the following.
1. Add this code to a form?
2. Add this code to a Button on a form?
Thanks
how to add code to form?
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: how to add code to form?
Ok, I figured that out. But now how do I do the following. A user enters text into a field and I need to store that in a variable and then use that variable in another script.
Re: how to add code to form?
Here is a good place to start learning how to use forms.
http://www.sapien.com/blog/2012/06/04/u ... istrators/
http://www.sapien.com/blog/2012/06/04/u ... istrators/