Search found 5126 matches

by davidc
Thu Apr 05, 2018 7:55 am
Forum: PowerShell Studio
Topic: Screen text size
Replies: 6
Views: 1206

Re: Screen text size

You will still encounter issues when running the script in high DPI settings if you don't apply the solutions I mentioned above. When you work in the designer, the current DPI settings will affect the generated code. The generated code stores the original designer DPI information and when the script...
by davidc
Thu Apr 05, 2018 7:47 am
Forum: PowerShell Studio
Topic: Color Coding fails on nested block comments
Replies: 1
Views: 658

Re: Color Coding fails on nested block comments

You cannot nest multi-line comments in PowerShell. You can however use single line comments within a multi-line comment.
by davidc
Wed Apr 04, 2018 11:38 am
Forum: PowerShell Studio
Topic: Screen text size
Replies: 6
Views: 1206

Re: Screen text size

It looks like the problem are the labels themselves. If you have a label's AutoSize disabled and don't explicitly set a font, WinForms will incorrectly scale the control in a high DPI environment (Refer to the article I linked to in my previous post). You can resolve the issue by setting AutoSize to...
by davidc
Wed Apr 04, 2018 8:51 am
Forum: PowerShell Studio
Topic: Screen text size
Replies: 6
Views: 1206

Re: Screen text size

The .NET designer renders and sizes controls depending on the current DPI. https://info.sapien.com/index.php/guis/gui-design-best-practice/designing-guis-for-high-dpi-displays If you can, please zip and load up the original psf file, so that we can attempt to recreate the issue: https://www.sapien.c...
by davidc
Mon Apr 02, 2018 8:07 am
Forum: PowerShell Studio
Topic: x.TempPoint.ps1 - Please delete your temporary files on the File Closed Event
Replies: 2
Views: 832

Re: x.TempPoint.ps1 - Please delete your temporary files on the File Closed Event

If you don't want to use the Restore Point feature: https://www.sapien.com/blog/2014/03/17/primalscript-2014-introducing-restore-points/ You can disable it by unchecking the following option: Options->Backup->Create a restore point as soon as a file is modified Options - Restore Points.png Note: The...
by davidc
Mon Apr 02, 2018 7:59 am
Forum: PowerShell Studio
Topic: Moving between snippet variable placeholders
Replies: 1
Views: 826

Re: Moving between snippet variable placeholders

Simply pressing TAB will move to the next field, but in some instances a single variable has multiple field locations within the snippet. In this case, it will not jump to the next instance of the variable.
by davidc
Thu Mar 29, 2018 11:20 am
Forum: Trial Software / Pre-sales Technical Questions
Topic: VersionRecall & PowerShell Studio integration - file locks
Replies: 1
Views: 2629

Re: VersionRecall & PowerShell Studio integration - file locks

We understand your need for this feature. The lock feature isn't currently accessible directly PowerShell Studio and we are working on a solution to better integrate with multiple source control solutions including VersionRecall.
by davidc
Wed Mar 28, 2018 2:42 pm
Forum: PowerShell Studio
Topic: Drag, drop, crash....
Replies: 4
Views: 1298

Re: Drag, drop, crash....

Please try updating to the latest build and let us know if the issue persists.

In the meantime, we try to recreate this issue but before we do we have questions:

1. Does this happen on any Form or a specific file?
2. Do you recall what control was dragged?
by davidc
Wed Mar 28, 2018 9:58 am
Forum: PowerShell GUIs
Topic: Script Packager PowerShell v5.1 Host
Replies: 2
Views: 271

Re: Script Packager PowerShell v5.1 Host

[TOPIC MOVED TO POWERSHELL GUIS FORUM FORUM]

It probably has to do with the current directory of the console / packager executable and with not with the fact that it is a GUI or a packaged executable.

Try using the FileSystem specifier:

"FileSystem::\\FilerServer\Folder\SubFolder\"
by davidc
Tue Mar 27, 2018 8:47 am
Forum: PowerShell Studio
Topic: Possible bug in psd1 generation
Replies: 3
Views: 1390

Re: Possible bug in psd1 generation

This issue will be resolved in the next service release.