Search found 5133 matches

by davidc
Mon Mar 19, 2018 9:51 am
Forum: PowerShell GUIs
Topic: if ($using:Selectbox.checked) in PS job not working as expected
Replies: 17
Views: 1023

Re: if ($using:Selectbox.checked) in PS job not working as expected

Are you using the Job Tracker control set? Just update the parameters in the job scriptblock: -JobScript { #-------------------------------------------------- #TODO: Set a script block #Important: Do not access form controls from this script block. Param([bool]$Checked)#Pass any arguments using the ...
by davidc
Mon Mar 19, 2018 8:02 am
Forum: PowerShell GUIs
Topic: if ($using:Selectbox.checked) in PS job not working as expected
Replies: 17
Views: 1023

Re: if ($using:Selectbox.checked) in PS job not working as expected

You are not able to access the controls from the Job because it is in a different runspace / thread. I recommend passing the Checked boolean value to the job as a parameter.
by davidc
Fri Mar 16, 2018 8:13 am
Forum: PowerShell Studio
Topic: MSI builder adding files
Replies: 3
Views: 1080

Re: MSI builder adding files

It is because the files have their Build property set to Content within the project. If you set Build = Exclude, it will not include it in the MSI.
by davidc
Thu Mar 15, 2018 7:41 am
Forum: PowerShell Studio
Topic: Exchange Snapins not loading for PowerShell Studio 2018
Replies: 5
Views: 1670

Re: Exchange Snapins not loading for PowerShell Studio 2018

Thank you for the update. You can rebuild the cache using the Ribbon->Home->Platform->Refresh Cache:
Refresh Cache.png
Refresh Cache.png (33.03 KiB) Viewed 989 times
by davidc
Tue Mar 13, 2018 10:42 am
Forum: PowerShell GUIs
Topic: remember past entries
Replies: 3
Views: 243

Re: remember past entries

You could potentially use the TextBox's AutoCompleteCustomSource for history, but a combobox is a better alternative. https://info.sapien.com/index.php/guis/gui-controls/spotlight-on-the-textbox-control A while ago, I created a sample a saves the combobox's history. I will use it to create a Control...
by davidc
Mon Mar 12, 2018 2:23 pm
Forum: Wish List and Feature Requests
Topic: PowerShell Studio: Small feature request: Automatically highlight selected Text
Replies: 1
Views: 369

Re: PowerShell Studio: Small feature request: Automatically highlight selected Text

PowerShell Studio does offer reference highlighting when you double-click objects, but it doesn't apply to plain text.
by davidc
Mon Mar 12, 2018 9:49 am
Forum: PowerShell Studio
Topic: AutoSave forces a Refresh on current open file
Replies: 5
Views: 1188

Re: AutoSave forces a Refresh on current open file

If you want to keep the files private, you can upload it here:

https://www.sapien.com/support/upload
by davidc
Mon Mar 12, 2018 9:42 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Inconsistent behaviour v2 vs v3 host
Replies: 5
Views: 4538

Re: Inconsistent behaviour v2 vs v3 host

We have been unable to reproduce this so far. We are prompted when if we don't specify a mandatory parameter in the command line. I have a few more questions: 1. Are you using PrimalScript or PowerShell Studio? And what is the exact build? 2. What OS does the V5 machine have installed? 3. What platf...
by davidc
Mon Mar 12, 2018 8:55 am
Forum: PowerShell Studio
Topic: AutoSave forces a Refresh on current open file
Replies: 5
Views: 1188

Re: AutoSave forces a Refresh on current open file

This is strange behavior indeed and we have yet to reproduce it.

Please check the following:

1. Do you have the Options->General->"Update change files automatically" checked?
2. Just in case, check if there duplicate tabs open for the same file.
by davidc
Mon Mar 12, 2018 8:38 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: Inconsistent behaviour v2 vs v3 host
Replies: 5
Views: 4538

Re: Inconsistent behaviour v2 vs v3 host

I'm not sure what you mean by "wont take parameter automatically". Are they getting an error message? The PowerShell V3 engines will not work in V2 only environment. For those users, you will need to create a separate V2 executable. But the V3 engines should work in machines that have V4 and V5 inst...