⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ms jscript.def

📁 是一个很好的编辑器
💻 DEF
📖 第 1 页 / 共 2 页
字号:
; Tento soubor obsahuje makra programu PSPad pro JScript
;
; Řádky začínající středníkem a prázdné řádky jsou ignorovány
;
; Formát příkazů :
;  [jméno_příkazu | popis příkazu (libovolný text)]*klávesová_zkratka
;  řádek příkazu, který bude vložen
;  řádek příkazu, který bude vložen ...
;
; hlavička příkazu je uzavřena do [], znak | slouží jako oddělovač
; jména příkazu a komentáře.
; * určuje nepovinnou klávesovou zkratku
; pokud řádek příkazu obsahuje znak |, kurzor se po vloľení do
; textu zastaví na tomto místě
; pokud řádek příkazu obsahuje znak §, bude zde vložen označený text
;
; autor: Ing. Aleš Daniel ales.daniel@centrum.cz
; poslední revize: 10.8.2005
;
; Methods
[abs | Returns the absolute value of a number]
Math.abs(|number)
[acos | Returns the arccosine of a number]
Math.acos(|number)
[anchor | Places an HTML anchor with a NAME attribute around specified text in the object]
anchor(|anchorstring)
[asin | Returns the arcsine of a number]
Math.asin(|number)
[atan | Returns the arctangent of a number]
Math.atan(|number)
[atan2 | Returns the angle (in radians) from the X axis to a point (y,x)]
Math.atan2(|y, x)
[atEnd | Returns a Boolean value indicating if the enumerator is at the end of the collection]
atEnd()|
[Add | Adds a key and item pair to a Dictionary object]
Add (|key, item)
[Add | Adds a new Folder to a Folders collection]
Add (|folderName) 
[big | Places HTML <BIG> tags around text in a String object]
big()|
[blink | Places HTML <BLINK> tags around text in a String object]
blink()|
[bold | Places HTML <B> tags around text in a String object]
bold()|
[BuildPath | Appends a name to an existing path]
BuildPath(|path, name) 
[ceil | Returns the smallest integer greater than or equal to its numeric argument]
Math.ceil(|number)
[charAt | Returns the character at the specified index]
charAt(|index)
[charCodeAt | Returns the Unicode encoding of the specified character]
charCodeAt(|index)
[Close | Closes an open TextStream file]
Close()|
[compile | Compiles a regular expression into an internal format]
compile(|pattern)
[concat(Arr) | Returns an new array consisting of a combination of two arrays]
concat(|array2)
[concat(Str) | Returns a String object containing the concatenation of two supplied strings]
concat(|string2)
[cos | Returns the cosine of a number]
Math.cos(|number)
[Copy | Copies a specified file or folder from one location to another]
Copy(|destination[, overwrite]) 
[CopyFile | Copies one or more files from one location to another]
CopyFile(|source, destination[, overwrite]) 
[CopyFolder | Recursively copies a folder from one location to another]
CopyFolder(|source, destination[, overwrite])
[CreateFolder | Creates a folder]
CreateFolder(|foldername)
[CreateTextFile | Creates a specified file name and returns a TextStream object that can be used to read from or write to the file]
CreateTextFile(|filename[, overwrite[, unicode]])
[Delete | Deletes a specified file or folder]
Delete(|force)
[DeleteFile | Deletes a specified file]
DeleteFile(|filespec[, force]) 
[DeleteFolder | Deletes a specified folder and its contents]
DeleteFolder(|folderspec[, force]) 
[dimensions | Returns the number of dimensions in a VBArray]
dimensions()|
[DriveExists | Returns True if the specified drive exists; False if it does not]
DriveExists(|drivespec)
[escape | Encodes String objects so they can be read on all computers]
escape(|charstring)
[eval | Evaluates JScript code and executes it]
eval(|codestring)
[exec | Executes a search for a match in a specified string]
exec(|str)
[Execute | Executes a regular expression search against a specified string]
Execute(|string)
[Exists | Returns True if a specified key exists in the Dictionary object, False if it does not]
Exists(|key)
[exp | Returns e (the base of natural logarithms) raised to a power]
Math.exp(|number)
[FileExists | Returns True if a specified file exists; False if it does not]
FileExists(|filespec)
[fixed | Places HTML <TT> tags around text in a String object]
fixed()|
[floor | Returns the greatest integer less than or equal to its numeric argument]
Math.floor(|number)
[FolderExists | Returns True if a specified folder exists; False if it does not]
FolderExists(|folderspec)
[fontcolor | Places an HTML <FONT> tag with the COLOR attribute around the text in a String object]
fontcolor(|colorval)
[fontsize | Places an HTML <FONT> tag with the SIZE attribute around the text in a String object]
fontsize(|intSize)
[fromCharCode | Returns a string from a number of Unicode character values]
String.fromCharCode(|code1, code2, ..., coden)
[GetAbsolutePathName | Returns a complete and unambiguous path from a provided path specification]
GetAbsolutePathName(|pathspec)
[GetBaseName | Returns a string containing the base name of the last component, less any file extension, in a path]
GetBaseName(|path)
[getDate | Returns the day of the month value in a Date object using local time]
getDate()|
[getDay | Returns the day of the week value in a Date object using local time]
getDay()|
[GetDrive | Returns a Drive object corresponding to the drive in a specified path]
GetDrive(|drivespec) 
[GetDriveName | Returns a string containing the name of the drive for a specified path]
GetDriveName(|path)
[GetExtensionName | Returns a string containing the extension name for the last component in a path]
GetExtensionName(|path)
[GetFile | Returns a File object corresponding to the file in a specified path]
GetFile(|filespec)
[GetFileName | Returns the last component of specified path that is not part of the drive specification]
GetFileName(|pathspec)
[GetFolder | Returns a Folder object corresponding to the folder in a specified path]
GetFolder(|folderspec)
[getFullYear | Returns the year value in the Date object using local time]
getFullYear()|
[getHours | Returns the hours value in a Date object using local time]
getHours()|
[getItem | Returns the item at the specified location]
getItem(|dimension1[, dimension2, ...], dimensionn)
[getMilliseconds | Returns the milliseconds value in a Date object using local time]
getMilliseconds()|
[getMinutes | Returns the minutes value in a Date object using local time]
getMinutes()|
[getMonth | Returns the minutes value in a Date object using local time]
getMinutes()|
[GetParentFolderName | Returns a string containing the name of the parent folder of the last file or folder in a specified path]
GetParentFolderName(|path)
[getSeconds | Returns the seconds value in a Date object using local time]
getSeconds()|
[GetSpecialFolder | Returns the special folder specified]
GetSpecialFolder(|folderspec)
[GetTempName | Returns a randomly generated temporary file or folder name that is useful for performing operations that require a temporary file or folder]
GetTempName()| 
[getTime | Returns the time value in a Date object]
getTime()|
[getTimezoneOffset | Returns the difference in minutes between the time on the host computer and Universal Coordinated Time (UTC)]
getTimezoneOffset()|
[getUTCDate | Returns the date in a Date object using Universal Coordinated Time (UTC)]
getUTCDate()|
[getUTCDay | Returns the day of the week value in a Date object using Universal Coordinated Time (UTC)]
getUTCDay()|
[getUTCFullYear | Returns the year value in a Date object using Universal Coordinated Time (UTC)]
getUTCFullYear()|
[getUTCHours | Returns the hours value in a Date object using Universal Coordinated Time (UTC)]
getUTCHours()|
[getUTCMilliseconds | Returns the milliseconds value in a Date object using Universal Coordinated Time (UTC)]
getUTCHours()|
[getUTCMinutes | Returns the minutes value in a Date object using Universal Coordinated Time (UTC)]
getUTCMinutes()|
[getUTCMonth | Returns the month value value in a Date object using Universal Coordinated Time (UTC)]
getUTCMonth()|
[getUTCSeconds | Returns the seconds value in a Date object using Universal Coordinated Time (UTC)]
getUTCSeconds()|
[getVarDate | Returns the VT_DATE value in a Date object]
getVarDate()|
[indexOf | Returns the character position where the first occurrence a substring occurs within a String object]
indexOf(|substring, startindex)
[isFinite | Returns a Boolean value that indicates if a supplied number is finite]
isFinite(|number)
[isNaN | Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number)]
isNaN(|numvalue)
[italics | Places HTML <I> tags around text in a String object]
italics()|
[item | Returns the current item in the collection]
item()|
[Items | Returns an array containing all the items in a Dictionary object]
Items()|
[join | Returns a String object consisting of all the elements of an array concatenated together]
join(|separator)
[Keys | Returns an array containing all existing keys in a Dictionary object]
Keys()|
[lastIndexOf | Returns the last occurrence of a substring within a String object]
lastIndexOf(|substring, startindex)
[lbound | Returns the lowest index value used in the specified dimension of a VBArray]
lbound(|dimension)
[link | Places an HTML anchor with an HREF attribute around the text in a String object]
link(|linkstring)
[log | Returns the natural logarithm of a number]
Math.log(|number)
[match | Returns, as an array, the results of a search on a string using a supplied Regular Expression object]
match(|rgExp)
[max | Returns the greater of two supplied numeric expressions]
Math.max(|number1, number2)
[min | Returns the lesser of two supplied numbers]
Math.min(|number1, number2)
[Move | Moves a specified file or folder from one location to another]
Move(|destination) 
[MoveFile | Moves one or more files from one location to another]
MoveFile(|source, destination); 
[moveFirst | Resets the current item in the collection to the first item]
moveFirst()|
[MoveFolder | Moves one or more folders from one location to another]
MoveFolder(|source, destination)
[moveNext | Moves the current item to the next item in the collection]
moveNext()|
[OpenAsTextStream | Opens a specified file and returns a TextStream object that can be used to read from, write to, or append to the file]
OpenAsTextStream(|[iomode, [format]])
[OpenTextFile | Opens a specified file and returns a TextStream object that can be used to read from, write to, or append to the file]
OpenTextFile(|filename[, iomode[, create[, format]]])
[parse | Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970]
Date.parse(|dateVal)
[parseFloat | Returns a floating-point number converted from a string]
parseFloat(|numstring)
[parseInt | Returns an integer converted from a string]
parseInt(|numstring, [radix])
[pow | Returns the value of a base expression taken to a specified power]
Math.pow(|base, exponent)
[random | Returns a pseudorandom number between 0 and 1]
Math.random()|
[Read | Reads a specified number of characters from a TextStream file and returns the resulting string]
Read(|characters)
[ReadAll | Reads an entire TextStream file and returns the resulting string]
ReadAll()|
[ReadLine | Reads an entire line (up to, but not including, the newline character) from a TextStream file and returns the resulting string]
ReadLine()|
[Remove | Removes a key, item pair from a Dictionary object]
Remove(|key)
[RemoveAll | The RemoveAll method removes all key, item pairs from a Dictionary object]
RemoveAll()|
[replace | Returns a copy of a string with text replaced using a regular expression]
replace(|rgExp, replaceText)
[reverse | Returns an Array object with the elements reversed]
reverse()|
[round | Returns a supplied numeric expression rounded to the nearest integer]
Math.round(|number)
[search | Returns the position of the first substring match in a regular expression search]
search(|rgexp)
[setDate | Sets the numeric date of the Date object using local time]
setDate(|numDate)
[setFullYear | Sets the year value in the Date object using local time]
setFullYear(|numYear[, numMonth[, numDate]])
[setHours | Sets the hour value in the Date object using local time]
setHours(|numHours[, numMin[, numSec[, numMilli]]])
[setMilliseconds | Sets the milliseconds value in the Date object using local time]
setMilliseconds(|numMilli)
[setMinutes | Sets the minutes value in the Date object using local time]
setMinutes(|numMinutes[, numSeconds[, numMilli]])
[setMonth | Sets the month value in the Date object using local time]
setMonth(|numMonth[, dateVal])
[setSeconds | Sets the seconds value in the Date object using local time]
setSeconds(|numSeconds[, numMilli])
[setTime | Sets the date and time value in the Date object]
setTime(|milliseconds)
[setUTCDate | Sets the numeric date in the Date object using Universal Coordinated Time (UTC)]
setUTCDate(|numDate)
[setUTCFullYear | Sets the year value in the Date object using Universal Coordinated Time (UTC).]
setUTCFullYear(|numYear[, numMonth[, numDate]])
[setUTCHours | Sets the hours value in the Date object using Universal Coordinated Time (UTC)]
setUTCHours(|numHours[, numMin[, numSec[, numMilli]]])
[setUTCMilliseconds | Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC)]
setUTCMilliseconds(|numMilli)
[setUTCMinutes | Sets the minutes value in the Date object using Universal Coordinated Time (UTC)]
setUTCMinutes(|numMinutes[, numSeconds[, numMilli]])
[setUTCMonth | Sets the month value in the Date object using Universal Coordinated Time (UTC)]
setUTCMonth(|numMonth[, dateVal])
[setUTCSeconds | Sets the seconds value in the Date object using Universal Coordinated Time (UTC)]
setUTCSeconds(|numSeconds[, numMilli])
[setYear | Sets the year value in the Date object]
setYear(|numYear)
[sin | Returns the sine of a number]
Math.sin(|number)
[Skip | Skips a specified number of characters when reading a TextStream file]
Skip(|characters)
[SkipLine | Skips the next line when reading a TextStream file]
SkipLine()|
[slice(Arr) | Returns a section of an array]
slice(|start, [end])
[slice(Str) | Returns a section of a string]
slice(|start, [end])
[small | Places HTML <SMALL> tags around text in a String object]
small()|
[sort | Returns an Array objec with the elements sorted]
sort(|sortfunction)
[split | Returns the array of strings that results when a string is separated into substrings]
split(|str)
[sqrt | Returns the square root of a number]
Math.sqrt(|number)
[strike | Places HTML <STRIKE> tags around text in a String object]
strike()|
[sub | Places HTML <SUB> tags around text in a String object]
sub()|
[substr | Returns a substring beginning at a specified location and having a specified length]
substr(|start [, length ])
[substring | Returns the substring at the specified location within a String object]
substring(|start, end)
[sup | Places HTML <SUP> tags around text in a String object]
sup()|
[tan | Returns the tangent of a number]
Math.tan(|number)
[test | Returns a Boolean value that indicates whether or not a pattern exists in a searched string]
test(|str)
[toArray | Returns a standard JScript array converted from a VBArray]
toArray()|

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -