KeyLock Help File

KeyLock Help File

Plugin Name:

KeyLock

Current Version:

1.2.1.0

Description:

Enables the programmer to lock and unlock the user's keys.

Licence:

Free to Use and Distribute.

Author:

Centauri Soldier / sside

Web:

www.AMSPublic.com

E-mail:

CentauriSoldier@AMSPublic.com

Requirements:

.Net Framework 2.0 or higher.

Copyright:

© 2009 AMSPublic.com / sside

Install Notes:

Place the "KeyLock" folder in your "AutoPlay Media Studio\Plugins\Actions" folder.


Table of Contents

KeyLock.Cleanup
KeyLock.EnableAllKeys
KeyLock.EnableAltEsc
KeyLock.EnableAltF4
KeyLock.EnableAltPrtScr
KeyLock.EnableAltTab
KeyLock.EnableCtrlEsc
KeyLock.EnableKey
KeyLock.EnablePrtScr
KeyLock.GetDisabledKeys
KeyLock.GetError
KeyLock.IsAltEscEnabled
KeyLock.IsAllKeysEnabled
KeyLock.IsAltF4Enabled
KeyLock.IsAltPrtScrEnabled
KeyLock.IsAltTabEnabled
KeyLock.IsCtrlEscEnabled
KeyLock.IsKeyEnabled
KeyLock.IsPrtScrEnabled

KeyLock.Cleanup


KeyLock.Cleanup ()

Description

Deletes the, initially-extracted DisableKeys.dll file based on the creation path speified by the KeyLock.Activate action.

Returns

This action dose not return any value.


KeyLock.EnableAllKeys


KeyLock.EnableAllKeys ( 

(boolean) Enabled = false )

Description

Enables/Disables all keys(excluding Print Screen[PrtScr] and F10) but not key combinations.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnableAltEsc


KeyLock.EnableAltEsc ( 

(boolean) Enabled = false )

Description

Enables/Disables the Alt+Esc key combination.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnableAltF4


KeyLock.EnableAltF4 ( 

(boolean) Enabled = false )

Description

Enables/Disables the Alt+F4 key combination.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnableAltPrtScr


KeyLock.EnableAltPrtScr ( 

(boolean) Enabled = false )

Description

Enables/Disables the Alt+PrintScreen key combination.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnableAltTab


KeyLock.EnableAltTab ( 

(boolean) Enabled = false )

Description

Enables/Disables the Alt+Tab key combination.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnableCtrlEsc


KeyLock.EnableCtrlEsc ( 

(boolean) Enabled = false )

Description

Enables/Disables the Ctrl+Esc key combination.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnableKey


KeyLock.EnableKey ( 

(number) Key = 91,

(boolean) Enabled = false )

Description

Enables/Disables a specific key.

Parameters

Key

(number) The decimal number of the specific key to enable or disable. A list of keys can be found in the AMS Help File under key codes.

Enabled

(boolean) Whether or not to enable the key. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.EnablePrtScr


KeyLock.EnablePrtScr ( 

(boolean) Enabled = false )

Description

Enables/Disables the Print Screen key.

Parameters

Enabled

(boolean) Whether or not to enable the key combination. Typically, keys and keys combinations are enabled by default on most systems.

Returns

This action dose not return any value.


KeyLock.GetDisabledKeys


KeyLock.GetDisabledKeys ( 

(string) Return Type = "table" )

Description

Gets a list of all disabled keys.

Parameters

Return Type

(string) The type of desired return. You can choose either table or string. If no keys are disabled then nil or a blank string is returned (depending on your return type choice).

Returns

This action dose not return any value.


KeyLock.GetError


(string) KeyLock.GetError ()

Description

Returns an error if one occurs.

Returns

(string)


KeyLock.IsAltEscEnabled


(boolean) KeyLock.IsAltEscEnabled ()

Description

Determines whether or not the Alt+Esc key combination is disabled.

Returns

(boolean)


KeyLock.IsAllKeysEnabled


(boolean) KeyLock.IsAllKeysEnabled ()

Description

Determines whether or not all individual keys are disabled(excluding Print Screen[PrtScr] and F10).

Returns

(boolean)


KeyLock.IsAltF4Enabled


(boolean) KeyLock.IsAltF4Enabled ()

Description

Determines whether or not the Alt+F4 key combination is disabled.

Returns

(boolean)


KeyLock.IsAltPrtScrEnabled


(boolean) KeyLock.IsAltPrtScrEnabled ()

Description

Determines whether or not the Alt+Print Screen key combination is disabled.

Returns

(boolean)


KeyLock.IsAltTabEnabled


(boolean) KeyLock.IsAltTabEnabled ()

Description

Determines whether or not the Alt+Tab key combination is disabled.

Returns

(boolean)


KeyLock.IsCtrlEscEnabled


(boolean) KeyLock.IsCtrlEscEnabled ()

Description

Determines whether or not the Ctrl+Esc key combination is disabled.

Returns

(boolean)


KeyLock.IsKeyEnabled


(boolean) KeyLock.IsKeyEnabled ( 

(variant) Key Code = 65 )

Description

Determines whether or not a specific key is enabled. Accepts strings and numbers as input.

Parameters

Key Code

(variant) The decimal value of the key you want to check. These values can be found in the AMS help file under key codes.

Returns

(boolean) Returns a table or string (user option). If no keys are disabled then a blank string or nil table is returned.


KeyLock.IsPrtScrEnabled


(boolean) KeyLock.IsPrtScrEnabled ()

Description

Determines whether or not the Print Screen key is disabled.

Returns

(boolean)



© 2009 AMSPublic.com / sside
This File Was Generated With AMS ActionFile Editor