혼자서 한 1년 정도 써봤는데 괜찮은듯 싶어서 공개합니다.

버전 0.1이지만 별다른 오류 보고가 없다면 이버전 거의 그대로 1.0으로 가지 않을까 싶습니다.


자바스크립트로 매우 쉽게 원하는 플러그인을 만들 수 있어서 좋습니다.

많은 기능을 지원하는 것은 아니지만 메뉴 자체는 맘대로 핸들링 할 수 있을 정도는

되지 않을까 합니다.


자세한 정보나 다운로드는 홈페이지를 방문해주세요.


http://sendtox.guruwand.com/


Support OS:

  • Windows XP or above (x86, x64)


Plugins:

NameDescription
Copy PathFull Path, Name Quote: Shift Quote spaces: Ctrl
File Compare
Open File LocationOpen File Location and Select File
Open Command Window

Set working dir Input file name on prompt

Task InfoEXE, DLL Show loaded module list Show command line
UnmountSelected ISO
RegSvr32Regist or unregist DLL, ...

Plugin Interface
  • Plugin.reqver = x.x; //Require version of SendToX
  • Plugin.QueryMenuItems(objApi) : number
  • Plugin.InvokeCommand(objApi) : objectreturn { path: string // Excutable File Path , args: string , workingdir: string , cbEnv: function(arrEnv){ ...; return arrEnv; } , cbExecuted: function(hProcess){...;} , operation: "runas", "open" , nShow: 0 , bNoCheckFileExist: boolean // No check excutable file path }
objApiQueryMenuItems:
  • GetFreeCmdIdCount() : number
  • GetSrcPath() : string
  • GetDepth() : number
  • GetParentMenu() : pointer
  • GetModVarStr(strName) : stringstrName: MODULEDIR (sendtox.dll) INIDIR (sendtox.ini) PLUGINSDIR (setting) ICONSDIR (setting)
  • ExpandVars(strExpand, bEnv) : string
  • CreateSubMenu(obj) : pointerobj: { displayname: string , icon: string // Icon file path , iconindex: number }
  • InsertMenuItems(arrObj) : numberarrObj: [{ displayname: string , pluginindex: number , icon: string // Icon file path , iconindex: number , hMenuParent: pointer }, ...]
  • InsertNoCmdIdMenuItem(hMenuParent) : number
  • funcQueryFile(nIndex) : string or numbernIndex = -1 (File Count) nIndex >= 0 (File Name)
InvokeCommand:
  • pluginindex : number
  • GetParentMenuPath() : string
  • GetModVarStr(strName) : string
  • funcQueryFile(nIndex) : string or numbernIndex = -1 (File Count) nIndex >= 0 (File Name)
Global API
  • JSON.stringify(value[, replacer[, space]]) : string
  • alert(strMessage) : void
  • confirm(strMessage) : boolean
  • prompt(strMessage, strDefault) : string
  • console.debug(...) : voidPrint Debug Message to DebugView++
  • GetLastError() : number
  • GetLastErrorMsg(nErrNo) : string
  • isdigit(c) : boolean
  • number_format(number, decimals) : string
  • PathFileExists(strPath) : boolean
  • PathIsDirectory(strPath) : boolean
  • PathFindFileName(strPath) : string
  • PathFindExtension(strPath) : string
  • PathRemoveExtension(strPath) : string
  • PathRemoveFileSpec(strPath) : string
  • PathQuoteSpaces(strPath) : string
  • PathUnquoteSpaces(strPath) : string
  • GetFileSize(strPath) : number
  • GetFocus() : pointer
  • GetLanguage() : string
  • GetOSVersion() : number
  • GetOSVersionEx() : objectResult: { dwMajorVersion: number, dwMinorVersion: number, dwBuildNumber: number, dwPlatformId: number, wServicePackMajor: number, wServicePackMinor: number, wSuiteMask: number, wProductType: number }
  • GetAsyncKeyState(vKey) : number
  • GetEnvList() : array
  • GetKeyStateIsAdmin() : boolean
  • GetMenuKeyStateIsAdmin() : boolean
  • OSMinVersion(strReqVer) : booleanstrReqVer: "x[.x[.x[.x]]]" MajorVersion .MinorVersion .ServicePackMajor .ServicePackMinor
  • CopyToClipboard(str) : boolean
  • IsDirectoryBackgorund() : boolean