Page 8 of 99

Posted: Sun Jun 22, 2014 8:03 pm
by Infocatcher
Skif_off
Потому что изначально спрашивали без закрытия:
%username%, 10.08.2013 14:35:08:
а не знаешь, как в акелпада сделать бы кнопку для удаления открытого файла (без закрытия вкладки)?

Posted: Sun Jun 22, 2014 8:33 pm
by Skif_off
Infocatcher
Понял, теперь я стал Буридановым ослом :)

С jsBeautifier.js разобрался: проглядел -unformattedTags=[""].

З.Ы. Круто, фтопку Notepad++ с его XML Tools, надоело вручную поправлять после него и скакать между редакторами :)

Posted: Mon Jun 23, 2014 10:43 am
by yozhic
KDJ
AkelPadDocsView.js runtime error :(

---------------------------
Scripts plugin
---------------------------
Script: C:\TotalCommander\totalcmd\Plugins\tools\AkelPad\AkelFiles\Plugs\Scripts\AkelPadDocsView.js
Line: 1328
Symbol: 5
Error: Object doesn't support this property or method
Code: 800A01B6
Source: Microsoft JScript runtime error

---------------------------
Yes No Cancel
---------------------------


AkelPadDocsView.js & AkelPadMethodsView.js
Image

AkelPad - 4.8.9, Scripts - 15.5, AkelPadDocsView.js - ver. 2014-06-20, AkelPadMethodsView.js - ver. 2014-06-19, Win - 8.1

Posted: Mon Jun 23, 2014 12:30 pm
by KDJ
yozhic
Which version of Internet Explorer?

Posted: Mon Jun 23, 2014 12:41 pm
by yozhic
KDJ
IE 11.0.9600.16384

Posted: Mon Jun 23, 2014 7:40 pm
by KDJ
yozhic
Can you try this test version AkelPadDocsView_test.js: KDJ.zip
For now I don't have the possibility to test it with IE 11.

Posted: Tue Jun 24, 2014 7:16 am
by yozhic
KDJ
Thanks a lot, now the runtime error stopped. The only bug that I still occurs, it is a bug with languages. Please watch the video that will show you how things are going.

Posted: Tue Jun 24, 2014 7:20 pm
by KDJ
yozhic
Corrected.

AkelPadDocsView.js
Fixed:
- working with Internet Explorer ver.11,
- setting language on script start.

AkelPadMethodsView.js
Fixed: setting language on script start.

Posted: Tue Jun 24, 2014 8:17 pm
by yozhic
KDJ
Now it works fine. A lot of thanks :D

Get the currently loaded explorer.dll

Posted: Wed Jun 25, 2014 4:41 pm
by r0n
How can I put the currently loaded explorer.dll in a string variable?
(.js script)

To clarify: I found out that you can rename the 'explorer.dll' and then can use different explorer configurations.

But I need to adjust a script that depends on the currently loaded renamed 'explorer.dll', but because I now have 3 different explorer dll's I need a way to put the currently loaded explorer dll in a string.

edit:
My apologies, I wanted to post this question here:
viewtopic.php?t=853
Somehow I managed to post this question in the wrong location.

Posted: Wed Jun 25, 2014 7:38 pm
by KDJ
r0n
If you have three dll's, eg: Explorer1.dll, Explorer2.dll, Explorer3.dll, you can run them all at the same time.
To check is plugin running, use AkelPad.IsPluginRunning method:

Code: Select all

WScript.Echo("Explorer1.dll" + " = " + AkelPad.IsPluginRunning("Explorer1::Main") + "\n" +
             "Explorer2.dll" + " = " + AkelPad.IsPluginRunning("Explorer2::Main") + "\n" +
             "Explorer3.dll" + " = " + AkelPad.IsPluginRunning("Explorer3::Main"));

Posted: Wed Jun 25, 2014 7:41 pm
by r0n
@KDJ

Thank you!!!
It works!

Posted: Fri Jun 27, 2014 10:11 pm
by KDJ
AkelPadManualSettings.js
Fixed: redraw AkelPad window after pressing "Apply" button.
Updated: description of StatusUserFormat parameter.

Posted: Sun Jun 29, 2014 6:27 pm
by KDJ
AkelPadTitle.js
Added: parameter - text displayed, if AkelPad is running as administrator (Win-Vista+).

Posted: Thu Jul 03, 2014 5:54 pm
by KDJ
FindReplaceFiles.js
Added: scaling dialog window to DPI of screen.
Changed: option "Run in separate window" does not require a script restart.