delete line and duplicate line shortcuts

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 4
Joined: Tue Oct 09, 2012 12:48 pm

delete line and duplicate line shortcuts

Post by tri6791 »

Does akelpad has delete line and duplicate line shortcuts? I looked through the menus and plugins but couldn't find these functions.

Offline
Posts: 147
Joined: Fri Feb 08, 2008 6:41 pm
Location: British Columbia, Canada

delete line and duplicate line shortcuts

Post by Surveyor »

tri6791,

Welcome to the Forum!

Delete current line: F8
Duplicate line handling (find/remove) - use Format plugin.

Usually any feature of AkelPad (not plugins) can be found by using Search in my User Manual.

- Surveyor

Offline
Posts: 4
Joined: Tue Oct 09, 2012 12:48 pm

Re: delete line and duplicate line shortcuts

Post by tri6791 »

USER MANUAL....I forgot about it. Thanks Surveyor.

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

Post by KDJ »

tri6791
Using Hotkeys plugin you can view and reassign shortcuts.

To duplicate line, use script:
DuplicateLines.js
or
LinesSelectCopyMoveDuplicate.js

Offline
Posts: 4
Joined: Tue Oct 09, 2012 12:48 pm

Post by tri6791 »

@KDJ: Thanks for the tips....I was reading the user manual and trying to figure out how to change hotkey manually. Hotkeys plugin is certainly a lot easier :D

Can you show me a link or give me a quick tip on how to install and use the script? Thanks
Tri

Edit: I found the plugin user manual....reading it now :)

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

Post by KDJ »

tri6791
Plugins manual is a little outdated.
Descriptions of all current plugins are in the directory: ...\AkelPad\AkelFiles\Docs\

To "install" script eg. LinesSelectCopyMoveDuplicate.js you must save text of script in file: ...\AkelPad\AkelFiles\Plugs\Scripts\LinesSelectCopyMoveDuplicate.js
To use function "duplicate line" from this script, you can assign shortcut (eg. Alt+Y) by Hotkeys plugin:
Name: Duplicate line
Command: Call("Scripts::Main", 1, "LinesSelectCopyMoveDuplicate.js", "D 1")
Hotkey: Alt+Y

Offline
Posts: 876
Joined: Tue Jul 24, 2007 8:54 am

Post by Fr0sT »

Ctrl-Y also removes current line, it's Windows-style shortcut

Offline
Posts: 4
Joined: Tue Oct 09, 2012 12:48 pm

Post by tri6791 »

Code: Select all

Command: Call("Scripts::Main", 1, "LinesSelectCopyMoveDuplicate.js", "D 1") 
I got an error cannot open AkelFiles\Plugs\Scripts\Scripts.dll. Where do I get scripts.dll file?

Edit: I think I got it...I have to install scripts plugin.

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

Post by KDJ »

tri6791
Manually: http://akelpad.sourceforge.net/en/plugins.php
Auto: Main menu -> Help -> Update
Post Reply