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
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
doublebogey



Joined: 20 Oct 2005
Posts: 23

PostPosted: Thu Feb 09, 2006 2:01 am    Post subject: Reply with quote

@brotherS

In PSPad, check Settings>Edit Clip Definition File>Autohotkey

If this does not show Autohotkey, its probably not installed.

also
Syntax highlighting only shows when extension is saved as .ahk, a trap I fell into when creating new scripts not saved yet.

dB (who wants code folding)
_________________
Everyone makes mistakes, that's why they put erasers on pencils. Milhouse, The Simpsons
Back to top
View user's profile Send private message
toralf



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

PostPosted: Thu Feb 09, 2006 9:32 am    Post subject: Reply with quote

Just as a side note:
UltraEdit support codes folding. But it is not freeware.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JSLover



Joined: 20 Dec 2004
Posts: 542
Location: LooseChange911.com... the WTC attacks were done by the US Gov't... the official story is a lie...

PostPosted: Thu Feb 09, 2006 10:19 am    Post subject: Reply with quote

not freeware = crap
UltraEdit = crap (not freeware)

...on the other hand shareware is...Evil or Very Mad Evil! Evil or Very Mad...at least some stuff that's "not freeware" is upfront about it...
_________________

Home • Click image! • Blog
Back to top
View user's profile Send private message Visit poster's website
toralf



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

PostPosted: Thu Feb 09, 2006 10:28 am    Post subject: Reply with quote

This opinion is too extreme for me.
Not everything can or will be freeware.

Just because something is not freeware means that it is crap. And freeware by itself doesn't make a software perfect/good/excellent.

There are good software in commercial software and freeware
and there are crap software in commercial software and freeware
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Thu Feb 09, 2006 10:46 am    Post subject: Reply with quote

JSLover likes to make measured and temperate sentences...

I don't use shareware, as freewares supply 99% of my needs.
But I don't think shareware is evil either. Why should it be?
Some people work hard to make software as good as they can, and they have customer thinking their program is good enough to pay for it.
And that's OK, programmers must eat and have a home and buy computers...

I don't like UltraEdit (personnal taste), but I think it is full featured and powerful. It probably has some features other text editors doesn't have. It seems to have enough customer to testify for that.

Same for other sharewares. Some make me laught, because I know some freewares that are much better (who pay for a file renamer?), but if authors can earn some money with naive users which don't what to search further, why not.

