Jump to content
Sign in to follow this  
Jos

New Scite4AutoIt3 installer

Recommended Posts

Jos

8/28/2005: Uploaded a new SciTe4AutoIt3.exe installer which contains SciTE 1.66 and other updates. (see below for complete list)

==> ScitillaHistory page containing all SciTE/Scintilla updates.

==> Visit the SciTe4AutoIt3 Download page for the latest versions

==> Check the online documentation for an overview of all extra's you get with this installer.

Enjoy,

Updates:

08/28/2005
*** Updated installer with SciTE v1.66. 
*** Added Switch...EndSwitch support to Folding in SciLexer.dll.
*** Added LUA check to avoid the Autocomplete dropdownbox popping up when _ is typed. It now only 
    pops up when the second character is typed. (Valik)
*** Updated AU3Check v1.45 (Tylo):
    added: Support for Default keyword.
    fixed: Const ByRef parameters.
*** Updated SciTEConfig v 1.2:
    - Added the number of BAK files option to the menu.
*** Updated Tidy v1.28.11:
    - Fixed Indent Bug when a line contains Comment after "Then _". 
*** Updated CompileAU3 v1.2.0:
    - Added support for a3x compilation. This can be done by specifying the output file name xyz.a3x or using the 
      Compiler directive: #Compiler_OutFile_Type=a3x 
    - Made the Au3Check Errors display scrollable.

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
SumTingWong

Thank you! :whistle:

All the little niggles I had have now been sorted. Brilliant!

Share this post


Link to post
Share on other sites
MSLx Fanboy

In _ProcessGetPriority(), folding seems to break between Func and Switch (leaving all cases and Endswitch "exposed")

Func _ProcessGetPriority($i_PID)
    If Not ProcessExists($i_PID) Then
        SetError(1)
        Return -1
    EndIf
    Local $hDLL = DllOpen('kernel32.dll')
    Local $aProcessHandle = DllCall($hDLL, 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $i_PID)
    Local $aPriority = DllCall($hDLL, 'int', 'GetPriorityClass', 'int', $aProcessHandle[0])
    DllCall($hDLL, 'int', 'CloseHandle', 'int', $aProcessHandle[0])
    DllClose($hDLL)
    Switch $aPriority[0]
        Case 0x00000040 
            Return 0
        Case 0x00004000 
            Return 1
        Case 0x00000020 
            Return 2
        Case 0x00008000 
            Return 3
        Case 0x00000080 
            Return 4
        Case 0x00000100 
            Return 5
        Case Else
            SetError(1)
            Return -1
    EndSwitch
    
EndFunc  ;==>_ProcessGetPriority

Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Jos

In _ProcessGetPriority(), folding seems to break between Func and Switch (leaving all cases and Endswitch "exposed")

<{POST_SNAPBACK}>

Looks ok to me..... can you explain whats wrong ?

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
Jos

Forgot to include the latest version of AU3Check.

Update the installer with the latest version now:

*** Updated AU3Check v1.46 (Tylo):

added: Support for Switch block and ContinueCase. Allow '' in include.

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
MSLx Fanboy

Here's a screenshot, pardon the TV window at the top


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Jos

Here's a screenshot, pardon the TV window at the top

<{POST_SNAPBACK}>

Are you sure you had SciTE closed when you ran the installer ?

Looks like you have the old Scilexer.dll still installed...


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
MSLx Fanboy

Just ran the Update package on the Scite Downloads Page, and it's still causing problems.

Edit: Hehe, I didn't fully read the first post, I was thinking just the update package :whistle:

Also, is the Switch statement going to be highlighted in the next release?

Edited by MSLx Fanboy

Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Jos

Just ran the Update package on the Scite Downloads Page, and it's still causing problems.

Edit:  Hehe, I didn't fully read the first post, I was thinking just the update package :whistle:

Also, is the Switch statement going to be highlighted in the next release?

<{POST_SNAPBACK}>

It is in my clean installation.... so must be something with the selected definition files.

Try running UpdateDefs.exe and select the Beta definitions...


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
MSLx Fanboy

That fixed my other problem, thanks

Is it possible for UpdateDefs to set the radio according to the version in use currently?

Edited by MSLx Fanboy

Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Jos

That fixed my other problem, thanks

Is it possible for UpdateDefs to set the radio according to the version in use currently?

<{POST_SNAPBACK}>

It silently runs automatically in the SciTE4AutoIt3 installer and looks if $AUTOITDIR\Beta\AutoIt3.exe exists or not and depending on that loads the Production or Beta definitions.

When ran manually it defaults to the latest production. ... Not sure how it would be able to default to the currently in use because we load both now a days in separate directories....


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
MSLx Fanboy

FileVersion of AutoIt3.exe? I overwrite the prod version with the zip file, because I used to have issues, and I find it easier to work with the beta as well.


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Nutster

Looks ok to me.....  can you explain whats wrong ?

<{POST_SNAPBACK}>

This is happening after running Tidy on a script with Switch/EndSwitch. I do not know yet if your changes fix this. Edited by Nutster

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Share this post


Link to post
Share on other sites
Jos

This is happening after running Tidy on a script with Switch/EndSwitch.  I do not know yet if your changes fix this.

<{POST_SNAPBACK}>

Think you hit a different issue... i never included support for Switch..EndSwitch in Tidy yet.... :whistle:

Here's a separate download for http://www.autoitscript.com/fileman/users/jdeb/tidy.exe v 1.28.12 which supports Switch...EndSwitch.

Installer on the website is also updated with this version.


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
Jos

Uploaded a new version of SciTe4Au3Upd.exe which contains the definitions for 3.1.1.74 BETA.

==> Visit the SciTe4AutoIt3 Download page for the latest versions

==> Check the online documentation for a overview of all extras you get with the SciTE4AutoIt3 installer.

Separate files for BETA:

au3check.dat

au3.keywords.properties

au3.api

Enjoy,

;)


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
MSLx Fanboy

I think I upgraded correctly this time (closed scite, can *Upd.exe)

Func test()
    MsgBox(0, "test", @HotKeyPressed)
EndFunc

HotKeySet("{ESC}", "test")
HotKeySet("{F10}", "test")
While 1
    Sleep(15)
Wend

AU3Check likes to spit out errors on the purtty lil macro up there ;)


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites
Jos

I think I upgraded correctly this time (closed scite, can *Upd.exe)

Func test()
    MsgBox(0, "test", @HotKeyPressed)
EndFunc

HotKeySet("{ESC}", "test")
HotKeySet("{F10}", "test")
While 1
    Sleep(15)
Wend

AU3Check likes to spit out errors on the purtty lil macro up there  ;)

<{POST_SNAPBACK}>

Yep,

Thats because its not in the Helpfile yet... The definitions files are generated with the helpfile source as input.

@HotKeyPressed is not in the Macros section yet.

JP, could you have a look at this ?

EDIT: Made a temp fix: added it manually and uploaded a new installer.

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
Jos

Uploaded a new version of SciTe4Au3Upd.exe which contains the definitions for 3.1.1.75 BETA.

It also contains the following updates:

09/10/2005
*** Updated Tidy v1.28.12:
    - Added  support for Switch...EndSwitch.
*** Updated Au3Check v1.47 (Tylo):  
    updated: Require space/tab before, and allow comment after cont. char _. 
    fixed: Disallow loops/branches after single line IFs.

==> Visit the SciTe4AutoIt3 Download page for the latest versions

==> Check the online documentation for a overview of all extras you get with the SciTE4AutoIt3 installer.

Separate files for BETA:

au3check.dat

au3.keywords.properties

au3.api

Enjoy,

;)


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

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  

×