Skip to content

Instantly share code, notes, and snippets.

@tablacus
Created February 26, 2018 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tablacus/d8b6a64ed135fe9437f95e0fa952db28 to your computer and use it in GitHub Desktop.
Save tablacus/d8b6a64ed135fe9437f95e0fa952db28 to your computer and use it in GitHub Desktop.
Async script sample - Tablacus Explorer
importScripts("\\script\\consts.js");
if (MainWindow.Exchange) {
var ex = MainWindow.Exchange[arg[3]];
if (ex) {
delete MainWindow.Exchange[arg[3]];
var FV = ex.FV; // FolderView
var Ctrl = ex.Ctrl; // Control
var pt = ex.pt; // Mouse cursor
var SessionId = ex.SessionId; // FolderView.SessionId on start script
wsh.Popup(FV.FolderItem.Path);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment