-- ManProcOneMachGroup.lua by Egalware s.r.l. 2026/07/25 -- Creazione delle lavorazioni del MachGroup selezionato -- Intestazioni require( 'EgtBase') _ENV = EgtProtectGlobal() EgtEnableDebug( false) -- scelta della macchinata da aprire local sOpenDirPath = 'C:\\EgtData\\EgtWindowMaker\\Projects\\*.bwe' sOpenFilePath = EgtFileDialog( true, sOpenDirPath, "Window Project Files (*.bwe)|*.bwe||") if not sOpenFilePath then return end local _, sBaseDir = EgtEndsWith( EgtGetSourceDir(), '\\') _G.WIN = { BASEDIR = sBaseDir, FILE = sOpenFilePath, MACHINE = 'Saomad-Just3500', FLAG = 1} -- aggiungo le lavorazioni local bOk, sErr = pcall( dofile, sBaseDir .. '\\BatchProcessWin.lua') -- salvo il file EgtSaveFile() EgtSetCurrMachGroup() EgtZoom( SCE_ZM.ALL)