| View previous topic :: View next topic |
| Author |
Message |
doublebogey
Joined: 20 Oct 2005 Posts: 22
|
Posted: Tue Aug 29, 2006 10:15 pm Post subject: |
|
|
Hi Toralf
The Ini files after install 0.8 and 0.9 are identical,
| Code: | [AutoHotkey]
Filter=AutoHotkey (*.ahk)|*.ahk
Compilator Help=C:\Program Files\AutoHotkey\AutoHotkey.chm
Compilator File=C:\Program Files\AutoHotkey\AutoHotkey.exe
Compilator Param=/ErrorStdOut |%File%| > |%Temp%\PSPad_run.log|
Comment=00FF00001FFFFFFF010
Identifier=1FFFFFFF1FFFFFFF000
Key=1FFFFFFF1FFFFFFF100
Key words 2=000080FF1FFFFFFF100
Key words 3=000000FF1FFFFFFF100
Label=000000FF1FFFFFFF000
Number=008000001FFFFFFF000
Preprocessor=008080001FFFFFFF010
Reserved Word=000000801FFFFFFF100
Space=008080001FFFFFFF000
String=000080001FFFFFFF000
Symbol=1FFFFFFF1FFFFFFF000
HLTabWidth=0
IndentChar=
UnIndentChar=
Prog0=Compile with log,|C:\WINDOWS\system32\cmd.exe| /c ||C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe| /in |%File%| /out |%Dir%%Name%.exe| /pass 123#321 > |%Temp%\PSPad_compile.log||§%Temp%\PSPad_compile.log
Prog1=AU3_Spy,|C:\Program Files\AutoHotkey\AU3_Spy.exe|
Compilator LOG=%Temp%\PSPad_run.log
Compilator Run=
Compilator SaveAll=1
Compilator ParsLog=%F (%L): ==>
Compilator Capture=1
Compilator HideOutput=1
Compilator DefaultDir=%Dir% |
But under the highlighter Settings I noticed the following changes.
Settings>Highlighter Settings>External Applications (Autohotkey)
| Code: | 0.8 "C:\WINDOWS\system32\cmd.exe" /c ""C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /in "%File%" /out "%Dir%%Name%.exe" /pass 123#321 > "%Temp%\PSPad_compile.log""
0.9 "C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe" /in "%File%" /out "%Dir%%Name%.exe" |
This all started when I updated all versions of AHK, PSPad, and Syntax 0.9
So the error may be elswhere, but 0.9 is the common
Sorry I could not be of more help.
Thanks
dB _________________ Everyone makes mistakes, that's why they put erasers on pencils. Milhouse, The Simpsons |
|
| Back to top |
|
 |
toralf as guest Guest
|
Posted: Wed Aug 30, 2006 6:30 am Post subject: |
|
|
If there is a difference between them in the highlighter settings, then there has to be a difference in the PSPad.ini. It has to be different in this line: | Code: | | Prog0=Compile with log,|C:\WINDOWS\system32\cmd.exe| /c ||C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe| /in |%File%| /out |%Dir%%Name%.exe| /pass 123#321 > |%Temp%\PSPad_compile.log||§%Temp%\PSPad_compile.log | DO you have a multiuser setup? If yes, the pspad.ini is in you user profile. If no, it is in the program folder. |
|
| Back to top |
|
 |
toralf as guest Guest
|
Posted: Wed Aug 30, 2006 6:46 am Post subject: |
|
|
I looked at the code, the difference could be caused, because you didn't check the "w/ log and pass" for Compile. Please redo the v0.9 installation with this checkbox set.
Since this is the setting to compile the script (normally Ctrl+F9) it should not cause the problem. You are "running" the script with F9, right?
Please post the compiler settings (they are used to run the script) from your pspad.ini (pspad folder or "%APPDATA%\PSpad\PSPad.INI" depending if you have multi user environment(specified in PSPAD in Settings>program settings...>system integration>multi user environment)) of v0.8 and 0.9 | Quote: | Compilator Help=C:\Programme\AutoHotkey\AutoHotkey.chm
Compilator File=C:\Programme\AutoHotkey\AutoHotkey.exe
Compilator Param=/ErrorStdOut |%File%| > |%Temp%\PSPad_run.log|
HLTabWidth=0
IndentChar=
UnIndentChar=
Compilator File=
Compilator Param=
Compilator LOG=%Temp%\PSPad_run.log
Compilator Run=
Compilator Help=
Compilator SaveAll=1
Compilator ParsLog=%F (%L): ==>
Compilator Capture=1
Compilator HideOutput=1
Compilator DefaultDir=%Dir%
| Thanks |
|
| Back to top |
|
 |
