Jump to content

Search the Community

Showing results for tags 'all'.

  • 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 4 results

  1. sorry for the crappy code but when I press F5 and do ctrl-a and start typing, the font is black and default again... Selecting all text in code and setting character attributes helps but this is not the right way I think, especially when opening and closing files. #include <GuiRichEdit.au3> ;#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=C:\Users\Tom Schrauwen\Desktop\EDIT.kxf $Form1 = GUICreate("Form1", 301, 221, 192, 124, BitOR($GUI_SS_DEFAULT_GUI,$WS_MAXIMIZEBOX,$WS_SIZEBOX,$WS_THICKFRAME,$WS_TABSTOP)) $MenuItem1 = GUICtrlCreateMenu("File") $MenuItem9 = GUICtrlCreateMenuItem("Open", $MenuItem1) $MenuItem6 = GUICtrlCreateMenuItem("Save", $MenuItem1) $MenuItem7 = GUICtrlCreateMenuItem("Save As", $MenuItem1) $MenuItem8 = GUICtrlCreateMenuItem("Exit", $MenuItem1) $MenuItem2 = GUICtrlCreateMenu("Edit") $MenuItem15 = GUICtrlCreateMenuItem("Uppercase", $MenuItem2) $MenuItem14 = GUICtrlCreateMenuItem("Lowercase", $MenuItem2) $MenuItem13 = GUICtrlCreateMenuItem("Mark Red", $MenuItem2) $MenuItem12 = GUICtrlCreateMenuItem("Mark Green", $MenuItem2) $MenuItem11 = GUICtrlCreateMenuItem("Mark Blue", $MenuItem2) $MenuItem10 = GUICtrlCreateMenuItem("Unmark", $MenuItem2) $MenuItem17 = GUICtrlCreateMenuItem("Search And Replace", $MenuItem2) $MenuItem16 = GUICtrlCreateMenu("Settings") $MenuItem19 = GUICtrlCreateMenuItem("Font", $MenuItem16) $MenuItem18 = GUICtrlCreateMenuItem("Background", $MenuItem16) $MenuItem3 = GUICtrlCreateMenu("Info") $MenuItem5 = GUICtrlCreateMenuItem("Help", $MenuItem3) $MenuItem20 = GUICtrlCreateMenuItem("Document", $MenuItem3) $MenuItem4 = GUICtrlCreateMenuItem("About", $MenuItem3) $Edit1 = _GUICtrlRichEdit_Create($Form1, "", 10, 10, 300, 220, -1, 0) _GUICtrlRichEdit_SetSel($Edit1, 0, -1) ; temporary fix but not the best solution _GUICtrlRichEdit_SetBkColor($Edit1, 0x000000) _GUICtrlRichEdit_SetCharColor($Edit1, 0xFFFFFF) _GUICtrlRichEdit_SetFont($Edit1, 12, 'Lucida Console') GUICtrlSetData(-1, "Edit1") GUICtrlSetFont(-1, 10, 400, 0, "Consolas") GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, 0x444444) GUICtrlSetResizing(-1, $GUI_DOCKLEFT+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE _GUICtrlRichEdit_Destroy($Edit1) ; needed unless script crashes Exit case $MenuItem13 _GUICtrlRichEdit_SetCharColor($Edit1, 0x0000FF) case $MenuItem12 _GUICtrlRichEdit_SetCharColor($Edit1, 0x00FF00) case $MenuItem11 _GUICtrlRichEdit_SetCharColor($Edit1, 0xFF0000) case $MenuItem19 _GUICtrlRichEdit_SetCharAttributes($Edit1, "+bo") case $MenuItem6 _GUICtrlRichEdit_StreamToFile($Edit1, @ScriptDir & "\RichEdit.rtf") case $MenuItem9 _GUICtrlRichEdit_StreamFromFile($Edit1, @ScriptDir & "\RichEdit.rtf") EndSwitch WEnd #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.5 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here As always, thanks for any help! TheAutomator
  2. Hey AutoIT Community, Just wanted to know if there is a way I can #include all *.au3 files in my script without having to #include each individual .au3 file. For instance, currently I have a laundry list of #includes like this: #include <IE.au3> #include <Inet.au3> #include <AutoItConstants.au3> #include <GUIConstantsEx.au3> #include <GDIPlus.au3> #include <GuiMenu.au3> [ECT...ECT...] Would there be a way I could include all of the files above or all .au3 file in a one liner? That way I do not have to burn up a bunch of lines of code for just my includes.... Your help is greatly appreciated...
  3. Just very simple but universal/usefull function to get all content of TreeView from external application. It's not optimized for speed and error testing is missing, it's just for very simple code ;-) #Include <String.au3> #Include <GuiTreeView.au3> ; "C:\Program Files (x86)\Resource Kit\oleview.exe" ; COM Library Objects --> ClassMoniker $sAll = _TreeView_GetAll('OLE/COM Object Viewer', '', 'SysTreeView322') FileDelete('treeview_get_all.txt') FileWrite('treeview_get_all.txt', $sAll) ;~ClipPut($sAll) Func _TreeView_GetAll($title, $text, $classNN, $expand = False, $indent = ' ', $bullet = '') ; $bullet = '- ' $sAll = '' $hWnd = ControlGetHandle($title, $text, $classNN) If $expand Then _GUICtrlTreeView_Expand($hWnd) ; Expand All $hItem = _GUICtrlTreeView_GetFirstItem($hWnd) While $hItem <> 0x00000000 $sItem = _GUICtrlTreeView_GetText($hWnd, $hItem) $level = _GUICtrlTreeView_Level($hWnd, $hItem) $sIndent = _StringRepeat($indent, $level) $sAll &= $sIndent & $bullet & $sItem & @CRLF $hItem = _GUICtrlTreeView_GetNext($hWnd, $hItem) WEnd Return $sAll EndFunc Hope it can help somebody ...
  4. Hello guys! I found function >_shellExecuteHidden but can somebody change it to absolutely everything programs runs hidden instead only the first? Thanks in advance!
×
×
  • Create New...