Can anyone help?
I'm running uedit64 from PowerShell. It won't exit the editor. I have to close/exit the editor window manually.
UltraEdit Text/Hex Editor (x64)
Version 24.00.0.53
PowerShell:
Note: If I add the = to the /M,E on the command line it won't find the macro. I get a "macro load" popup. Saying it can't find the macro.
The path in the popup is correct. If I take out the = the macro runs but it wont exit or close properly.
MACRO: (I'm doing more, but just this simple bit wont close the editor window, which stops my PowerShell from looping to the next file.)
I'm running uedit64 from PowerShell. It won't exit the editor. I have to close/exit the editor window manually.
UltraEdit Text/Hex Editor (x64)
Version 24.00.0.53
PowerShell:
Code: Select all
$In = "\\pubtech\users\pubtechops2\My Documents\UltraEdit Files\TEST FILES MOVE N9"
Get-ChildItem -Path $In -recurse -Include *.edi | ? { $_.FullName -inotmatch 'archive' } |
Foreach-Object {
$_.FullName
& uedit64 /fni $_.FullName /M,E "C:\SCRIPTS\Move N9.mac" | out-null
}
The path in the popup is correct. If I take out the = the macro runs but it wont exit or close properly.
MACRO: (I'm doing more, but just this simple bit wont close the editor window, which stops my PowerShell from looping to the next file.)
Code: Select all
InsertMode
ColumnModeOff
HexOff
UltraEditReOn
Key Ctrl+HOME
Find "ST*180"
IfNotFound
CloseFile NoSave
ExitMacro
Else
CloseFile NoSave
ExitMacro
EndIf