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 

psp pad editor format

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
ggirf14



Joined: 01 Nov 2005
Posts: 108
Location: Ottawa

PostPosted: Sun Apr 22, 2007 5:39 pm    Post subject: psp pad editor format Reply with quote

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
Back to top
View user's profile Send private message
MsgBox



Joined: 17 Nov 2005
Posts: 181
Location: Leicester, UK

PostPosted: Sun Apr 22, 2007 7:06 pm    Post subject: Reply with quote

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!! Smile
Back to top
View user's profile Send private message Visit poster's website
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Sun Apr 22, 2007 10:11 pm    Post subject: Reply with quote

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"?
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Helpy
Guest





PostPosted: Mon Apr 23, 2007 9:22 am    Post subject: Reply with quote

If you think of Auto-Syntax-Tidy v12, it has been made by toralf...
Back to top
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Mon Apr 23, 2007 3:53 pm    Post subject: Reply with quote

yes, that's the one. I couldn't remember who mad it. Sorry toralf for the bad memory I have.
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3910
Location: Bremen, Germany

PostPosted: Mon Apr 23, 2007 5:54 pm    Post subject: Reply with quote

not a problem. i feel honored to be mistaked for/mixed up with rajat.

BTW: MsgBox already gave the link. :)
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Mon Apr 23, 2007 7:07 pm    Post subject: Reply with quote

toralf wrote:
BTW: MsgBox already gave the link. Smile


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

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Helpy
Guest





PostPosted: Tue Apr 24, 2007 8:57 am    Post subject: Reply with quote

toralf wrote:
MsgBox already gave the link. Smile
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...
Back to top
svi



Joined: 09 Oct 2006
Posts: 236
Location: Finland

PostPosted: Tue Apr 24, 2007 8:29 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
BoBoĻ
Guest





PostPosted: Tue Apr 24, 2007 8:32 pm    Post subject: Reply with quote

Code:
[url=http://www.MyLink.com]MyLinkName[/url]

That way?
Back to top
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Tue Apr 24, 2007 8:33 pm    Post subject: Reply with quote

Code:

[url=http://url.goes.here]Link Text Goes here[/url]

_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
engunneer



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Tue Apr 24, 2007 8:34 pm    Post subject: Reply with quote

BoBo beats me again Confused
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
ggirf14



Joined: 01 Nov 2005
Posts: 108
Location: Ottawa

PostPosted: Wed Apr 25, 2007 3:55 pm    Post subject: Reply with quote

Thanks! Very Happy
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
Back to top
View user's profile Send private message
ggirf14



Joined: 01 Nov 2005
Posts: 108
Location: Ottawa

PostPosted: Thu Apr 26, 2007 12:19 am    Post subject: Reply with quote

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



Joined: 30 Aug 2005
Posts: 8255
Location: Maywood, IL

PostPosted: Thu Apr 26, 2007 12:22 am    Post subject: Reply with quote

you can also run a script from the autohotkey\extras\editors\ folder to automatically add these options to pspad (and many other editors)
_________________

(Common Answers)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
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