AutoHotkey Community

It is currently May 25th, 2012, 2:35 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: psp pad editor format
PostPosted: April 22nd, 2007, 6:39 pm 
Offline

Joined: November 1st, 2005, 6:38 pm
Posts: 114
Location: Ottawa
Is there a way to set "PSPad - text and code editor" to format, higlight coding for AHK?

My goal is to have a more clear code. Ex.http://www.angelfire.com/ultra2/rajat/scripts/rc4.ahk.txt


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 22nd, 2007, 8:06 pm 
Offline

Joined: November 17th, 2005, 10:14 pm
Posts: 196
Location: Leicester, UK
If you mean syntax highlighting...do you?... have a look in the AutoHotkey\Extras\Editors\PSPad folder.
For code formatting this might help: http://www.autohotkey.com/forum/viewtopic.php?p=46338

BTW I use PSPad too, its brilliant!! :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 22nd, 2007, 11:11 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
there was also a script quite a while ago (by Rajat, I think) that will format your code nicely. It may need to be updated. try searching the word "tidy"?

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2007, 10:22 am 
If you think of Auto-Syntax-Tidy v12, it has been made by toralf...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2007, 4:53 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
yes, that's the one. I couldn't remember who mad it. Sorry toralf for the bad memory I have.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2007, 6:54 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
not a problem. i feel honored to be mistaked for/mixed up with rajat.

BTW: MsgBox already gave the link. :)

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 23rd, 2007, 8:07 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
toralf wrote:
BTW: MsgBox already gave the link. :)


I failed to click it.. my time for answering posts is limited, so I don't always get to click all the links posted

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2007, 9:57 am 
toralf wrote:
MsgBox already gave the link. :)
Yes, that's the problem of giving http://www.autohotkey.com/forum/viewtopic.php?p=46338 instead of Auto-Syntax-Tidy v12... I rarely click on mystery meat links...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2007, 9:29 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
But how to name a link?

I know that href works in a web page, but how is it done in this forum?

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2007, 9:32 pm 
Code:
[url=http://www.MyLink.com]MyLinkName[/url]

That way?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2007, 9:33 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
Code:
[url=http://url.goes.here]Link Text Goes here[/url]

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 24th, 2007, 9:34 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
BoBo beats me again :?

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 25th, 2007, 4:55 pm 
Offline

Joined: November 1st, 2005, 6:38 pm
Posts: 114
Location: Ottawa
Thanks! :D
Auto-Syntax-Tidy v12 (from toralf) works great. I was also looking for highligh feature but I found it within the application.
1st step :
from the menu bar go to Setting \ User highlighter from the seletion window browse to Autohotkey.ini

2nd step:
On "file \ New file" a list will come up, Autohotkey is at the bottom. Or if you have open a new file without selecting Autohotkey you may switch by going from the menu bar on "View \ change syntax". :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 26th, 2007, 1:19 am 
Offline

Joined: November 1st, 2005, 6:38 pm
Posts: 114
Location: Ottawa
To have the help file available from the application.
Go to Setting \ Highlighter setting and in the help file field browse to C:\Program Files\AutoHotkey\AutoHotkey.chm

When this is done you can highlight a command, right click and the first option is "Help for Language". It will bring you directly to the help file for that command.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 26th, 2007, 1:22 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
you can also run a script from the autohotkey\extras\editors\ folder to automatically add these options to pspad (and many other editors)

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, lblb and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group