if ((Actions.IsChecked("ActFileExplorer")) && (Doc.Filename != "")) {
Klipper wrote:Hi,
I like this plug-in very much, but in some circomstances I need to disable the plugin, because it's working contra-productive.
My question: Is there a possibility to assign a short-cut to disable/enable this plugin?
I searched for it, but could not find a way to assign a shortcut.
If not possible yet, can you please add that possibility?
Best regards,
Klipper
function OnDocFocus(Doc) {
if ((Actions.IsChecked("ActFileExplorer") && (Script.ReadSetting("Enabled", "1") == "1")) {
Actions.Execute("ActActivateFolderOfCurrentFile");
}
}
function Toggle() {
var status = 1;
if (Script.ReadSetting("Enabled", "1") == "1") status = "0";
Script.WriteSetting("Enabled", status);
}
Script.RegisterDocumentAction("", "Toggle File Explorer Follow Tabs", "", &Toggle);
[Properties]
Enabled=check
[Values]
Enabled=1
function OnDocFocus(Doc) {
if ((Actions.IsChecked("ActFileExplorer") && (Script.ReadSetting("Enabled", "1") == "1"))) {
Actions.Execute("ActActivateFolderOfCurrentFile");
}
}
Return to Plugins for HTMLPad / Rapid CSS / Rapid PHP / WeBuilder
Users browsing this forum: No registered users and 1 guest