doublebogey
Joined: 20 Oct 2005 Posts: 22
|
Posted: Wed Aug 30, 2006 1:20 pm Post subject: |
|
|
spot on.
installed with 'w/log and pass' and now everthing is OK.
Thanks for that Toralf
dB
(i can break anything) |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Sat Sep 02, 2006 3:31 pm Post subject: |
|
|
So, finally, I think I got it. This should be done now.
I have updated the first post to version 1.
It has been tested, but please look for bugs yourself. From now on I will keep track of changes, these are the latest ones: | Quote: | latest changes:
- when PSPad can't be found, user is asked to download PSPad and install it.
- added AHK Toolbar installation, script has to be in "%AHKPath%\Extras\Scripts\AHK_Toolbar"
- added shortcut to quote a selection of text (Ctrl+Shift+<)
- added activation of generally useful hotkeys |
AHK Toolbar will be updated soon, please be patient. You can use the installer without this script. And if you get the Toolbar later you can run the installer again.
I hope one day this script will come with the AHK installer. But that is up to the users and Chris. So people, please post if you had problems with this script and also if no problems occured, if you are satisfied, what you would like to improve, etc.
Thanks a lot in advance. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Sep 02, 2006 6:07 pm Post subject: |
|
|
I'll be trying it out soon since I've been meaning to switch to a fancier editor than metapad. Also, I'll continue to think about ways to better integrate this script and PSPad with AHK.
Thanks for all your work on this. |
|
| Back to top |
|
 |
JeremysDad
Joined: 28 Oct 2005 Posts: 102
|
Posted: Sat Sep 02, 2006 11:10 pm Post subject: |
|
|
Toralf,
Love it to death so far! Found a minor typo when I ran the install. The script tried to install the toolbar by running AHK_Toolbar.ahk however in it's own package, the toolbar script is called PSP_AHK_Toolbar.ahk. Once changed, the install worked fine.
Thanks
Gary |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Sat Sep 02, 2006 11:31 pm Post subject: |
|
|
Thanks Gary/JeremysDad,
That's because PSPad_AHK_Toolbar.ahk got renamed to AHK_Toolbar.ahk (in the next release). Because the Toolbar is not only of PSPad, it could be used with any editor.
I'll package the new AHK_Toolbar with a bunch of scripts and installer. The new AHK_Toolbar is great. :) _________________ Ciao
toralf  |
|
| Back to top |
|
 |
JeremysDad
Joined: 28 Oct 2005 Posts: 102
|
Posted: Fri Sep 15, 2006 5:56 am Post subject: |
|
|
Toralf,
| Quote: |
I'll package the new AHK_Toolbar with a bunch of scripts and installer. The new AHK_Toolbar is great.  |
Just wondering if this is done yet? I'm excited to play with it!
Gary |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Fri Sep 15, 2006 6:04 am Post subject: |
|
|
No, sorry, please be a little more patient, I'll have to finsih two other projects first. After that AHK Toolbar is next. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
POINTS not logged in Guest
|
Posted: Wed Oct 04, 2006 8:52 pm Post subject: |
|
|
This script works great! I tried using the old PSPad definitions for the latest version of PSPad but it didn't work. Your script seemed to do the trick and has a lot more features than the old definitions.
This script should be used in place of the old one if the old one doesn't work with the lastest version of PSPad. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Thu Oct 05, 2006 5:03 pm Post subject: |
|
|
I couldn't get the new one to work with the latest version of PSPad. In addition, it doesn't surprise me that the old one doesn't work either.
If anyone finds out more, please post here. |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Tue Dec 12, 2006 1:47 pm Post subject: |
|
|
Updated script to version2. See first post.
| Changelog wrote: | Changes since version 1:
- updated definition files to AHK 1.0.46.00
- removed AOT state of all msgbox windows, but set them as owndialog
- PSPad.INI isn't required to find PSPad path, since PSPad might not have run before.
- removed the option to remove the FuturUse parameter from the clips, since Chris removed them from the syntax files
- by default the compiler password is a 7-digit random number instead of a static "123#321". It is not stored to the ini file. To have a constant password, you'll have to set it each time you install the highlightning again.
- script starts with a very simple gui (defaults will be used, if options are not changed).
- a second gui with options can be opened. This option gui has tabs to structure the data
- up to 4 additinal external programs can be specified with hotkeys
- additional PSPad hotkeys can be individually activated
- added OutputDebug shortcut to def file: Alt+O
|
_________________ Ciao
toralf  |
|
| Back to top |
|
 |
easye
Joined: 07 Dec 2006 Posts: 6 Location: U.S.A.
|
Posted: Thu Dec 14, 2006 6:16 am Post subject: Some "Clips Hotkeys" Missing? |
|
|
First of all, let me thank you for this. It is really very nice. I'm continually amazed at the constant development and additional "features" added to AHK.
I just installed your new version 2 and came across a problem. I'm not sure if it is something peculiar to my setup or something with the DEF file. For some reason, some of the Clips Hotkeys are missing. If you look on the menu Settings | Clips Hotkeys, the selections are there. But as you can see in the image below there are no hotkeys associated with them.
Any ideas what might be wrong?
Thanks again.
Eric
 |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Thu Dec 14, 2006 7:36 am Post subject: |
|
|
Hallo eric,
Thanks for the feedback. I do not know why this is happening. I guess you have shortcuts in your keyboard shortcut list that override the shortcuts for Ctrl+> and Shift+Ctrl+>. Could you please check the keyboard settings in PSPad or take a look at the KeyMap.INI? If this is the case I will add a check to the script that will ask users for different shortcuts if the planned ones are already in use.
I am wondering why EnvMult get listed, it is not given an hotkey. I have no idea why this happens. I guess it is due to the "*" in the definition. But then I can't do anything about it. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
|