示例脚本(Sample script)
示例脚本(Sample script)
Gosub test countdown popups
Gosub test creates folders
The Gosub test changes folder properties
Gosub test delete file \ folder
Gosub test search file
The Gosub test traverses subfolders
The Gosub test gets the system specific folder path
The Gosub test reads text by segment
Gosub test string search
Gosub test string search 2
Gosub test sequencing
Gosub test random sort
Gosub test array search
Gosub test decimal conversion
Gosub transform
Gosub test lunar calendar date
Gosub test and decrypt string
Gosub test encryption and decryption text
The Gosub test gets the native IP and MAC addresses
Gosub test access site
The Gosub test gets the local cache address of the specified URL
Gosub test, HTML, hexadecimal conversion
The Gosub test traverses the system process / window
The Gosub test modifies the title of the window
Gosub let the window refuse to accept keyboard and mouse events
Gosub test pause process
Gosub test run program / shutdown process
The Gosub test gets the process path
The Gosub test gets the memory footprint of the specified process handle
Gosub test limited mouse
Gosub test, computer voice command
EndScript
Sub test countdown popups
Plugin lxj_Plug.lxj_Message (5, "TIME seconds left", "countdown")
Return test countdown popups
Sub test creates folders
Due to / / plug-in command can only create a sub folder in the directory, so write this function
/ / support any correct path to create a folder
Path= "D:\D\D\D\""
Plugin lxj_Plug.lxj_CreatFoldEX (path)
VBSCall RunApp ("D:\")
"MSGBOX" created completed"
Return test creates folders
The Sub test changes folder properties
1 / / the command parameters for a file or folder path, in this case is just the new folder for example
2 after the attribute type / / parameters, optional parameters including "routine", "read", "hidden", "system"
/ / Note: attribute set is not to increase the property on the basis of the original, but re set
Path= "D:\D""
MessageBox sets the hidden property for the new