Search found 52 matches
- Sat Feb 23, 2013 3:02 am
- Forum: Windows PowerShell
- Topic: Trigger button by code?
- Replies: 2
- Views: 1174
Is it possible to trigger a button by code? I have a button that executes a collection of items and I have a button already setup to do a bunch of it and instead of redoing all that code I would like to just issue something to trigger the button as if it was clicked. is this possible? I have a butto...
Ok so I was working on a form today blocking out code to try and locate a problem section and I removed the from one block and added just <# to another section and never changed screens, in fact I just finished hitting the # when it prompted me for the insert/remove of everything below. Really think...
Thats what it was! the quotes! Thank you David. Is the $($something.Text) thing you gave the compact version of the $test=($something.Text | Out-String) ? Just trying to learn whats going on. Thanks again!
Im sure it is something I am doing but recently I have been having problems with textboxes. I reference $textbox1.Text as a value and instead of getting the value (In this case "Test User") I am getting: System.Windows.Forms.TextBox, Text: Test User.Text Now if I do $test=($textbox1.Text | Out-Strin...
Is it possible to add an ignore option incase that happens? Currently you have to remove or add. Its not a big deal if its not possible since now I know how I caused the issue I can be on the look out for it. But in case of that 'accident' it would be cool to have an ignore.
Yeah I can reproduce it but it seems like I have to switch from Script to Designer and back to Script before closing the #> .. I dont recall if I did that the first time or not but thats the only way I have been able to reproduce it so far.