Jump to content

New SciTE4AutoIt3 available with SciTE v1.79


Jos
 Share

Recommended Posts

  • Developers

10/31/2009: Uploaded a new SciTe4AutoIt3.exe installer with the new SciTE v1.79 release.

IMPORTANT: This version doesn't have support for the ANSI version of AutoIt3 anymore since that is removed from AutoIt3.

==> 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,

Jos

10/31/2009
*** Merged the updates of SciTE v 1.79 by Neil Hodgson with our own version of SciTE. (Jos)
    - Change to allow bigger properties files.
*** Updated AutoIt3Wrapper_Gui/AutoIt3Wrapper v2.0.0.3 (Jos)
    - Minor updates
*** Updated Tidy.exe v2.0.29.0 (Jos)
    - changed logic to check for au3.api in the scite/api directory for updates.
    - fixed extra space infront of a variable that ended with an underscore.
    - fixed invalid minus-character tidying when behind Case.
*** Updated Obfuscator.exe v1.0.27.0 (Jos)
    - All lines between #obfuscator_off/on will now not be stripped anymore.
    - Fixed a reported stack corruption.
    - Fixed never to remove Func that are used in a Func defined in #Obfuscator_Ignore_Funcs
    - Fixed: Handle scientific notation properly in the Obfuscation process.
    - Fixed excluding #include<> statements inside of comment blocks
    - Fixed /OM parameter creating a func like ABS() duplication an internal func name
    - Fixed StripOnly check for LineLength when only Parameters are used.  (/so = /SF /SV /CV=0 /CF=0 /CS=0 /CN=0)
*** Updated SciTEConfig v1.6.7.0 (Jos)
    - Updated the downloadpage link.
*** Some Helpfile updates.
Edited by Jos

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

  • Replies 244
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Developers

Scintilla seems to be at 2.01 are we going to be updated at this level too?

Not yet until I get the "warm and comfy" feeling this release is stable enough.

Neil made some big changes in the selection of blocks of text and I am not really that interested in that update.

Anything in there that you think is worth for this community?

Jos

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

another thing, SCILexer.dll was newer (16/07/2009)in previous beta dir.

is it something you miss to update in the new release?

I attach a _RefreshSystemTray working better under Vista

Do the new release use the Au3Record.exe included in the beta?

Nice work :)

Link to comment
Share on other sites

  • Developers

another thing, SCILexer.dll was newer (16/07/2009)in previous beta dir.

is it something you miss to update in the new release?

Yea, I missed copying the latest update of Scilexer.dll. There were no changes for the au3 lexer but I will add the latest anyways.

Do the new release use the Au3Record.exe included in the beta?

I haven't looked at this yet any need to see how that should be supported.

Jos :)

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

Jos, does this update include this?

Totally missed that thread. When its not in the SVN then it won''t be in yet. Will see what you have done and merge it in the SVN version.

Jos

EDIT: Oh, its a LUA update... will include that ... thanks.

Edited by Jos

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

Updated the Installer with both the latest version of SciLexer.dll and the updated AutoHScroll.lua supplied by Valik.

Thanks

Jos

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

In latest Scite4Autoit3 is not last version of Koda.

I looked into ZIP file and there is Koda version 1.7.1

Latest release version of Koda is 1.7.2

Even better will be latest beta version 1.7.2.1

I don't check for the latest version every time I create an installer.

Really would prefer when a releaseof Koda comes out that should be included in the SciTE4AutoIt3 installer that somebody PM's me to notify me about it.

Jos :)

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 don't check for the latest version every time I create an installer.

Really would prefer when a releaseof Koda comes out that should be included in the SciTE4AutoIt3 installer that somebody PM's me to notify me about it.

Jos :)

OK.

Lazycat should do that. He is author of Koda.

Please inform him by PM about that.

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...
  • Developers

Are calltips on a per project base posible with scite?

I got keyword highlights per project working, but trying to adjust the calltips with a local api command did not work.

Instead of picking the local api file, scite picks the api file inside its homefolder.

api.$(au3)=SciTE.au3.local.calltips.api;$(SciteDefaultHome)\api\au3.api;$(SciteDefaultHome)\api\au3.user.calltips.api

Have you stored this in the Project script direrctory in a local SciTE file "scite.properties" ?

This should override the defaults defined in au3.properties.

Jos

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

yes.

Yes it is. Its just not using the the local api to do the override.

ahh ok... Try:

api.$(au3)=$(FileDir)\SciTE.au3.local.calltips.api;$(SciteDefaultHome)\api\au3.api;$(SciteDefaultHome)\api\au3.user.calltips.api

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

Jos,

I am trying to automate the saving of untitled files. I have 4 (imaginatively titled :) ) scrap files - fred.au3 to fred3.au3 which I use for temporary working - stuff I have copied from the forums, a simple thing I am testing....etc.

I initially used this function that I found in Volly's old Toolbar script to send 110 - SaveAs:

Func _Send_SciTE_Command($My_Hwnd, $Scite_Dir_hwnd, $sCmd)

    Sleep(100)
    Local $CmdStruct = DllStructCreate('Char[' & StringLen($sCmd) + 1 & ']')
    DllStructSetData($CmdStruct, 1, $sCmd)
    Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr')
    DllStructSetData($COPYDATA, 1, 1)
    DllStructSetData($COPYDATA, 2, StringLen($sCmd) + 1)
    DllStructSetData($COPYDATA, 3, DllStructGetPtr($CmdStruct))
    DllCall('User32.dll', 'None', 'SendMessage', 'HWnd', $Scite_Dir_hwnd, 'Int', $WM_COPYDATA, 'HWnd', $My_Hwnd, 'Ptr', DllStructGetPtr($COPYDATA))

