Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Type

Format

Description

Subroutine

FrameOpen(“FrameFile”)

Opens the frame file.

Function

GetExplorerPath(“PathType”)

Returns the recently selected file’s path.

Function

IsDirectory(“File or Folder Name”)

Checks if the file or folder exists in the Xpanel.

Function

NumToAsc(Decimal value)

Converts a decimal value to an ASCII code value.

Function

NumToStr(TargetValue, Value Type, Format)

Converts the numeric value to a string.

Subroutine

PageOpen(“PageName”)

Opens the page.

Subroutine

PageClose(“PageName”)

Closes the popup/keypad page.

Subroutine

PrePage()

Moves to the previous page.

Subroutine

PrePageEx()

Moves to the previous base page.

Subroutine

RunApp(“ProgramName”, “ProgramParameter”)

Executes the external program.

Subroutine

ScrCapture(“SeedName”, Location)

Saves the Xpanel screen in a BMP file.

Subroutine

SetSpeed(Acc./Dec.)

Controls the processing time of the script module.

Subroutine

Sleep(Delay)

Delays the script program.

Subroutine

SoftKeyboard(Show/Hide, X Coordinate, Y Coordinate)

Opens or closes the virtual keyboard.

Function

StrToNum(Target String, Numeral System)

Converts the string to the numeric value.

Subroutine

TimeStr(Acquired Value, “Format”)

Generates the time-displaying string.

...

PageOpen

Opens the page.

Subroutine

PageOpen(“PageName”)

Description

Opens the page.

You must enter the file name except for the extension.

According to the page type, the pages will be opened with different operations. If there is no special configuration, the current page (existing page) will be closed.

Popup Page: If you open the Popup Page with this function, the current page (existing page) will not be closed.

Frame page: The page will be opened at the position where it is assigned in the frame. If you open the page in the same frame position, the page will be replaced with the new page.

Example

Opens the page file named “PAGE”.

PageOpen(“PAGE”);

PageOpen

Closes the page.p

Subroutine

PageClose(“PageName”)

Description

Closes the popup/keypad page. This command expression may only be used with popup/keypad pages.

You must enter the file name except for the extension.

According to the page type, the pages will be opened with different operations. If there is no special configuration, the current page (existing page) will be closed.

Popup Page: If you close the Popup Page with this function, the current page (existing page) will not be closed.

Example

Closes the popup/keypad page file named “PAGE”.

PageOpenPageClose(“PAGE”);

PrePage

Moves to the previous page.

Subroutine

PrePage()

Description

The script can move to the previously opened pages up to the latest 20, regardless of the page type.

Example

Moves to the previous page.

PrePage();

...