Jump to content

New Scite4AutoIt3 installer


Jos
 Share

Recommended Posts

  • Developers

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.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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())
Link to comment
Share on other sites

  • Developers

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 ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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())
Link to comment
Share on other sites

  • Developers

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...

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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....

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

  • Developers

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.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • 2 weeks later...
  • Developers

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,

;)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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())
Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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,

;)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...