Search found 5913 matches

by davidc
Tue Jun 11, 2019 7:54 am
Forum: PowerShell Studio
Topic: Extra parenthesis auto-inserted on Round function
Replies: 5
Views: 2294

Re: Extra parenthesis auto-inserted on Round function

Are you typing ( when the the PrimalSense window is open? If so, this issue should be resolved in the next service release.
by davidc
Mon Jun 10, 2019 12:50 pm
Forum: PrimalScript
Topic: Python template for PrimalScript
Replies: 1
Views: 208

Re: Python template for PrimalScript

Yes, there is a python template file. If you access Ribbon->File->New menu, you can select a python file:
PrimalScript Python Template.png
PrimalScript Python Template.png (62.21 KiB) Viewed 201 times
by davidc
Mon Jun 10, 2019 8:15 am
Forum: PowerShell Studio
Topic: Control Set Chart errors
Replies: 5
Views: 1976

Re: Control Set Chart errors

Hello Wayne,

Thank you for reporting the issue. Which chart control set is producing the error?
by davidc
Fri Jun 07, 2019 4:06 pm
Forum: PowerShell Studio
Topic: How to open PDF or HTML file within project folder?
Replies: 3
Views: 1255

Re: How to open PDF or HTML file within project folder?

Invoke-Item is probably the prescribed way of doing it in PowerShell. For script related questions, I recommend posting our Script Answers forums:

viewforum.php?f=6
by davidc
Fri Jun 07, 2019 2:50 pm
Forum: PowerShell Studio
Topic: How to open PDF or HTML file within project folder?
Replies: 3
Views: 1255

Re: How to open PDF or HTML file within project folder?

Are you trying to open a document with its default association from your GUI? You can use Start-Process cmdlet to trigger the file to open: Start-Process -FilePath "Path To pdf file" You can use the Click event for the button to trigger the cmdlet or the LinkLabel's LinkClicked event. I also recomme...
by davidc
Fri Jun 07, 2019 12:58 pm
Forum: PowerShell Studio
Topic: What languages or code can be used in Powershell Studio Forms?
Replies: 3
Views: 1216

Re: What languages or code can be used in Powershell Studio Forms?

Yes, those lines are .NET code to ensure you can use the UI libraries. By default, these are not loaded into PowerShell.
by davidc
Thu Jun 06, 2019 10:32 am
Forum: PowerShell GUIs
Topic: in the designer is different from the layout at debug time.
Replies: 6
Views: 345

Re: in the designer is different from the layout at debug time.

Make sure you anchor your controls or use a TableLayoutPanel to keep the controls from overlapping.

I recommend the following article as well:

https://info.sapien.com/index.php/guis/ ... i-displays
by davidc
Thu Jun 06, 2019 10:29 am
Forum: PowerShell GUIs
Topic: Web browser control prompts script error, does not display content
Replies: 5
Views: 450

Re: Web browser control prompts script error, does not display content

FYI, we released a code snippet (shortcut: setWebBrowserEmulation) that sets the emulation mode of the WebBrowser control (host dependent / running executable). This can help with compatibility in some cases.

https://www.sapien.com/blog/2019/03/06/ ... -v5-6-160/
by davidc
Thu Jun 06, 2019 10:24 am
Forum: PowerShell Studio
Topic: What languages or code can be used in Powershell Studio Forms?
Replies: 3
Views: 1216

Re: What languages or code can be used in Powershell Studio Forms?

PowerShell Studio uses PowerShell exclusively when working with the Forms / GUI designer. Since PowerShell is built upon the .NET framework, you can easily tap into the .NET assemblies to expand PowerShell's functionality. In regards to VBScript and C#: PowerShell Studio does provide syntax coloring...
by davidc
Mon Jun 03, 2019 7:59 am
Forum: PowerShell Studio
Topic: Please offer an non-MRU-Tab Switching solution!
Replies: 3
Views: 1359

Re: Please offer an non-MRU-Tab Switching solution!

Hello Jahoschua,

You can disable the document selector in Option->General:
Show the doucment selector when navigating tabs.png
Show the doucment selector when navigating tabs.png (43.15 KiB) Viewed 1274 times

Then you should be able press [Tab + Ctrl] and [Tab + Shift + Ctrl] to navigate the tabs without the dialog.