Search found 1657 matches

by brittneyr
Wed Feb 28, 2024 10:17 am
Forum: PowerShell GUIs
Topic: Close form on Escape Key
Replies: 3
Views: 1945

Re: Close form on Escape Key

Did you add the event handler to your form:
SPS_EventHandlerKeyDown.png
SPS_EventHandlerKeyDown.png (22.49 KiB) Viewed 1926 times
You may find the following helpful:
https://www.sapien.com/blog/2021/11/23/ ... ll-studio/
by brittneyr
Wed Feb 28, 2024 8:30 am
Forum: PowerShell GUIs
Topic: Close form on Escape Key
Replies: 3
Views: 1945

Re: Close form on Escape Key

$form1_KeyDown=[System.Windows.Forms.KeyEventHandler]{ #Event Argument: $_ = [System.Windows.Forms.KeyEventArgs] #TODO: Place custom script here If ($_.KeyCode -eq [System.Windows.Forms.Keys]::Escape) { $form1.Close() } } This is checking for the escape key using Keys enum class. You can find more ...
by brittneyr
Fri Feb 23, 2024 8:55 am
Forum: Customer Service
Topic: Unable to load projects "
Replies: 14
Views: 3444

Re: Unable to load projects "

The file you sent was a project state file (psprojs), not the actual project file (psproj). The file you should be opening for your projects is the psproj file to open your projects. Also, you did not send all files associated with one of your projects. Please upload ALL files associated with one of...
by brittneyr
Fri Feb 23, 2024 8:34 am
Forum: Customer Service
Topic: Unable to load projects "
Replies: 14
Views: 3444

Re: Unable to load projects "

Uninstalling and deactivating will not fix your project files. You can open the license dialog from the top-right corner of the application.

Please upload one of your projects along with all its files to help us determine the issue:
https://www.sapien.com/support/upload
by brittneyr
Fri Feb 23, 2024 8:15 am
Forum: Customer Service
Topic: Unable to load projects "
Replies: 14
Views: 3444

Re: Unable to load projects "

Please upload one of your projects along with all its files to help us determine the issue:
https://www.sapien.com/support/upload
by brittneyr
Fri Feb 23, 2024 7:56 am
Forum: Customer Service
Topic: Unable to load projects "
Replies: 14
Views: 3444

Re: Unable to load projects "

Based on the image, your project cannot find/load the files from those paths. Are those files in those locations? If not, you can try manually edit the psproj file in a different editor or remove all the files from the project and re-add them.
by brittneyr
Fri Feb 23, 2024 7:36 am
Forum: Customer Service
Topic: Unable to load projects "
Replies: 14
Views: 3444

Re: Unable to load projects "

Please verify that the application is not still running a script. This can be done by hitting the Stop button on the ribbon.

If this is not the case, please provide a screenshot of the full application.
by brittneyr
Fri Feb 23, 2024 7:21 am
Forum: Customer Service
Topic: Unable to load projects "
Replies: 14
Views: 3444

Re: Unable to load projects "

Please check if the files you are attempting to open/edit are blocked. This can be done by right-clicking the file in File Explorer and selecting Properties.
by brittneyr
Thu Feb 22, 2024 12:55 pm
Forum: PowerShell Studio
Topic: Possible to recover files and project from compiled ps1?
Replies: 1
Views: 657

Re: Possible to recover files and project from compiled ps1?

Projects that have been exported to a script can only be recovered if recovery data is included in the exported file. It would look similar to the following: SPS_ProjectRecoveryData.png This is a setting that can be set in options (Designer->Export). You may find the following article helpful: https...
by brittneyr
Tue Feb 20, 2024 7:43 am
Forum: PowerShell GUIs
Topic: Relative Element Positioning & Properties Palette
Replies: 3
Views: 1280

Re: Relative Element Positioning & Properties Palette

You can put the logic in an event. For the initial load of the application, you can put the logic in the Form load event handler. If the dialog is able to be resized, then you should also add the logic to a resize event. You may find the following helpful: https://info.sapien.com/index.php/guis/gui-...