Scripts discussion (3)

Discuss and announce AkelPad plugins
Locked
  • Author
  • Message
Offline
Posts: 1862
Joined: Mon Aug 06, 2007 1:07 pm
Contact:

Post by Infocatcher »

Skif_off
Потому что изначально спрашивали без закрытия:
%username%, 10.08.2013 14:35:08:
а не знаешь, как в акелпада сделать бы кнопку для удаления открытого файла (без закрытия вкладки)?

Offline
Posts: 1161
Joined: Sun Oct 20, 2013 11:44 am

Post by Skif_off »

Infocatcher
Понял, теперь я стал Буридановым ослом :)

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

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

Offline
Posts: 269
Joined: Mon Jun 20, 2011 8:33 am
Location: Электросталь

Post 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

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

yozhic
Which version of Internet Explorer?

Offline
Posts: 269
Joined: Mon Jun 20, 2011 8:33 am
Location: Электросталь

Post by yozhic »

KDJ
IE 11.0.9600.16384

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post 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.

Offline
Posts: 269
Joined: Mon Jun 20, 2011 8:33 am
Location: Электросталь

Post 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.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post 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.

Offline
Posts: 269
Joined: Mon Jun 20, 2011 8:33 am
Location: Электросталь

Post by yozhic »

KDJ
Now it works fine. A lot of thanks :D

r0n
Offline
Posts: 23
Joined: Sat Jun 14, 2014 3:56 am

Get the currently loaded explorer.dll

Post 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.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post 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"));

r0n
Offline
Posts: 23
Joined: Sat Jun 14, 2014 3:56 am

Post by r0n »

@KDJ

Thank you!!!
It works!

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

AkelPadManualSettings.js
Fixed: redraw AkelPad window after pressing "Apply" button.
Updated: description of StatusUserFormat parameter.

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

AkelPadTitle.js
Added: parameter - text displayed, if AkelPad is running as administrator (Win-Vista+).

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

FindReplaceFiles.js
Added: scaling dialog window to DPI of screen.
Changed: option "Run in separate window" does not require a script restart.
Locked