Permanent
(boolean) Whether to permanently register the font file:
VALUE DESCRIPTION |
|
true |
The font file will be permanently registered on the user's system. (Default) |
false |
The font file will be temporarily registered on the user's system. This means it will be registered until a system reboot. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
System.RegisterTypeLib
OverviewExamples
System.RegisterTypeLib ( string Filename )
De s cr ip t ion
Registers a type library file (.tlb) on the local system.
P arame t er s
Filename
(string) The full path to the TypeLib file (.tlb).
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
System.RemoveRestorePoint
OverviewExamples
System.RemoveRestorePoint ( number SequenceNum )
De s cr ip t ion
Removes a system restore point given the sequence number generated by the System.SetRestorePoint
action.
Note: This system restore action is only supported on Windows XP or later and may require administrative privileges.
P arame t er s
SequenceNum
(number) The sequence number of the restore point you want to remove. This is the value generated by the System.SetRestorePoint action.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
System.SetRestorePoint
OverviewExamples
number System.SetRestorePoint ( number EventType,
number RestorePointType,
number SequenceNum,
string Description )
De s cr ip t ion
Creates a system restore point on the computer and returns the sequence number that was used.
To create a proper restore point, this action needs to be called twice. The first time, EventType should be set to SYSTEM_CHANGE_BEGIN. The second time, EventType should be set to SYSTEM_CHANGE_END.
Note: This system restore action is only supported on Windows XP or later and may require administrative privileges. You can use the System.IsSystemRestoreAvailable action to determine whether or not the system restore service is available.
System Restore does not restore user data or documents, so it will not cause users to lose their files, e-mail, browsing history, or favorites. Only certain file types are monitored by system restore. See the System Restore Monitored File Extensions topic for details. System Restore also saves a full snapshot of the registry.
P arame t er s
EventType
(number) The type of event for system restore. Choose from:
CONSTANT |
VALUE DESCRIPTION |
|
SYSTEM_CHANGE_BEGIN |
100 |
Notify that a system change has begun. |
SYSTEM_CHANGE_END |
101 |
Notify that a system change has ended. |