Yaskawa YASNAC PC NC Maintenance Manual User Manual

Page 297

Advertising
background image

PC NC Maintenance Manual

Chapter 8: Fixed File Operations

8-95

File ‘softwareSwitch.properties’

The ‘softwareSwitch.properties’ file has two entries, which are used to
specify the locations and names of the label files for the Run: NC Switch
screen. The entry appears as below:

cnc_file = %MMIDATA%\\ncsw.txt

machine_file = %MMIDATA%\\machsw.txt

where MMIDATA can be an environment variable defined in the applica-
tion.properties file. Note that ‘\\’, not ‘\’, is required between subdirectory
names.

File ‘system.properties’

The ‘system.properties’ file is used to define which buttons are available
on the Utilities: PC Settings screen. In addition to the button properties
described in that section, each item button has two other properties associ-
ated with it that control the behavior of the pop-up window when the but-
ton is clicked. These are ‘topmost’ and ‘pause’.

Setting topmost to 1 causes the window to stay in front of the MMI until it
is closed. This may be useful for control panel objects and other dialog-
box type applications. If the window is not to be topmost, and there are
problems with the window being hidden when the application is launched,
try setting the 'pause' property.

The pause property sets the number of extra milliseconds to wait after
launching the application and before bringing its window to the top. This
is useful for programs such as the Disk Administrator that displays a small
initial window before the main window displays. Without the pause, the
main window is hidden behind the MMI when the small window disap-
pears. A non-zero pause is not necessary if the 'topmost' property is set to
1.

The ‘system.properties’ file may contain the following:

button1 = access

access.label = Accessibility

access.image = system/access.gif

access.disimage = system/access_dis.gif

access.executable = rundll32 shell32.dll,Control_RunDLL

C:\\WINNT\\SYSTEM32\\access.cpl

Advertising