senatin Posted October 16, 2017 Share Posted October 16, 2017 #include <WinAPI.au3> Local $sTempFile, $hFile, $sText, $nBytes, $tBuffer $sTempFile = @ScriptDir & '\test.txt' $sText = 'test : answer' $tBuffer = DllStructCreate("byte[" & StringLen($sText) & "]") DllStructSetData($tBuffer, 1, $sText) $hFile = $sTempFile _WinAPI_WriteFile($hFile, $tBuffer, StringLen($sText), $nBytes) _WinAPI_CloseHandle($hFile) ConsoleWrite('1): '& FileRead($sTempFile) & @CRLF) I have a script with variables that I wanted to store into external files like notepad and retrieve when I needed. I tried this _WinAPI_WriteFile seems not storing my $sText into existing test.txt also I saw BinaryBin which store values into bin. But I couldnt figure out how to manipulate it because Im confused with folder expandcollapse popup#include '_BinaryBin.au3' Example() Func Example() ; Open the BinaryBin.bin file and erase previous contents. Local $hBinFile = _BinaryBin(@ScriptDir & '\BinaryBin.bin', True) Local $sFolder = FileSelectFolder('_BinaryBin Folder to add to the BinaryBin.bin file.', '') If @error Then Return False ; Return if no folder was selected. ; Add a Folder to the BinaryBin.bin file. _BinaryBin_AddFolder($hBinFile, $sFolder, False) ; Check the files added to the BinaryBin.bin file and display in _ArrayDisplay(). Local $aArray = _BinaryBin_GetFiles($hBinFile) _ArrayDisplay($aArray, '_BinaryBin File Names') ; Check the folders added to the BinaryBin.bin file and display in _ArrayDisplay(). $aArray = _BinaryBin_GetFolders($hBinFile, @ScriptDir & '\Export') _ArrayDisplay($aArray, '_BinaryBin Folders') ; Retrieve the number of files before encrypting. Local $iFileCount = _BinaryBin_GetFileCount($hBinFile) ; Encrypt the BinaryBin.bin file with the password - Password. _BinaryBin_Encrypt($hBinFile, 'Password') Local $sData = '_BinaryBin FileSize: ' & _BinaryBin_GetSize($hBinFile, 1) & @CRLF ; Display additional details about the BinaryBin.bin file. $sData &= '_BinaryBin File Count: ' & $iFileCount & @CRLF $sData &= '_BinaryBin is Encrypted: ' & _BinaryBin_IsEncrypted($hBinFile) & @CRLF $sData &= '_BinaryBin FilePath: ' & _BinaryBin_GetFilePath($hBinFile) & @CRLF MsgBox($MB_SYSTEMMODAL, '_BinaryBin Data', $sData) ; Decrypt the BinaryBin.bin file with the password - Password. _BinaryBin_Decrypt($hBinFile, 'Password') ; Close the BinaryBin.bin handle. _BinaryBin_Close($hBinFile) EndFunc ;==>Example What I want is to able to store an ID and value "test : answer" "test2 : 2ndanswer" then Retrieve the value base on its ID Can someone Please help me or link me to a easy tutorial. Thank you in advance Link to comment Share on other sites More sharing options...
BrewManNH Posted October 16, 2017 Share Posted October 16, 2017 Look at FileWrite If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
senatin Posted October 16, 2017 Author Share Posted October 16, 2017 (edited) Thank you for the fast answer heres what I got #include <FileConstants.au3> #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> $sTempFile = @ScriptDir & '\test.txt' $hFileOpen = FileOpen($sTempFile, $FO_APPEND) If $hFileOpen = -1 Then MsgBox($MB_SYSTEMMODAL, "", "An error occurred whilst writing the temporary file.") EndIf FileWrite($hFileOpen, "Line1" & @CRLF) FileWrite($hFileOpen, "Gabriele" & @CRLF) FileWrite($hFileOpen, "Line2" & @CRLF) FileWrite($hFileOpen, "Jayson") FileClose($hFileOpen) $hFileOpen = FileOpen($sTempFile, $FO_READ) $sFileRead = FileReadLine($hFileOpen, 1) If $sFileRead = "Line1" Then $line1 = FileReadLine($hFileOpen, 2) MsgBox($MB_SYSTEMMODAL, "", $line1) Else FileDelete($sTempFile) EndIf FileClose($hFileOpen) What I couldnt Figure out is when the test.txt doesnt exist it automatically recreate. As I could understand theres no createfiles in it. also When I FileReadLine and its integer If I store it into variables will that be specified as integer? Though Thank you so much Thats What I really needed. Edited October 16, 2017 by senatin Link to comment Share on other sites More sharing options...
BrewManNH Posted October 16, 2017 Share Posted October 16, 2017 FileReadLine reads a string from the file, if the string is a number it will still read it as a string. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
senatin Posted October 16, 2017 Author Share Posted October 16, 2017 I dont know but somehow The number I pulled from FileReadLine was an integer look at this #include <FileConstants.au3> #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> While 1 $sTempFile = @ScriptDir & '\test.txt' $hFileOpen = FileOpen($sTempFile, $FO_APPEND) If $hFileOpen = -1 Then MsgBox($MB_SYSTEMMODAL, "", "An error occurred whilst writing the temporary file.") EndIf FileWrite($hFileOpen, "Line1" & @CRLF) FileWrite($hFileOpen, "Gabriele" & @CRLF) FileWrite($hFileOpen, "Line2" & @CRLF) FileWrite($hFileOpen, "31") FileClose($hFileOpen) $hFileOpen = FileOpen($sTempFile, $FO_READ) $sFileRead = FileReadLine($hFileOpen, 3) If $sFileRead = "Line2" Then $line1 = FileReadLine($hFileOpen, 4) ConsoleWrite ($line1+1) ExitLoop Else FileDelete($sTempFile) EndIf WEnd FileClose($hFileOpen) It give me a sum of number pulled from FileReadLine and a 1 Am I missing something?even though thats what I needed Im still curious how did it happen and Also Can you please help me or link me with how to identify if a variable is assigned to checkbox or combo or radio or inputbox. my variables always start with its uses, maybe that can help? heres my sample $RadioFg = GUICtrlCreateRadio("Fg", 164, 33, 57, 17) $Checkboxpt = GUICtrlCreateCheckbox("Pt", 284, 33, 41, 17) $ButtonStrt = GUICtrlCreateButton("Strt", 332, 41, 105, 81) $Inputtime = GUICtrlCreateInput("60", 228, 57, 41, 21) your help is so appreciated I'd look around but I always miss the right words or maybe looking in the wrong direction please guide me Link to comment Share on other sites More sharing options...
BrewManNH Posted October 16, 2017 Share Posted October 16, 2017 Strings, when used in numerical operations, are converted to numbers if possible, and if it's not a number it's converted to zero. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
senatin Posted October 16, 2017 Author Share Posted October 16, 2017 2 minutes ago, BrewManNH said: Strings, when used in numerical operations, are converted to numbers if possible, and if it's not a number it's converted to zero. Thank you so much Have to take a break, Scripting autoit sometimes make me dizzy or eyes hurt, scripting with white background really stresses my eyes out. I even vomited once thats why I bought computer glasses. Is there option to make autoitbg different color? Link to comment Share on other sites More sharing options...
Danyfirex Posted October 17, 2017 Share Posted October 17, 2017 Take a look to my SciTE properties. expandcollapse popupimport au3.UserUdfs import au3.keywords.user.abbreviations font.base=font:Arial,size:10,$(font.override) font.monospace=font:Consolas,size:10 backup.files=0 proper.case=0 error.inline=1 highlight.current.word=1 highlight.current.word.by.style=1 highlight.current.word.autoselectword=0 highlight.current.word.wholeword=0 highlight.current.word.matchcase=0 highlight.current.word.minlength=3 use.tabs=1 indent.size=4 indent.size.*.au3=4 tabsize=4 style.*.32=style.*.32=$(font.base),back:#F0F4F9 caret.line.back=#FFFF00 caret.line.back.alpha=5 selection.fore=#CF6A4C selection.alpha=25 selection.back=#272822 style.error.0=fore:#FFFFFF,back:#D00064 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:#FFFFFF,back:#FF0000 highlight.current.word.colour=#8080FF indicators.alpha=100 calltips.set.above=0 style.au3.38=fore:#FFFFFF,back:#171717 calltips.color.highlight=#FF0000 visible.policy.strict=1 visible.policy.lines=8 # Fold Margin fold.margin.colour=#222222 fold.margin.highlight.colour=#222222 # Output pane style.errorlist.32=back:#111111,fore:#ff0000 style.errorlist.4=fore:#40DFFF # Output pane style.au3.34=fore:#FF1A8C,back:#272822 style.au3.35=fore:#C0C0C0,italics,back:#272822 style.au3.0=fore:#11EAFB,back:#272822 style.au3.1=fore:#C0C0C0,italics,back:#272822 style.au3.2=fore:#C0C0C0,italics,back:#272822 style.au3.3=fore:#B58CFF,back:#272822 style.au3.4=fore:#FF75FF,back:#272822 style.au3.5=fore:#FF1A8C,back:#272822 style.au3.6=fore:#FFFF42,back:#272822 style.au3.7=fore:#00FF80,back:#272822 style.au3.8=fore:#FF8000,back:#272822 style.au3.9=fore:#FFFFFF,back:#272822 style.au3.10=fore:#FF8080,back:#272822 style.au3.11=fore:#F90000,back:#272822 style.au3.12=fore:#FFFF80,back:#272822 style.au3.13=fore:#00FFFF,back:#272822 style.au3.14=fore:#48A4FF,back:#272822 style.au3.15=fore:#2D96FF,back:#272822 style.au3.16=fore:#D26900,back:#272822 command.name.19.*= command.name.33.*= openpath.$(au3)=$(SciteDefaultHome)\..\include; font.quality=4 style.error.3=fore:#FFFFFF,back:#FF6400,bold,xfont:Consolas,size:12 caret.width=3 style.*.33=fore:#E4E4E4,back:#333333,$(font.base) style.au3.37=fore:#00AAFF,back:FFFFFF style.*.32=style.*.32=$(font.base),back:#F0F4F9 style.lua.0=fore:#F07070,bold style.lua.1=$(colour.code.comment.box),$(font.code.comment.box),back:#D0F0F0,eolfilled style.lua.2=$(colour.code.comment.line),$(font.code.comment.line) style.lua.3=$(colour.notused),bold,$(font.notused) style.lua.4=fore:#E000F4,bold,italics style.lua.5=fore:#0000FF,bold style.lua.6=fore:#F07070,bold style.lua.7=fore:#F07070,bold style.lua.8=fore:#F07070,bold style.lua.9=$(colour.preproc),bold style.lua.10=$(colour.operator),bold style.lua.11=fore:#808080,bold style.lua.12=back:#E0C0E0,bold,eolfilled style.lua.13=$(style.lua.5),bold,back:#F5FFF5 style.lua.14=$(style.lua.5),bold,back:#F5F5FF style.lua.15=$(style.lua.5),bold,back:#FFF5F5 style.lua.16=$(style.lua.5),bold,back:#FFF5FF style.lua.17=$(style.lua.5),bold,back:#FFFFF5 style.lua.18=$(style.lua.5),bold,back:#FFA0A0 style.lua.19=$(style.lua.5),bold,back:#FFF5F5 style.lua.20=fore:#7F7F00,bold braces.lua.style=10,bold file.patterns.props=*.properties;*.session;*.ini;*.inf;*.reg;*.url;*.cfg;*.cnf;*.aut;*.SciTEConfig style.props.0=fore:#000000,bold style.props.1=fore:#009000,bold,$(font.comment) style.props.2=$(colour.string),bold,back:#EFF0F0,eolfilled style.props.3=fore:#FF0000,bold style.props.4=$(colour.preproc) style.props.5=fore:#0060E0,bold style.props.33=fore:#000000,bold,back:#A0E0F0 style.*.32=style.*.32=$(font.base),back:#F0F4F9 style.props.34=fore:#0000FF,bold style.props.35=fore:#FF0000,bold style.json.0=fore:FFFFFF,bold style.json.1=fore:#007F7F,bold style.json.2=fore:#7F0000,bold style.json.3=fore:#FFFFFF,back:#FF0000,eolfilled style.json.4=fore:#880AE8,bold style.json.5=fore:#0B982E style.json.6=fore:#05BBAE,bold,italics style.json.7=$(style.json.6),bold style.json.8=fore:#18644A,bold style.json.9=fore:#0000FF,bold style.json.10=fore:#D137C1,bold style.json.11=fore:#0BCEA7,bold style.json.12=fore:#EC2806,bold style.json.13=fore:#FFFFFF,bold,back:#FF0000 style.au3.32=style.*.32=$(font.base),back:#272822 command.19.beta= command.33.beta= To Setup the ScITE properties go to C:\Users\Youruse\AppData\Local\AutoIt v3\SciTE and replace the SciTEUser.properties' info with the above one. Then your editor will look like: Saludos 232showtime and senatin 2 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
senatin Posted October 17, 2017 Author Share Posted October 17, 2017 WOW I NEED THAT BADLY THANK YOU SO MUCH 7 hours ago, Danyfirex said: Take a look to my SciTE properties. expandcollapse popupimport au3.UserUdfs import au3.keywords.user.abbreviations font.base=font:Arial,size:10,$(font.override) font.monospace=font:Consolas,size:10 backup.files=0 proper.case=0 error.inline=1 highlight.current.word=1 highlight.current.word.by.style=1 highlight.current.word.autoselectword=0 highlight.current.word.wholeword=0 highlight.current.word.matchcase=0 highlight.current.word.minlength=3 use.tabs=1 indent.size=4 indent.size.*.au3=4 tabsize=4 style.*.32=style.*.32=$(font.base),back:#F0F4F9 caret.line.back=#FFFF00 caret.line.back.alpha=5 selection.fore=#CF6A4C selection.alpha=25 selection.back=#272822 style.error.0=fore:#FFFFFF,back:#D00064 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:#FFFFFF,back:#FF0000 highlight.current.word.colour=#8080FF indicators.alpha=100 calltips.set.above=0 style.au3.38=fore:#FFFFFF,back:#171717 calltips.color.highlight=#FF0000 visible.policy.strict=1 visible.policy.lines=8 # Fold Margin fold.margin.colour=#222222 fold.margin.highlight.colour=#222222 # Output pane style.errorlist.32=back:#111111,fore:#ff0000 style.errorlist.4=fore:#40DFFF # Output pane style.au3.34=fore:#FF1A8C,back:#272822 style.au3.35=fore:#C0C0C0,italics,back:#272822 style.au3.0=fore:#11EAFB,back:#272822 style.au3.1=fore:#C0C0C0,italics,back:#272822 style.au3.2=fore:#C0C0C0,italics,back:#272822 style.au3.3=fore:#B58CFF,back:#272822 style.au3.4=fore:#FF75FF,back:#272822 style.au3.5=fore:#FF1A8C,back:#272822 style.au3.6=fore:#FFFF42,back:#272822 style.au3.7=fore:#00FF80,back:#272822 style.au3.8=fore:#FF8000,back:#272822 style.au3.9=fore:#FFFFFF,back:#272822 style.au3.10=fore:#FF8080,back:#272822 style.au3.11=fore:#F90000,back:#272822 style.au3.12=fore:#FFFF80,back:#272822 style.au3.13=fore:#00FFFF,back:#272822 style.au3.14=fore:#48A4FF,back:#272822 style.au3.15=fore:#2D96FF,back:#272822 style.au3.16=fore:#D26900,back:#272822 command.name.19.*= command.name.33.*= openpath.$(au3)=$(SciteDefaultHome)\..\include; font.quality=4 style.error.3=fore:#FFFFFF,back:#FF6400,bold,xfont:Consolas,size:12 caret.width=3 style.*.33=fore:#E4E4E4,back:#333333,$(font.base) style.au3.37=fore:#00AAFF,back:FFFFFF style.*.32=style.*.32=$(font.base),back:#F0F4F9 style.lua.0=fore:#F07070,bold style.lua.1=$(colour.code.comment.box),$(font.code.comment.box),back:#D0F0F0,eolfilled style.lua.2=$(colour.code.comment.line),$(font.code.comment.line) style.lua.3=$(colour.notused),bold,$(font.notused) style.lua.4=fore:#E000F4,bold,italics style.lua.5=fore:#0000FF,bold style.lua.6=fore:#F07070,bold style.lua.7=fore:#F07070,bold style.lua.8=fore:#F07070,bold style.lua.9=$(colour.preproc),bold style.lua.10=$(colour.operator),bold style.lua.11=fore:#808080,bold style.lua.12=back:#E0C0E0,bold,eolfilled style.lua.13=$(style.lua.5),bold,back:#F5FFF5 style.lua.14=$(style.lua.5),bold,back:#F5F5FF style.lua.15=$(style.lua.5),bold,back:#FFF5F5 style.lua.16=$(style.lua.5),bold,back:#FFF5FF style.lua.17=$(style.lua.5),bold,back:#FFFFF5 style.lua.18=$(style.lua.5),bold,back:#FFA0A0 style.lua.19=$(style.lua.5),bold,back:#FFF5F5 style.lua.20=fore:#7F7F00,bold braces.lua.style=10,bold file.patterns.props=*.properties;*.session;*.ini;*.inf;*.reg;*.url;*.cfg;*.cnf;*.aut;*.SciTEConfig style.props.0=fore:#000000,bold style.props.1=fore:#009000,bold,$(font.comment) style.props.2=$(colour.string),bold,back:#EFF0F0,eolfilled style.props.3=fore:#FF0000,bold style.props.4=$(colour.preproc) style.props.5=fore:#0060E0,bold style.props.33=fore:#000000,bold,back:#A0E0F0 style.*.32=style.*.32=$(font.base),back:#F0F4F9 style.props.34=fore:#0000FF,bold style.props.35=fore:#FF0000,bold style.json.0=fore:FFFFFF,bold style.json.1=fore:#007F7F,bold style.json.2=fore:#7F0000,bold style.json.3=fore:#FFFFFF,back:#FF0000,eolfilled style.json.4=fore:#880AE8,bold style.json.5=fore:#0B982E style.json.6=fore:#05BBAE,bold,italics style.json.7=$(style.json.6),bold style.json.8=fore:#18644A,bold style.json.9=fore:#0000FF,bold style.json.10=fore:#D137C1,bold style.json.11=fore:#0BCEA7,bold style.json.12=fore:#EC2806,bold style.json.13=fore:#FFFFFF,bold,back:#FF0000 style.au3.32=style.*.32=$(font.base),back:#272822 command.19.beta= command.33.beta= To Setup the ScITE properties go to C:\Users\Youruse\AppData\Local\AutoIt v3\SciTE and replace the SciTEUser.properties' info with the above one. Then your editor will look like: Saludos Link to comment Share on other sites More sharing options...
senatin Posted October 22, 2017 Author Share Posted October 22, 2017 On 10/17/2017 at 10:15 AM, Danyfirex said: Take a look to my SciTE properties. expandcollapse popupimport au3.UserUdfs import au3.keywords.user.abbreviations font.base=font:Arial,size:10,$(font.override) font.monospace=font:Consolas,size:10 backup.files=0 proper.case=0 error.inline=1 highlight.current.word=1 highlight.current.word.by.style=1 highlight.current.word.autoselectword=0 highlight.current.word.wholeword=0 highlight.current.word.matchcase=0 highlight.current.word.minlength=3 use.tabs=1 indent.size=4 indent.size.*.au3=4 tabsize=4 style.*.32=style.*.32=$(font.base),back:#F0F4F9 caret.line.back=#FFFF00 caret.line.back.alpha=5 selection.fore=#CF6A4C selection.alpha=25 selection.back=#272822 style.error.0=fore:#FFFFFF,back:#D00064 style.error.1=fore:#FF0000,back:#FFFF00 style.error.2=fore:#FFFFFF,back:#FF0000 highlight.current.word.colour=#8080FF indicators.alpha=100 calltips.set.above=0 style.au3.38=fore:#FFFFFF,back:#171717 calltips.color.highlight=#FF0000 visible.policy.strict=1 visible.policy.lines=8 # Fold Margin fold.margin.colour=#222222 fold.margin.highlight.colour=#222222 # Output pane style.errorlist.32=back:#111111,fore:#ff0000 style.errorlist.4=fore:#40DFFF # Output pane style.au3.34=fore:#FF1A8C,back:#272822 style.au3.35=fore:#C0C0C0,italics,back:#272822 style.au3.0=fore:#11EAFB,back:#272822 style.au3.1=fore:#C0C0C0,italics,back:#272822 style.au3.2=fore:#C0C0C0,italics,back:#272822 style.au3.3=fore:#B58CFF,back:#272822 style.au3.4=fore:#FF75FF,back:#272822 style.au3.5=fore:#FF1A8C,back:#272822 style.au3.6=fore:#FFFF42,back:#272822 style.au3.7=fore:#00FF80,back:#272822 style.au3.8=fore:#FF8000,back:#272822 style.au3.9=fore:#FFFFFF,back:#272822 style.au3.10=fore:#FF8080,back:#272822 style.au3.11=fore:#F90000,back:#272822 style.au3.12=fore:#FFFF80,back:#272822 style.au3.13=fore:#00FFFF,back:#272822 style.au3.14=fore:#48A4FF,back:#272822 style.au3.15=fore:#2D96FF,back:#272822 style.au3.16=fore:#D26900,back:#272822 command.name.19.*= command.name.33.*= openpath.$(au3)=$(SciteDefaultHome)\..\include; font.quality=4 style.error.3=fore:#FFFFFF,back:#FF6400,bold,xfont:Consolas,size:12 caret.width=3 style.*.33=fore:#E4E4E4,back:#333333,$(font.base) style.au3.37=fore:#00AAFF,back:FFFFFF style.*.32=style.*.32=$(font.base),back:#F0F4F9 style.lua.0=fore:#F07070,bold style.lua.1=$(colour.code.comment.box),$(font.code.comment.box),back:#D0F0F0,eolfilled style.lua.2=$(colour.code.comment.line),$(font.code.comment.line) style.lua.3=$(colour.notused),bold,$(font.notused) style.lua.4=fore:#E000F4,bold,italics style.lua.5=fore:#0000FF,bold style.lua.6=fore:#F07070,bold style.lua.7=fore:#F07070,bold style.lua.8=fore:#F07070,bold style.lua.9=$(colour.preproc),bold style.lua.10=$(colour.operator),bold style.lua.11=fore:#808080,bold style.lua.12=back:#E0C0E0,bold,eolfilled style.lua.13=$(style.lua.5),bold,back:#F5FFF5 style.lua.14=$(style.lua.5),bold,back:#F5F5FF style.lua.15=$(style.lua.5),bold,back:#FFF5F5 style.lua.16=$(style.lua.5),bold,back:#FFF5FF style.lua.17=$(style.lua.5),bold,back:#FFFFF5 style.lua.18=$(style.lua.5),bold,back:#FFA0A0 style.lua.19=$(style.lua.5),bold,back:#FFF5F5 style.lua.20=fore:#7F7F00,bold braces.lua.style=10,bold file.patterns.props=*.properties;*.session;*.ini;*.inf;*.reg;*.url;*.cfg;*.cnf;*.aut;*.SciTEConfig style.props.0=fore:#000000,bold style.props.1=fore:#009000,bold,$(font.comment) style.props.2=$(colour.string),bold,back:#EFF0F0,eolfilled style.props.3=fore:#FF0000,bold style.props.4=$(colour.preproc) style.props.5=fore:#0060E0,bold style.props.33=fore:#000000,bold,back:#A0E0F0 style.*.32=style.*.32=$(font.base),back:#F0F4F9 style.props.34=fore:#0000FF,bold style.props.35=fore:#FF0000,bold style.json.0=fore:FFFFFF,bold style.json.1=fore:#007F7F,bold style.json.2=fore:#7F0000,bold style.json.3=fore:#FFFFFF,back:#FF0000,eolfilled style.json.4=fore:#880AE8,bold style.json.5=fore:#0B982E style.json.6=fore:#05BBAE,bold,italics style.json.7=$(style.json.6),bold style.json.8=fore:#18644A,bold style.json.9=fore:#0000FF,bold style.json.10=fore:#D137C1,bold style.json.11=fore:#0BCEA7,bold style.json.12=fore:#EC2806,bold style.json.13=fore:#FFFFFF,bold,back:#FF0000 style.au3.32=style.*.32=$(font.base),back:#272822 command.19.beta= command.33.beta= To Setup the ScITE properties go to C:\Users\Youruse\AppData\Local\AutoIt v3\SciTE and replace the SciTEUser.properties' info with the above one. Then your editor will look like: Saludos @Danyfirex it doesnt work. it return to its original colors. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 22, 2017 Developers Share Posted October 22, 2017 Have you installed the separate SciTE4AutoIt3 installer or just using the standard SciTE that comes with the AutoIt3 installer? 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 More sharing options...
232showtime Posted October 22, 2017 Share Posted October 22, 2017 @Danyfirex I tried it and got a white vertical line. ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 22, 2017 Developers Share Posted October 22, 2017 Just now, 232showtime said: I tried it and got a white vertical line. That vertical line is a feature of SciTE and is set by the edge.xxx keywords: (from the helpfile) edge.mode edge.column edge.colour Indicates long lines. The default edge.mode, 0, does not indicate long lines. An edge.mode of 1 uses a vertical line to indicate the specified column and an edge.mode of 2 changes the background colour of characters beyond that column. For proportional fonts, an edge.mode of 2 is more useful than 1. Jos 232showtime 1 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 More sharing options...
Danyfirex Posted October 22, 2017 Share Posted October 22, 2017 I got the vertical line too. I like it. separate SciTE4AutoIt3 installer. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
senatin Posted October 22, 2017 Author Share Posted October 22, 2017 3 hours ago, Jos said: Have you installed the separate SciTE4AutoIt3 installer or just using the standard SciTE that comes with the AutoIt3 installer? Jos What happen was it was first lite then I installed sort of components and it become sciTE. Then I open "SciTEUser.propertie" using notepad and replace the code with this codes. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 22, 2017 Developers Share Posted October 22, 2017 (edited) 25 minutes ago, senatin said: Then I open "SciTEUser.propertie" using notepad Notepad...Seriously? What about in SciTE selecting the appropriate option and see the result rightaway? (Options/Open User Options File) Also ensure yourself that these settings aren't already in the file already. Jos Edited October 22, 2017 by Jos senatin 1 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 More sharing options...
senatin Posted October 22, 2017 Author Share Posted October 22, 2017 OMG It works now Thank you so much. Love it Link to comment Share on other sites More sharing options...
232showtime Posted October 23, 2017 Share Posted October 23, 2017 @Danyfirex thanks for sharing, this really helps a lot. ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. Link to comment Share on other sites More sharing options...
Danyfirex Posted October 23, 2017 Share Posted October 23, 2017 You're welcome guys. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
senatin Posted October 24, 2017 Author Share Posted October 24, 2017 @Danyfirex I already Liked your post thank you anyway you seems forgot 1 line. When Error Promted in console the error is like Invisible need to highlight to see it. Though Its kind of ok just for you to know or maybe its meant to be that way. All in all its awesome. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now