Sign in to follow this  
Followers 0
LazyCoder

PSPad configuration utility for AutoIt v3

22 posts in this topic

#1 ·  Posted (edited)

I use PSPad to write my AutoIt v3 scripts. Thus I came to make a little tool to reproduce/re-install my AutoIt v3 configuration and preferences for PSPad.

Maybe this tool can be interesting for others.

This tool includes:

- Tidy (thanks to Jos van der Zande)

- CompileAu3 (thanks again to Jos van der Zande)

- Au3Check (thanks to Tylo)

Of course, I'll try to update my tools as often as AutoIt or those tools are updated.

Indeed, I'm usure I'm using the up-to-date version of those tools, but I release my tool anyway, just to see whether it's a good thing to share or not.

Please note that the syntax and clips are those corresponding to the BETA version of AutoIt (the one I use...).

Enjoy!

Here is http://www.autoitscript.com/fileman/users/public/LazyCoder/PSPAu3Conf.exe !

PS: If I did something not allowed, I apologize and be sure I did not intend to...

Edited by LazyCoder

A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

This tool includes:

- Tidy (thanks to Jos van der Zande)

- CompileAu3 (thanks again to Jos van der Zande)

- Au3Check (thanks to Tylo)

Of course, I'll try to update my tools as often as AutoIt or those tools are updated.

Indeed, I'm usure I'm using the up-to-date version of those tools, but I release my tool anyway, just to see whether it's a good thing to share or not.

<{POST_SNAPBACK}>

