| View previous topic :: View next topic |
| Author |
Message |
Rabiator
Joined: 17 Apr 2005 Posts: 271 Location: Sauerland
|
Posted: Sun Feb 05, 2006 6:29 pm Post subject: |
|
|
| You first have to execute "(Your AHK dir)\Extras\Editors\PSPad\Run this to install syntax and clip files for PSPad.ahk". It will install syntax highlighting, clips, and help file for AutoHotkey. |
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1239
|
Posted: Sun Feb 05, 2006 8:26 pm Post subject: |
|
|
| Thanks Rabiator - I had installed it and had the syntax highlighting was working fine so not quite sure what had happened - reinstalled PSPad and the AHK Extras script and it's working as expected now. |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
Posted: Mon Feb 06, 2006 1:20 pm Post subject: |
|
|
Ctrl-J is my most-used feature of PSPad
AutoCompletion is working for most commands (after installation systax-coloring) and works wonders on variables (no typos possible any more).
Ctrl-Space was never used in practice..
Thalon _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault |
|
| Back to top |
|
 |
Rabiator
Joined: 17 Apr 2005 Posts: 271 Location: Sauerland
|
Posted: Mon Feb 06, 2006 7:12 pm Post subject: |
|
|
| Thalon wrote: | Ctrl-J is my most-used feature of PSPad  | Hey, nice feature, new to me!
| Quote: | | If there are any grammatical problems or misspelling in my posts please send me a PN or post it as part of your answer. | Ok, ... syntax-coloring  |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5382 Location: /b/
|
Posted: Mon Feb 06, 2006 7:29 pm Post subject: |
|
|
| Thalon wrote: | | Ctrl-Space was never used in practice.. | I never knew about this, it's totally awesome! However writing code from memory has now become second nature to me; but I suppose this feature would really help newbies. _________________
 |
|
| Back to top |
|
 |
kiu
Joined: 18 Dec 2005 Posts: 229 Location: Italy - Galatro(RC)
|
Posted: Mon Feb 06, 2006 8:16 pm Post subject: Re: I really must recommand PSPad for editing AHK files...FT |
|
|
| Rabiator wrote: |
Vertical selection works, with Shift+Ctrl+C. |
Vertical selection works, with ALT+ "start selecting" too _________________ ____________________
______________________
kiu |
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1239
|
Posted: Mon Feb 06, 2006 8:38 pm Post subject: |
|
|
I'll update the list of shortcuts in my earlier post for anyone who wants a quick over-view in future.
@ Thalon: I didn't realise Ctrl+J auto-completes for variables too - that's definitely handy as I like to use (long) descriptive names for my variables. |
|
| Back to top |
|
 |
JSLover
Joined: 20 Dec 2004 Posts: 541 Location: LooseChange911.com... the WTC attacks were done by the US Gov't... the official story is a lie...
|
Posted: Tue Feb 07, 2006 12:19 am Post subject: |
|
|
| evl wrote: | | ...Ctrl+J auto-completes... |
...I haven't downloaded the new version yet, but are those keys configurable?...Ctrl+J don't seem a good "shortcut" for anything, cuz you need 2 hands for it...(unless you're a freak with big hands)...this seems better...
Ctrl+Space = auto-complete (command name AND variables)
Ctrl+Shift+Space = auto-complete full command line ...really I'd want Tab for completetion, but then I don't know how you'd Tab...??? Maybe Win+C = Complete, Win+Shift+C = Complete whole command line (what does that mean anyway "auto-complete a full command line").
| Thalon wrote: | | ...please send me a PN or... |
...before I thought you were kidding...but maybe not...PN != PM...is that really a typo? _________________
Home • Click image! • Blog |
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1239
|
Posted: Tue Feb 07, 2006 12:44 am Post subject: |
|
|
@ JSLover:
Yes Ctrl+J is configurable (Settings > Program Settings > Key Map > Tools) but I didn't notice anywhere to change Ctrl+Space which was odd. By "auto-complete a full command line" I meant that it inserts a full example of its usage from the help file such as "Sort, VarName [, Options]".
Also I noticed the shortcut for Autohotkey help is Alt+F1 |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
Posted: Tue Feb 07, 2006 7:20 am Post subject: |
|
|
Thanks Rabiator (this was a typo) and JSLover (I did not recognize my mistake, because in german a PN is the same as a PM!)
I really like the PSPad because of this feature (I also prefere very descriptive names, so that every noob (I) can read the code also in some month without heavy description
But I think it is broken if the code exceeds about 8000 lines XD
After this break-through there are several names which can't be autocompleted any more (used in the above part), so I think there is a maximum of words or letters in the autocompletion-buffer.
Thalon _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault |
|
| Back to top |
|
 |
doublebogey
Joined: 20 Oct 2005 Posts: 23
|
Posted: Wed Feb 08, 2006 8:06 pm Post subject: |
|
|
Hi All
A relative newcomer to any programming and I am very impressed with AHK and what I can now achieve.
I started by using PSPad, and again, I was very impressed, but..
I wanted a feature where I could condense the code to a single line, to help me understand the overall structure of everyones scripts.
As far as I am aware PSPad does not have 'code folding'. where as Notepad++ does. This is invaluable to me as I learn more.
Any help is always appreciated.
Thanks
dB _________________ Everyone makes mistakes, that's why they put erasers on pencils. Milhouse, The Simpsons |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Feb 08, 2006 11:02 pm Post subject: |
|
|
| doublebogey is right, it's a pity PSPad is missing this feature - a while back I was searching the forums of PSPad to see if it was possible, but found it was a requested feature, although I have no idea if it is going to be added or not. |
|
| Back to top |
|
 |
brotherS
Joined: 01 Jun 2005 Posts: 147
|
Posted: Thu Feb 09, 2006 12:38 am Post subject: |
|
|
Damn... I can't figure out how to get AHK syntax highlighting in PSPad
I tried "Run this to install syntax and clip files for PSPad" and tried it also manually, but failed Is there a step-by-step how-to somewhere? _________________ DonationCoder.com brings AHK to the newbies!
Fan of AutoHotkey? Consider an occasional donation to its developer, Chris Mallett. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Feb 09, 2006 1:06 am Post subject: |
|
|
@evl
While we are on the Cntl+J and Cntl+Space shortcuts.
If you using a mouse wheel with click, it does the same as Cntl+space.
Click mouse wheel, and then scroll to AHK function required. Select as normal
Thanks
dB |
|
| Back to top |
|
 |
evl
Joined: 24 Aug 2005 Posts: 1239
|
Posted: Thu Feb 09, 2006 1:42 am Post subject: |
|
|
@ brotherS: "but failed" - could you be more precise? Have you tried opening an ahk file in PSPad to see if it works?
@ Guest: Thanks for reminding me about the middle-click, forgot to add that to the list. |
|
| Back to top |
|
 |
|