Ultra-X, Inc. Name Image
PROFESSIONAL DIAGNOSTIC TOOLS
Support Article

Scripting Guide

PC OptimizationOnboardingUpdated 8/22/2024

Script Process Overview
1. Program parses the script file [scriptname.pco]
2. Program executes items specified in each [STAGE#] section;
3. When script completes, program can reboot/shutdown system or show dialog and ask user to select action according to AfterScript key value.

[COMMON]

XML

Description: Specifies the output XML name.

Example:

[COMMON]
XML=report.xml

 

[STAGE1]

JUNK

Description: Enables/Disables the Clean Junk files process

Type: Boolean

Example:

[STAGE1]
Junk=1

 

TEMP

Description: Enables/Disables the Clean Temp files process

Type: Boolean

Example:

[STAGE1]
Junk=1
Temp=1

 

WSCache

Description: Enables/Disables the Clean Windows Store Cache files process

Type: Boolean

Example:

[STAGE1]
Junk=1
Temp=1
WSCache=1

 

APPLOGS

Description: Enables/Disables the Clean of Application Logs

Type: Boolean

Example:

[STAGE1]
Junk=1
Temp=1
WSCache=1
AppLogs=

 

WINLOGS

Description: Enables/Disables the Clean of Windows Logs

Type: Boolean

Example:

[STAGE1]
Junk=1
Temp=1
WSCache=1
AppLogs=0
WinLogs=0

 

FileLIST

Description: The filename of the text file that will include all individual files list to be deleted.

Type: String

Example:

[STAGE1]
Junk=1
Temp=1
WSCache=1
AppLogs=0
WinLogs=0
FileList=files.ux

NOTE: The files.ux file should be located in the same path as the app executable. The fileslist.ux is a standard text file taht can be opened/modified with a simple text editor such as notepad.

mceclip0.png

 

FolderList

Description: The filename of the text file that will include all individual files list to be deleted.

Type: String

Example:

[STAGE1]
Junk=1
Temp=1
WSCache=1
AppLogs=0
WinLogs=0
FileList=files.ux
FolderList=folders.ux

 NOTE: The folderslist.ux file should be located in the same path as the app executable. The folderslist.ux is a standard text file taht can be opened/modified with a simple text editor such as notepad.

mceclip1.png

 

[STAGE2]

DATA

Description: Enables/Disables the Remove all Browser Data function

Type: Boolean

Example:

[STAGE2]
Data=1

 

COOKIES

Description: Enables/Disables the Remove all Browser Cookies function

Type: Boolean

Example:

[STAGE2]
Data=1
Cookies=1

 

TEMP

Description: Enables/Disables the Remove all Browser Temp Files function

Type: Boolean

Example:

[STAGE2]
Data=1
Cookies=1
Temp=1

 

CACHE

Description: Enables/Disables the Remove all Browser Cache Files function

Type: Boolean

Example:

[STAGE2]
Data=1
Cookies=1
Temp=1
Cache=1

 

PROFILE

Description: Enables/Disables the Reset Browser Profile function

Type: Boolean

Example:

[STAGE2]
Data=1
Cookies=1
Temp=1
Cache=1
Profile=0

 

[STAGE3]

APPLIST

Description: A text file that will include a list of all Applications that will be removed from Startup. Enter the filename. By default, startup.txt will be used and is already located inside the root PC Optimizer folder. Edit this file by opening in notepad and providing full file path to be deleted. One application name per line.

Type: String

Example:

[STAGE3]
AppList=startup.txt

 

[STAGE4]

PLAN

Description: Sets the power plan mode

Type: String

Possible values:

  • High = High Performance Mode
  • Balance = Balanced Mode
  • Saver = Power Saver Mode

Example:

[STAGE4]
Plan=High

 

[STAGE5]

DEFRAG

Description: Enables/Disables the Defragmentation function

Type: Boolean

Example:

[STAGE5]
Defrag=0