Search found 500 matches

by brittneyr
Mon Aug 10, 2020 8:46 am
Forum: PowerShell Studio
Topic: [PSS 2020][Bug] After open curly braces, add extra line
Replies: 1
Views: 103

Re: [PSS 2020][Bug] After open curly braces, add extra line

I have not been able to reproduce this behavior of an extra line being added after the steps you have provided. I did notice that a end line token was sometimes added (shown with the option 'Show white spaces' enabled). When you hit enter, the line was formatted and the cursor moves to the next line...
by brittneyr
Mon Aug 10, 2020 7:23 am
Forum: PowerShell Studio
Topic: Start-Job Button: UpdateScript - receive-job problem
Replies: 1
Views: 76

Re: Start-Job Button: UpdateScript - receive-job problem

I have not been able to reproduce this behavior. From the message that pops up, it sounds like there is an additional module that needs to be imported for Windows 7. The parameter -keep is meant to leave data that has been added to streams as the job runs which otherwise would have been erased.
by brittneyr
Thu Aug 06, 2020 8:07 am
Forum: PowerShell GUIs
Topic: datagridview not populating
Replies: 16
Views: 307

Re: datagridview not populating

You may find the following article helpful:
https://www.sapien.com/blog/2018/08/07/ ... functions/
by brittneyr
Wed Aug 05, 2020 12:25 pm
Forum: PowerShell Studio
Topic: IDE and classes
Replies: 4
Views: 135

Re: IDE and classes

That needs to be set true for all class ps1 files. I have not been able to replicate this issue. What type of project are you using? How are you instantiating your class and calling your methods? Without seeing code, there is a limit on to how much I can assist you. Can you upload your project here:...
by brittneyr
Wed Aug 05, 2020 11:13 am
Forum: PowerShell Studio
Topic: PrimalSense not showing methods
Replies: 4
Views: 127

Re: PrimalSense not showing methods

I'll investigate this behavior more and let you know when I have more information.
by brittneyr
Wed Aug 05, 2020 11:03 am
Forum: PowerShell Studio
Topic: IDE and classes
Replies: 4
Views: 135

Re: IDE and classes

With your project open, set your class ps1 files Shared property to true from the Properties panel: SPS_PropertiesSharedTrue.png Your classes should then appear in the Functions panel. When a project is built, the script files and psf files are exported into one script file. This is why your project...
by brittneyr
Wed Aug 05, 2020 7:36 am
Forum: PowerShell Studio
Topic: PrimalSense not showing methods
Replies: 4
Views: 127

Re: PrimalSense not showing methods

Classes are not loaded by default when you use the command Import-Module. Import-Module and the #requires statement only import the module functions, aliases, and variables, as defined by the module. Classes are not imported. The using module statement imports the classes defined in the module. If t...
by brittneyr
Wed Aug 05, 2020 7:27 am
Forum: PowerShell Studio
Topic: Code completion doesn't work as expected
Replies: 1
Views: 139

Re: Code completion doesn't work as expected

This is because it does not know what the type of $node is, therefore the editor does not know what information to provide via intellisense. As you casted the the result of Get-Content to xml, it was then recognized as xml and intellisense information was able to be provided. PowerShell Studio doesn...
by brittneyr
Thu Jul 30, 2020 7:15 am
Forum: PowerShell Studio
Topic: Hierarchy of GUI elements
Replies: 3
Views: 221

Re: Hierarchy of GUI elements

There is no 'hierarchy of elements' in PowerShell Studio. You are welcome to make a feature request and we will see what we can do:
https://www.sapien.com/requests
by brittneyr
Wed Jul 29, 2020 8:45 am
Forum: PowerShell Studio
Topic: Hierarchy of GUI elements
Replies: 3
Views: 221

Re: Hierarchy of GUI elements

Psf file is not meant to manually be edited. If you do not wish to use the designer, you can export you script and manually update the form code there: SPS_ExportFile.png If you wish to go back to using the designer, make sure your export has recovery information so it can recreate the psf file. All...