Search found 148 matches

by clum09
Thu Apr 25, 2013 4:07 pm
Forum: PowerShell Studio
Topic: Getting Enter key to execute a button from a textbox
Replies: 12
Views: 12259

Re: Getting Enter key to execute a button from a textbox

Davidc, I got it working now. I had to create the KeyDown event for the textbox1 control. I called the event name as enterKey. For the OK button, I had to create an event (I call it OKBtn). The enterKey event calls the OKBtn event (not execute the button) when the Enter key is press while the cursor...
by clum09
Thu Apr 25, 2013 2:43 pm
Forum: PowerShell Studio
Topic: Getting Enter key to execute a button from a textbox
Replies: 12
Views: 12259

Re: Getting Enter key to execute a button from a textbox

Hi all, I tried to use the code here on my PowerShell Studio 2012 script, but it does not do anything for some reason. Below is my code: $textbox1_KeyDown=[System.Windows.Forms.KeyEventHandler]{ if($_.KeyCode -eq 'Enter') { &$buttonOK_Click } } Is there any property I need to set for the textbox1 co...
by clum09
Mon Apr 22, 2013 2:17 pm
Forum: PrimalScript
Topic: Script Encoder for PrimalScript 2009
Replies: 6
Views: 3314

Re: Script Encoder for PrimalScript 2009

Alexander, Thank you for the information about the SAPIEN Script Host option. I should have used this option a long time ago - I just did not know what this option did. When I packaged the script with the SAPIEN Script Host option, and after I executed the packaged script, I don't see the Vbscript f...
by clum09
Fri Apr 19, 2013 3:05 pm
Forum: PrimalScript
Topic: Script Encoder for PrimalScript 2009
Replies: 6
Views: 3314

Re: Script Encoder for PrimalScript 2009

Hi Davidc, The PrimalScript version is 5.0.652. On the Script Packager GUI: Select "Security" from the left pane and select the check box "Encode scripts with the Microsoft Script Encoder" then click on Build. I set the Script Packager to extract the script file to the temp folder during execution. ...
by clum09
Fri Apr 19, 2013 9:02 am
Forum: PrimalScript
Topic: Script Encoder for PrimalScript 2009
Replies: 6
Views: 3314

Script Encoder for PrimalScript 2009

Hello, I tried to use the Script Encoder option in PrimalScript 2009 to encode the VBScript. I have Microsoft Script encoder version 1.0 installed on the machine that I used to package the script. However, when I executed the packaged script, the vbscript was not encoded. The Windows platform that P...
by clum09
Fri Apr 19, 2013 8:47 am
Forum: PrimalScript
Topic: System cannot execute specified program
Replies: 3
Views: 2090

Re: System cannot execute specified program

David, The problem occurred because when I packaged the script, I had the file version and product version not matching each other. For example, the file version was 1.2.0.1 and the product version was 1.2 only. For some reason, this caused the "System cannot execute specified program" error in all ...
by clum09
Wed Mar 13, 2013 12:37 pm
Forum: PrimalScript
Topic: System cannot execute specified program
Replies: 3
Views: 2090

System cannot execute specified program

Hello,

I have PrimalScript 2009. When I packaged the Vbscript into a self-executable file, the packaged script execution failed with the error "The System cannot execute the specified program."

What can I do to fix this problem?

Thank you in advance.
by clum09
Sun Feb 03, 2013 8:46 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 3455

Current folder for HTA packaged script

Hello, I tried to write an email to support@saoien.com about this issue, but I got a not deliverable response (NDR) back. So I like to go ahead and post my request here. I like to see the new release of PrimalScript to be able to get the packaged script's current folder when the VBscript file is pac...
by clum09
Wed Oct 10, 2012 9:58 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 3455

Current folder for HTA packaged script

I know that when I packaged the HTA script in Admin Script Editor, Admin Script Editor has a pathvariable generated during the execution of the packaged script. It was through this path variable that I could use to output the log file to the packaged HTA script's current folder. I wish PrimalScript ...
by clum09
Wed Oct 10, 2012 9:58 am
Forum: PrimalScript
Topic: Current folder for HTA packaged script
Replies: 8
Views: 3455

Current folder for HTA packaged script

I know that when I packaged the HTA script in Admin Script Editor, Admin Script Editor has a pathvariable generated during the execution of the packaged script. It was through this path variable that I could use to output the log file to the packaged HTA script's current folder. I wish PrimalScript ...