EndFunc   ;==>_Send_SciTE_Command

but I soon discovered that it would not return before the "Save As" dialog closed - which meant I could not use Send commands to pass the filename to save. So I produced 4 small Send-based scripts which I added to the Tools menu and called directly via the 1100+ command. This is working nicely, but I do not really want to have 4 almost identical scripts (one for each file) if I can avoid it.

Question: Is there any way to pass a required filename, or to use Send commands, when using the above _Send_SciTE_Command function? Or is there another function which will allow such a thing?

I have looked through the SciTE Help and cannot find anything to help - although I am quite prepared to look again if you know something I have missed. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Developers

The listed function sends a command to the SciTE Director Interface. (This UDF looks familiar :) )

Have you tried this command?:

saveas:<path>

ps: the backslashes need to be doubled-up

Jos

Edited by Jos

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

  • Moderators

Thank you both for your speedy replies.

I have it working now using the saveas: command - once I got the correct syntax (no <>, no "", double \\). Dank je wel for the pointer on the last one, Jos :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

There is also a SendSciTE_Command($My_Dec_Hwnd, $Scite_hwnd, 'askfilename:') command.

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

  • Developers

There is also a SendSciTE_Command($My_Dec_Hwnd, $Scite_hwnd, 'askfilename:') command.

This will require the creation of a GUI and registring the COPYDATA message to be able to receive data from SciTE.

Something like this will do that:

For $x = 1 To 10
    ConsoleWrite($x & @CRLF)
Next
ConsoleWrite("clear output in 1 sec" & @CRLF)
Sleep(1000)
SendSciTE_Command("menucommand:420") ; Clear Output pane "IDM_CLEAROUTPUT"
ConsoleWrite("cleared" & @CRLF)
For $x = 1 To 10
    ConsoleWrite($x & @CRLF)
Next
;
ConsoleWrite("Current File:" & SendSciTE_Command("askfilename:") & @CRLF)
;
Exit
;
; Send command to SciTE
Func SendSciTE_Command($sCmd, $Wait_For_Return_Info = 0)
    Local $WM_COPYDATA = 74
    Local $WM_GETTEXT = 0x000D
    Local $WM_GETTEXTLENGTH = 0x000E224
    Local Const $SCI_GETLINE = 2153
    Global $SciTE_Return_Info
    Local $Scite_hwnd = WinGetHandle("DirectorExtension") ; Get SciTE DIrector Handle
    Local $My_Hwnd = GUICreate("AutoIt3-SciTE interface") ; Create GUI to receive SciTE info
    GUIRegisterMsg($WM_COPYDATA, "MY_WM_COPYDATA") ; Register COPYDATA message to which SciTE will send return info.
    Local $My_Dec_Hwnd = Dec(StringTrimLeft($My_Hwnd, 2)) ; Convert my Gui Handle to decimal
    $sCmd = ":" & $My_Dec_Hwnd & ":" & $sCmd ; Add dec my gui handle to commandline to tell SciTE where to send the return info
    ConsoleWrite('SciTE Command  --> ' & $sCmd & @LF)
    Local $CmdStruct = DllStructCreate('Char[' & StringLen($sCmd) + 1 & ']')
    DllStructSetData($CmdStruct, 1, $sCmd)
    Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr')
    DllStructSetData($COPYDATA, 1, 1)
    DllStructSetData($COPYDATA, 2, StringLen($sCmd) + 1)
    DllStructSetData($COPYDATA, 3, DllStructGetPtr($CmdStruct))
    DllCall('User32.dll', 'None', 'SendMessage', 'HWnd', $Scite_hwnd, _
            'Int', $WM_COPYDATA, 'HWnd', $My_Hwnd, _
            'Ptr', DllStructGetPtr($COPYDATA))
    GUIDelete($My_Hwnd)
    Return $SciTE_Return_Info
EndFunc   ;==>SendSciTE_Command
;
; Received Data from SciTE
Func MY_WM_COPYDATA($hWnd, $msg, $wParam, $lParam)
    Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr', $lParam)
    $SciTECmdLen = DllStructGetData($COPYDATA, 2)
    Local $CmdStruct = DllStructCreate('Char[' & $SciTECmdLen + 1 & ']', DllStructGetData($COPYDATA, 3))
    $SciTE_Return_Info = StringLeft(DllStructGetData($CmdStruct, 1), $SciTECmdLen)
    ConsoleWrite('SciTE Returned <-- ' & $SciTE_Return_Info & @CRLF)
    $SciTE_Return_Info = StringTrimLeft($SciTE_Return_Info, StringInStr($SciTE_Return_Info, ":", 0, 3))
EndFunc   ;==>MY_WM_COPYDATA

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

  • 1 month later...
  • Developers

Thanks to wraithdu who code this resource update change!

Uploaded a beta version of AutoIt3Wrapper that has a major change of the resource update code.

It is changed back to adding the resources after the creation of the EXE and also supports the addition of non standard items like:

#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_File_Add=C:\WINDOWS\Media\tada.wav, SOUND, MYWAV
Global Const $SND_RESOURCE = 0x00040004
Global Const $SND_ASYNC = 1
DllCall("winmm.dll", "int", "PlaySound", "str", "MYWAV", "hwnd", 0, "int", $SND_RESOURCE)
DllCall("winmm.dll", "int", "PlaySound", "str", "MYWAV", "hwnd", 0, "int", BitOR($SND_RESOURCE, $SND_ASYNC))
For $n = 1 To 100
    Sleep(15)
    ToolTip("Asynch! " & $n)
Next

Please have a try and see if everything is working for you as well.

Jos

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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