AutoHotkey Community

It is currently May 27th, 2012, 9:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 82 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: August 29th, 2006, 10:15 pm 
Offline

Joined: October 20th, 2005, 11:56 am
Posts: 23
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2006, 6:30 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2006, 6:46 am 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 30th, 2006, 1:20 pm 
Offline

Joined: October 20th, 2005, 11:56 am
Posts: 23
spot on.

installed with 'w/log and pass' and now everthing is OK.

Thanks for that Toralf
dB

(i can break anything)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 2nd, 2006, 3:31 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 2nd, 2006, 6:07 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 2nd, 2006, 11:10 pm 
Offline

Joined: October 28th, 2005, 1:26 am
Posts: 113
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 2nd, 2006, 11:31 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2006, 5:56 am 
Offline

Joined: October 28th, 2005, 1:26 am
Posts: 113
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2006, 6:04 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2006, 8:52 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 5th, 2006, 5:03 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 12th, 2006, 1:47 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 14th, 2006, 6:16 am 
Offline

Joined: December 7th, 2006, 4:14 pm
Posts: 6
Location: U.S.A.
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

Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 14th, 2006, 7:36 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
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
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 82 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, nomissenrojb, Stigg and 19 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