Function list (Ac Script)

From kwiki

Jump to: navigation, search

Please rather look at category:Ac Script functions

AcB's function declarations

//basics
void print (string s)


//files & folders:
string Acb_GetCurrentDirectory()
bool Acb_SetCurrentDirectory (string) bool Acb_IsDirectory(string)
bool Acb_CreateDirectory(string sDirPath)
//alias: Acb_CreateFolder bool Acb_CopyToFolder (string or array of strings SrcObjects, string  DestFolder, [string overwriting_mode="ask"(default) / "yes_all" / "skip_all"] )
bool Acb_MoveToFolder (string or array of strings SrcObjects, string DestFolder, [string  overwriting_mode="ask"(default) / "yes_all" / "skip_all"] )
bool Acb_Delete (string or array of strings strObjects [string protected_objects_mode= "ask" /  "yes_all"(default) / "skip_all"])
bool Acb_Rename(string sOldPath,string sNewPath)


//windows:
string Acb_BwGetFolder([AcWinID="active"])
bool Acb_BwSetFolder(string sNewDir,[AcWinID="active"])
HWND Acb_BwGetHandle([bool getframehandle=false],AcWinID="active")
array (of HWND's) Acb_BwGetAllHandles([bool getframehandles=false])
void Acb_BwRefresh ([AcWinID="active"])
(array of strings) Acb_BwGetSelectedPaths([AcWinID="active"])
string Acb_BwGetFocusedPath([AcWinID="active"])
int Acb_BwGetItemIndex(string sPath,[AcWinID="active"])
//index to the item specified by sPath void Acb_BwSetItemSelection(int nIndex,[bool3  bSelect=true],[bool3 bFocus=false],[bool bUnselectAllOthers=false],[AcWinID="active"]) string  Acb_BwGetPathAt(int nIndex,[AcWinID="active"])
Personal tools
konradp.com