Search found 150 matches

by clum09
Mon Feb 16, 2015 5:35 pm
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 4811

Re: Packaged script with utility file in PrimalScript 2012

The old version of PrimalScript (2009 and 2012 that I own) only extracts the dependency files for VBScript and not for PowerShell. Typically, when I packaged my script in the days of VBscript, I set the %temp% of the current user's profile as the location for the dependency files. The user who runs ...
by clum09
Mon Feb 16, 2015 12:53 pm
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 4811

Re: Packaged script with utility file in PrimalScript 2012

Can I use the MSI deployment method to package the script and run the packaged script as I did in previous version of PrimalScript? I do not deployment any application as such, and really all I do is I write a tool to automate some tasks in my organization, and my script requires the external utilit...
by clum09
Mon Feb 16, 2015 9:48 am
Forum: PrimalScript
Topic: Packaged script with utility file in PrimalScript 2012
Replies: 9
Views: 4811

Packaged script with utility file in PrimalScript 2012

Hello, I need to package a PowerShell script that requires a utility file to run in PrimalScript 2012. I added the utility file in the script packager and in Specific folder I added %temp% variable. In the script, I have the code that points to the %temp% folder to execute this utility file. However...
by clum09
Mon Feb 16, 2015 9:15 am
Forum: PrimalScript
Topic: Packaged script that uses PSSession
Replies: 3
Views: 2814

Packaged script with utility file in PrimalScript 2012

Hello, I need to package a PowerShell script that requires a utility file to run in PrimalScript 2012. I added the utility file in the script packager and in Specific folder I added %temp% variable. In the script, I have the code that points to the %temp% folder to execute this utility file. However...
by clum09
Mon Feb 16, 2015 8:14 am
Forum: PrimalScript
Topic: Packaged script that uses PSSession
Replies: 3
Views: 2814

Packaged script that uses PSSession

Hello, I have a PowerShell script that uses PSSession to start a process on a remote computer. See the code below. $scriptBlock = { Param($filePath) Start-Process -FilePath $filePath } $Session = New-PSSession -ComputerName $RemoteServer -Credential $Credential Invoke-Command -Session $Session -Scri...
by clum09
Mon Feb 09, 2015 11:16 am
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 5527

Re: Form code in PowerShell Studio 2014/2015

David, What you said was to export the .psf file to a .ps1 file first. Then re-open the this new .ps1 file within PowerShell Studio 2015 and answer the question "No" when it prompts me for the source file. If I did that, I lost all my ability to edit the form within PowerShell Studio 2015 ...
by clum09
Fri Feb 06, 2015 8:29 pm
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 5527

Re: Form code in PowerShell Studio 2014/2015

David, I followed your instruction to reveal the form code by checking or unchecking the 'Embed recovery data in exported script' in the Options -> Designer within PowerShell Studio 2014/2015, but I cannot see the form code in either the Script tab or the Designer tab. Where can I see the form code ...
by clum09
Fri Feb 06, 2015 9:00 am
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 5527

Re: Form code in PowerShell Studio 2014/2015

David, Why is form code within PowerShell Studio encrypted to begin with and at the same time why does PowerShell Studio allow the export of the form code? Tell me how I can have two form codes in one single script file within PowerShell Studio 2014/2015 since the the code in PowerShell Studio is co...
by clum09
Fri Feb 06, 2015 6:15 am
Forum: PowerShell Studio
Topic: Form code in PowerShell Studio 2014/2015
Replies: 8
Views: 5527

Form code in PowerShell Studio 2014/2015

Hello, I like to see PowerShell Studio can allow me to see the form code within the Editor. This is because when I write the GUI application, I like to integrate a sub form within the main form so that the sub form is loaded before the main form loads. I use the sub form as a splash screen before th...
by clum09
Fri Feb 06, 2015 5:52 am
Forum: PrimalScript
Topic: New empty document in PrimalScript 2014
Replies: 2
Views: 2492

New empty document in PrimalScript 2014

Hello, I noticed the feature changed in PrimalScript 2014. When I start a new document from the top left corner of PrimalScript 2014 and I write some code on the new document and click on the Run button, I am prompted to save the current document to a script file before I can execute the script even...