AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I really must recommand PSPad for editing AHK files...FTW
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
Rabiator



Joined: 17 Apr 2005
Posts: 271
Location: Sauerland

PostPosted: Sun Feb 05, 2006 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Sun Feb 05, 2006 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Mon Feb 06, 2006 1:20 pm    Post subject: Reply with quote

Ctrl-J is my most-used feature of PSPad Smile
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
View user's profile Send private message
Rabiator



Joined: 17 Apr 2005
Posts: 271
Location: Sauerland

PostPosted: Mon Feb 06, 2006 7:12 pm    Post subject: Reply with quote

Thalon wrote:
Ctrl-J is my most-used feature of PSPad Smile
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 Smile
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5382
Location: /b/

PostPosted: Mon Feb 06, 2006 7:29 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
kiu



Joined: 18 Dec 2005
Posts: 229
Location: Italy - Galatro(RC)

PostPosted: Mon Feb 06, 2006 8:16 pm    Post subject: Re: I really must recommand PSPad for editing AHK files...FT Reply with quote

Rabiator wrote:

Vertical selection works, with Shift+Ctrl+C.

Vertical selection works, with ALT+ "start selecting" too
_________________
____________________
______________________
kiu
Back to top
View user's profile Send private message Visit poster's website
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Mon Feb 06, 2006 8:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
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...

PostPosted: Tue Feb 07, 2006 12:19 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Tue Feb 07, 2006 12:44 am    Post subject: Reply with quote

@ 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
View user's profile Send private message
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Tue Feb 07, 2006 7:20 am    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message
doublebogey



Joined: 20 Oct 2005
Posts: 23

PostPosted: Wed Feb 08, 2006 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Wed Feb 08, 2006 11:02 pm    Post subject: Reply with quote

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

PostPosted: Thu Feb 09, 2006 12:38 am    Post subject: Reply with quote

Damn... I can't figure out how to get AHK syntax highlighting in PSPad Confused

I tried "Run this to install syntax and clip files for PSPad" and tried it also manually, but failed Sad 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
View user's profile Send private message
Guest






PostPosted: Thu Feb 09, 2006 1:06 am    Post subject: Reply with quote

@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

PostPosted: Thu Feb 09, 2006 1:42 am    Post subject: Reply with quote

@ 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group