|

Type


(number) The type of data you want to assign:



CONSTANT


VALUE DESCRIPTION


REG_SZ


1


A null-terminated string. ("SZ" is short for "string, zero- terminated.")


REG_EXPAND_SZ


2


A null-terminated string that contains environment variables which are to be expanded whenever the Registry value is accessed.



REG_BINARY


3


Raw binary data. AutoPlay requires this data be passed as a string of hex values separated by single spaces. For example, 2C 00 00


REG_DWORD


4


A 32-bit number.


REG_MULTI_SZ


7


An array of null-terminated strings, each one terminated by two null characters. When storing multiple string values in one Registry value, AutoPlay requires that each string be separated by a "|" character. For example \Hey|\You.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

R i c h T ex t


image

RichText.CanPaste

OverviewExamples

boolean RichText.CanPaste ( string ObjectName )


De s cr ip t ion


Returns true if the contents of the clipboard can be pasted into a richtext object.


P arame t er s


ObjectName


(string) The name of the richtext object.


Re t u r n s


(boolean) True if the contents of the clipboard can be pasted into the object, false if it cannot. If an error occurs, false will be returned. You can use Application.GetLastError to determine whether this action failed, and why.


|