What is evil is adwares. Some are obnoxious but inoffensive, like most chat programs (Microsoft's included) or previous version of free Opera browser, but too much of them include spywares, which is truely evil.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Thu Feb 09, 2006 10:49 am    Post subject: Reply with quote

toralf wrote:
UltraEdit support codes folding. But it is not freeware.

SciTE supports code folding, is freeware (and open source) but currently doesn't have a AutoHotkey lexer.
It may have one someday, if I find some time to work on it. I am defining some rules based on the doc.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Thu Feb 09, 2006 4:50 pm    Post subject: Reply with quote

PhiLho wrote:
SciTE supports code folding, is freeware (and open source) but currently doesn't have a AutoHotkey lexer.
It may have one someday, if I find some time to work on it. I am defining some rules based on the doc.
Take a look here: http://www.autoitscript.com/autoit3/scite/
Amazing what was done with Scite, it is almost as covenient as a Delphi IDE Cool
I think borrowing the ideas cannot harm. Wink
_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
hurricanedavid



Joined: 18 Nov 2005
Posts: 77
Location: Southern USA

PostPosted: Mon Feb 13, 2006 9:19 pm    Post subject: Reply with quote

I have to throw in a vote for jEdit. I took a look at PSPad, and it looks like a good editor. But I currently am trying out jEdit, and I don't see myself switching any time soon. I've used it for programming in ColdFusion and PHP, as well as AHK, and am very happy.

  • Code Folding
  • Auto-completion via plug-ins and configurable xml files
  • Columnar selection/insertion/deletion
  • FTP (open files on ftp server and it copies uploads them every time you hit save)
  • Configurable syntax coloring via xml files. AHK is distributed with a macro that will install the AHK stuff automatically.
  • Nice hypersearch feature that lists every occurence of text... in context
  • Write your own Java BeanShell scripts to do pretty much anything. This is their macro architecture. Very powerful. And if you already know a little Java, you're in!
  • RegEx searching and replacing
  • AutoBackup that keeps the last x number of saves
  • Plug-in architecture to write your own, or just download really useful stuff from website
  • Lots of options to tweak the interface to your liking
  • Forum community support and tips
  • Word completion gives you a list of all the words in the document that begin with what you just typed. This is great for those long variable names that you used somewhere at the top of your document.
  • Appending text you copy to the clipboard (when you want to), rather than having it replace it
  • QuickCopy (apparently a Unix funzie). Select some text you want to copy to a different location, then just middle-click where you want it to be copied to and it's there. It doesn't use the clipboard. Me like. This also works kinda in reverse as you are typing out a command or function call. As you are typing, and you are ready to type in a variable name from above in your code, you just leave your caret where it is and middle-button-drag the variable name above to have it insert it where your caret was. Very cool for quickly filling in functions.
  • The TaskList plug-in looks in your code for "// TODO:", "<!-- TODO:", and "/* TODO:" style comments and puts them together into a task list for each page.
  • Ctrl-D deletes a line. I never knew how handy that would be!
  • Right-click menu is totally configurable for frequently-used commands.
  • Abbreviations, which will expand out to longer text that you have preprogrammed.
  • Markers, like bookmarks within files
  • File system browser to open files without having to leave jEdit.
  • Multiple views of same document via window splitting.
  • Multiple "Registers", which are like multiple clipboards, you can copy text to and from them.
  • Keyboard shortcuts are all configurable and can be bound to any command or macro
  • Bracket matching
  • Console access
  • Select a tag, and it's pair is also highlighted.
  • Good help documentation
  • It's free
Back to top
View user's profile Send private message
Veovis



Joined: 13 Feb 2006
Posts: 390
Location: Utah

PostPosted: Tue Feb 14, 2006 3:31 am    Post subject: Reply with quote

HELP WITH PSPAD AHK SUPPORT

I am trying pspad and am pleased with the ctrl-j complete with variables as well (WOW!)

But i have tried the click on this to make PSpad like AHK thing and i still cant get it to color code ahk files

i looked in settings>set clip def file> and autohotkey isnt there

help anyone? I have the newest ver. of PSpad.
_________________

"Power can be given overnight, but responsibility must be taught. Long years go into its making."
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rabiator



Joined: 17 Apr 2005
Posts: 270
Location: Sauerland

PostPosted: Tue Feb 14, 2006 10:34 pm    Post subject: Reply with quote

Did you try this? : http://www.autohotkey.com/forum/viewtopic.php?t=7279&postdays=0&postorder=asc&start=15
Back to top
View user's profile Send private message
toralf



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

PostPosted: Wed Feb 15, 2006 6:03 am    Post subject: Reply with quote

I'm investigating on PSPad if I can use it for my purposes. So far I'm pretty impressed. I have suggested some changes to the *.def file in this post. But I also have some questions regarding the F9 and Ctrl+F9 shortcuts (Run and compile with log file). It would be great if someone of you PSPad users could take a look since you might have found a answer already. Thanks.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Thalon



Joined: 12 Jul 2005
Posts: 640

PostPosted: Wed Feb 15, 2006 6:21 am    Post subject: Reply with quote

@hurricanedavid
I had a look at jEdit yesterday and like many other Java-Applications I do not like it's style and it doesn't offer anything I really missed at PSPad..

@Toralf
I did never use F9 up to now ^^
My Scripts do have a reload-Hotkey during development Wink

Thalon
_________________
AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault
Back to top
View user's profile Send private message
toralf



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

PostPosted: Wed Feb 15, 2006 9:55 am    Post subject: Reply with quote

Ok, here is the solution for PSPad for the question asked in this post
Quote:
PSPad offers an option to show a log file for execution/compilation of a script.
a) For the execution I thought I could use the /ErrorStdOut command line option to create a log file, but failed. Has anybody got it working?
b) For the compilation I will create a script that will create a log file with some information. Has anybody done this already?


For a) you have to specify for the external program:

Name : AutoHotKey
Program: cmd.exe /c C:\Programme\AutoHotkey\AutoHotkey.exe /ErrorStdOut "%File%" > "%Dir%%Name%_run.log"
Log-File: %Dir%%Name%_run.log

For Name you can use any name I guess
For Program be sure to use the "" like I did, you'll have to adjust the path to your AHK.exe.
For Log-File be sure NOT to use the "".

Now if you call this extrenal program (if it is the first in the list just press F9), it will start the script. The log file will be shown in the lower part of the PSPad Gui. If there is an error during start time it will be listed. I haven't checked yet what happens if there is a runtime error.

EDIT: Please make sure you have set "SetWorkingDir, %A_SCRIPTDIR%" in your scripts. Otherwise relative paths (where you assume the path is A_SCRIPTDIR) might not work when you run the script from within PSPad.


For b) I have created a script that is called instead of the compiler, it compiles the script, writes the log file and it counts the number of times the script got compiled. All this information will be shown in the log file area in the lower part of the PSPad Gui. When I'm sure it works well, I will post it as well. If you can't wait for it, let me know and I'll post the beta version.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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
Page 3 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