CompileAU3 is an older version, should be v 1.0.5... (I haven't been updating the "My Autoit3 stuff" webpage text but the links are up-to-date. )

:idiot:


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thank you.

Updated :idiot:


A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I'm almost sure I'm the only one here using PSPad rather than Scite to write my AutoIt scripts... but anyway, I updated my configuration tool to the last 3.0.103 version.

For the happy few (very few I guess...)

Edited by LazyCoder

A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

I use it too. Since yesterday.

I'll try your tool out now.

Share this post


Link to post
Share on other sites

-Thanks God for small mercies- :idiot:


A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

I used to use PSPad at first until I used JdeB's Scite4Autoit3. Haven't went back since then, Scite4Autoit3 is awesome and is continually updated like clock work. JdeB is awesome !!

Share this post


Link to post
Share on other sites

It has a few bugs.

You really need to test it before release.

- Check the "external applications" section; "%File%" is not always needed

- AU3Record is not installed here.

- There was something with the Tidy installation. Can't remember...

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

EDIT: removed post because i think i misunderstood previous postings.... sorry. :">

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

I also use PSPad. I simply love it! The only missing thing for it is the CodeExplorer for AutoIt. Then it'd be perfect.

I haven't tried Scite since a lot of time ago but when I tried it was nice but seemed less featured than PSPad. The only thing that Scite had that PSPad had not was code folding and that is not such a big deal for me.

I'd like to encourage everyone to try PSPad. It is really great free software, with a lot of features, like built-in comparison tool, and a lot more.

Cheers,

Angel

Share this post


Link to post
Share on other sites

@SlimShady :

It has a few bugs.

You really need to test it before release.

That's right, I didn't test this one as much as my first one...

As I really intend to test my work before ANY release, I sincerely apologize.

- The useless "%File%" where bad Copy'n'paste results... :idiot:

- AU3Record is now installed (error so stupid I'm still amazed I made it... :D )

- I relied till then on Tidy installation. That's why at the end it proposed to open a file to tidy. Modified so that you only have the configuration panel then continue PSPAu3Conf installation.

So it's updated (v1.0.4.0), was much more tested and should almost be "monkey-proof" this time - as I say.


A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

Don't worry, it's OK.

I'm glad you fixed the obvious bugs.

3 things:

- suggestion: uninstallation support

- a debug box is showing up

- bug: the path to the compiler is incorrect.

About the last one:

I made a batch file that runs Au3Check first.

It will only compile if there are no errors.

The errors will be shown.

Another suggestion:

- Add Au3Check in the "External Programs" list

You may edit and use my batch file if you want.

I have put CheckComp.bat in the following folder:

C:\Program Files\AutoIt3\Extras\Compileau3

I tested it and it works great.

(Rename it with the extension .BAT)

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Updated (v1.0.4.1):

- Removed DEBUG window (damn, was I tired to forget it?)

- Changed compiler path

With PSPad you do not need to make such a batch file: you "compile" with Au3Check then launch CompileAu3. If Au3Check returns an error code, you don't got any further so...

And with this use, you can double-click on the error lines shown in the log panel to directly go there and correct your code.

My mistake was that I forgot the "Run after compilation" line in my tool.

I'll soon work on uninstallation ability and will improve my installation too.

Thanks for your feedback.

Edited by LazyCoder

A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

With PSPad you do not need to make such a batch file: you "compile" with Au3Check then launch CompileAu3. If Au3Check returns an error code, you don't got any further so...

And with this use, you can double-click on the error lines shown in the log panel to directly go there and correct your code.

<{POST_SNAPBACK}>

Ah. Now I understand. Good idea.

Share this post


Link to post
Share on other sites

Updated to v1.0.4.2 to include Au3Check v1.24...


A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

Updated (v1.0.4.1):

- Removed DEBUG window (damn, was I tired to forget it?)

- Changed compiler path

With PSPad you do not need to make such a batch file: you "compile" with Au3Check then launch CompileAu3. If Au3Check returns an error code, you don't got any further so...

And with this use, you can double-click on the error lines shown in the log panel to directly go there and correct your code.

My mistake was that I forgot the "Run after compilation" line in my tool.

I'll soon work on uninstallation ability and will improve my installation too.

Thanks for your feedback.

<{POST_SNAPBACK}>

LazyCoder, you don't really need to do the au3check first, since the au3check can also be done by compileau3.exe . It defaults to run it. :idiot:

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

Updated (v1.0.4.4):

- updated Au3Check v1.25

- changed Au3Check install dir to allow CompileAu3 to launch is own checking (sorry I missed that before)

@JdeB:

I know that, but if I use my sequence, PSPad is able to redirect Au3Check output to a LOG window that I can use to correct my code by double-clicking on the error line.

CompileAu3 treats Au3Check a transparent way and thus do not provide this output.

Moreover, CompileAu3 first shows its window, before any syntax checking, while I consider more logical and efficient to check file first and then display CompileAu3 console...

But that's purely personal.

Thanks for your help and advices.

Edited by LazyCoder

A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

Updated (v1.0.4.8):

- updated Au3Check v1.26

- added link to AutoIt Homepage and Forum in PSPad Online help menu


A good program computing A into B is mostly one that won't crash in all the other cases...

Share this post


Link to post
Share on other sites

I use PSPad to write my AutoIt v3 scripts. Thus I came to make a little tool to reproduce/re-install my AutoIt v3 configuration and preferences for PSPad.

Maybe this tool can be interesting for others.

This tool includes:

- Tidy (thanks to Jos van der Zande)

- CompileAu3 (thanks again to Jos van der Zande)

- Au3Check (thanks to Tylo)

Of course, I'll try to update my tools as often as AutoIt or those tools are updated.

Indeed, I'm usure I'm using the up-to-date version of those tools, but I release my tool anyway, just to see whether it's a good thing to share or not.

Please note that the syntax and clips are those corresponding to the BETA version of AutoIt (the one I use...).

Enjoy!

Here is http://www.autoitscript.com/fileman/users/public/LazyCoder/PSPAu3Conf.exe !

PS: If I did something not allowed, I apologize and be sure I did not intend to...

<{POST_SNAPBACK}>

What happened to the download?

Share this post


Link to post
Share on other sites

Is the download available somewhere? I'm having trouble getting PSPad completely integrated with AU3. I "compile" with Au3Check and then run Aut2EXE to compile. But double-clicking on an error message doesn't bring me to the error location.

I probably just need the proper highlighter settings for AutoIt files.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0