Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 512

PowerShell Studio • Error executing Script from exe with obfuscate enabled

$
0
0
Product: PowerShell Studio 2024 (64 Bit)
Build: v5.8.246
OS: Windows 10.0.19045
PS Version(s): 5.1.19041.1, 7.3.4, 7.3.4

I have a project, that I have been working on. I have been compiling on a regular basis for the last couple of days

If I compile the exe with this code included, it works

Code:

$checkboxAlwaysOnTop_CheckedChanged={
}#end checkboxAlwaysOnTop_CheckedChanged
If I compile the exe with this code included, it does not work.

Code:

$checkboxAlwaysOnTop_CheckedChanged={
If ($checkboxAlwaysOnTop.Checked -eq $true) {
$HotKeys.TopMost = $true
} Else {$HotKeys.TopMost = $false}

}#end checkboxAlwaysOnTop_CheckedChanged
Untitled.png
The export.ps1 runs regardless and has no errors

Cordially,
Wøødy
Untitled.jpg

Hot Keys Helper.Export.ps1

Statistics: Posted by Woody_033 — Thu Jul 04, 2024 11:24 pm



Viewing all articles
Browse latest Browse all 512

Trending Articles