Code: Select all
nm=actl namespace
ctime=3853931289
mtime=3861339714
<article>
#_There is an alternative interface to FAR's advanced control commands.
#_It is shorter and more expressive, e.g. the following 2 calls do the
#_same thing:
#_ 1) info = far.AdvControl("ACTL_GETWINDOWINFO", 2)
#_ 2) info = actl.GetWindowInfo(2)
#_
#_**actl** is a global table containing those alternative functions.
#_Below is a table of correspondence between **ACTL_** messages
#_and functions from the **actl** table:
#_
#_ Commit ACTL_COMMIT
#_ EjectMedia ACTL_EJECTMEDIA
#_ GetArrayColor ACTL_GETARRAYCOLOR
#_ GetColor ACTL_GETCOLOR
#_ GetConfirmations ACTL_GETCONFIRMATIONS
#_ GetCursorPos ACTL_GETCURSORPOS
#_ GetDescSettings ACTL_GETDESCSETTINGS
#_ GetDialogSettings ACTL_GETDIALOGSETTINGS
#_ GetFarHwnd ACTL_GETFARHWND
#_ GetFarRect ACTL_GETFARRECT
#_ GetFarVersion ACTL_GETFARVERSION
#_ GetInterfaceSettings ACTL_GETINTERFACESETTINGS
#_ GetPanelSettings ACTL_GETPANELSETTINGS
#_ GetPluginMaxReadData ACTL_GETPLUGINMAXREADDATA
#_ GetShortWindowInfo ACTL_GETSHORTWINDOWINFO
#_ GetSystemSettings ACTL_GETSYSTEMSETTINGS
#_ GetSysWordDiv ACTL_GETSYSWORDDIV
#_ GetWindowCount ACTL_GETWINDOWCOUNT
#_ GetWindowInfo ACTL_GETWINDOWINFO
#_ ProgressNotify ACTL_PROGRESSNOTIFY
#_ Quit ACTL_QUIT
#_ RedrawAll ACTL_REDRAWALL
#_ SetArrayColor ACTL_SETARRAYCOLOR
#_ SetCurrentWindow ACTL_SETCURRENTWINDOW
#_ SetCursorPos ACTL_SETCURSORPOS
#_ SetProgressState ACTL_SETPROGRESSSTATE
#_ SetProgressValue ACTL_SETPROGRESSVALUE
#_ WaitKey ACTL_WAITKEY
#_