Jump to content

Search the Community

Showing results for tags 'SciLexer'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 3 results

  1. Referring to: and /?do=embed#entry1102929'' frameborder='0' data-embedContent>> I would like to present AU3 Tools - Quick Updater : Global $URL_Scite = 'http://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/' _INET_DownloadIfNotEqual("AutoIt3Wrapper.exe") _INET_DownloadIfNotEqual("Obfuscator.exe") _INET_DownloadIfNotEqual("SciTE.exe") _INET_DownloadIfNotEqual("SciteConfig.exe") _INET_DownloadIfNotEqual("Tidy.exe") _INET_DownloadIfNotEqual("SciLexer.dll") Func _INET_DownloadIfNotEqual($fFileToDownlad) Local $fLocalDestination If _INET_CompareSize_IsEqual($fFileToDownlad) = False Then $fLocalDestination = _INET_GetUpdate($fFileToDownlad) FileMove($fLocalDestination, @ScriptDir & '\' & $fFileToDownlad, 1) EndIf EndFunc ;==>_INET_DownloadIfNotEqual Func _INET_CompareSize_IsEqual($fFileToDownlad) Local $nWebSize = InetGetSize($URL_Scite & $fFileToDownlad) Local $nLocalSize = FileGetSize(@ScriptDir & '\' & $fFileToDownlad) If $nWebSize = $nLocalSize Then Return True Else Return False EndIf EndFunc ;==>_INET_CompareSize_IsEqual Func _INET_GetUpdate($fFileToDownlad) Local $fLocalDestination = @TempDir & "\" & $fFileToDownlad Local $hDownload = InetGet($URL_Scite & $fFileToDownlad, $fLocalDestination, 1, 1) Do Sleep(250) Until InetGetInfo($hDownload, 2) ; Check if the download is complete. Local $nBytes = InetGetInfo($hDownload, 0) InetClose($hDownload) ; Close the handle to release resources. Return $fLocalDestination EndFunc ;==>_INET_GetUpdate HOW TO USE: Simply compile and run waiting to download current updates tools If You want to replace file in SciTE4AutoIt dir then run it script from directory where SciTE4AutoIt is instaled ps. This is a really fast set up, update tool contains no error checking requires no configuration requires that the target downloaded files were not used by other Windows processes EDIT: CAUTION: EDIT: WORD JOKE : as they say on the commercial "before use, read the label or contact your doctor or pharmacist"
  2. Hello everyone, Right now, I am working on a script that requires me to destroy the SciLexer control in my GUI. Unfortunately, the UDF doesnt seem to have a destory function, and it doesnt even mention how to destroy it. I know that on the page, people mention hiding it, but they didnt say how, and there isnt a function to do this either. Does anbody know how to hide, or preferably, destroy the SciLexer control? Thanks. SciLexer UDF Topic EDIT After taking a look at the Scintilla documentation, I have found that there is an ILexer object which can be used to "release", or destroy the lexer, but I dont know anything about objects, and I know that autoiIt is not object oriented. I also dont know whether this can be done with a DLL call (I dont know much about using DLL calls either, but I assume they call a specified function inside a DLL?). Anway, I will not be able to write the code myself (Assuming it doesnt exist) without help, but does anybody have an idea how releasing the control may be acieved? Thanks again. SOLUTION Solution thanks to Kip (The person who originally wrote the UDF) via inbox. Thanks Kip.
×
×
  • Create New...