AZJIO Posted August 17, 2013 Share Posted August 17, 2013 (edited) 1. Need to do so that the compiler was multilingual. All texts were inserted at the beginning of the script. For translators it simplifies updating of scripts. It isn't required to look for automatic change of texts again. 2. Need to do to be able to change the compilation settings, or in the GUI, or via the com-line 3. Need to make to the color theme can be changed to black. About 20% are using a black theme to eyes do not get tired. Allow the user to provide information in the form in which it wants to see it. 4. Need to do so that the compiler was as the independent program. That any beginner could use. It will give the chance to those who want to translate the help file to start it doing. Compilation options which can be added in GUI: 1. Color of syntax. 2. Color in the description 3. Links in examples 4. Links in the description 5. Choosing a theme Edited August 17, 2013 by AZJIO My other projects or all Link to comment Share on other sites More sharing options...
FireFox Posted August 17, 2013 Share Posted August 17, 2013 3. Need to make to the color theme can be changed to black. About 20% are using a black theme to eyes do not get tired. Allow the user to provide information in the form in which it wants to see it.Not a good idea, you will kill your eyes trying to read what's on the screen. Use light tools like f.lux instead. Link to comment Share on other sites More sharing options...
AZJIO Posted August 17, 2013 Author Share Posted August 17, 2013 I used the manual set profiles for monitor. It does not help me. After 6 hours of work, I noticed fatigue in eyes. When I changed to the black theme, I was mentally tired, even before the tired eyes. I mean, I could spend 18 hours at the computer. I'm used to the black theme for 2 days My other projects or all Link to comment Share on other sites More sharing options...
FireFox Posted August 17, 2013 Share Posted August 17, 2013 It does not do the same thing as the profiles monitor do. Link to comment Share on other sites More sharing options...
AZJIO Posted August 17, 2013 Author Share Posted August 17, 2013 (edited) I adjusted not the monitor, I adjusted the videocard. With the help of hot keys switched profile Edited August 17, 2013 by AZJIO My other projects or all Link to comment Share on other sites More sharing options...
MHz Posted August 17, 2013 Share Posted August 17, 2013 On item 3. If that is about changing the CSS attributes of the chm styles then the try the conditionalchm download here. Ignore the name and info stuff and just click the button to download the zip file. You will find that changing the external CSS files supplied changes the text color in the chm file. The text color changes from green to red. It looks like javascript handles the external CSS path. This seems like a nice idea to customize a chm file for personal use. Link to comment Share on other sites More sharing options...
AZJIO Posted August 17, 2013 Author Share Posted August 17, 2013 MHz Thanks. I long looked for a similar way Browser is also possible to switch a global style. Opera is supported by a global CSS C:Program FilesOperastylesuser.css body, div, span, p, table, H1, H2, H3, H4, pre { color:#999999; background-color:#303030; font-family: Arial, Verdana, 'Segoe UI', 'Lucida Grande', Helvetica, 'MS sans serif'; } My other projects or all Link to comment Share on other sites More sharing options...
MHz Posted August 18, 2013 Share Posted August 18, 2013 AZJIO, Tried that CSS code in IE. Thankyou, It looks interesting. All text in code boxes is grey. It is rather consistent. Tried in Firefox and experienced some background color missed in the code boxes so extra CSS code is needed to complete it. In both browsers, I experienced issues with seeing popup images. Global CSS files exist with both of these browsers. For IE, Internet Options -> Accessibility -> User Style Sheet. For Firefox, %APPDATA%MozillaFirefoxProfilesxxxxxxx.defaultchromeuserContent.css I use Stylish extension which can do by website url and can also do global. It is available for Firefox, Chrome and Opera. Stylish can update the CSS with out needing to restart the browser, disable it, etc. IMO, it is quite good. Here is a default light theme with some of the AutoIt code colors changed that I use in Firefox using Stylish. Perhaps not a great theme but what I use at the moment. expandcollapse popup@namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("autoitscript.com") { .autoit{ font-family:Consolas,'Courier New',Courier,'Nimbus Mono L',monospace; font-size:12px !important; background-color:#f8f8f8; /*background-color:#F6FAFF !important;*/ color:#000; line-height:110%; } .autoit .de1, .autoit .de2{ font-weight:normal; background:transparent; color:#000; } /* Variables */ .autoit .re0{ color:#AA2727 !important; } .autoit .re1{ color:#5A5A5A; } /* Keywords */ .autoit .kw1{ color:#00F; } /* Macros */ .autoit .kw2{ color:#AC00A9 !important; } /* Functions */ .autoit .kw3{ color:#000090 !important; } /* Standard UDFs */ .autoit .kw4{ color:#000090 !important; } /* Directives */ .autoit .kw5{ color:#AC00A9 !important; } /* Special e.g. #Region */ .autoit .kw6{ color:#DC143C; } /* ? */ .autoit .kw7{ color:#5A5A5A; } /* <Text> (directives) */ .autoit .co0{ /*color:#F00; font-style:italic;*/ color:#626288 !important; font-style:normal !important; } /* Comment text starting with semicolon*/ .autoit .co1{ /*color:#008000; font-style:italic;*/ color:#626288 !important; font-style:italic !important; } /* ? */ .autoit .co2{ color:#008000; font-style:italic; } /* ? */ .autoit .coMULTI{ color:#008000; font-style:italic; } /* ? */ .autoit .coREGEXP{ color:#008000; font-style:italic; } /* Braces */ .autoit .br0{ color:#00F !important; } /* Text strings */ .autoit .st0{ color:#626288 !important; } /* Numbers */ .autoit .nu0{ color:#AC00A9 !important; } /* COM Variable */ .autoit .me1{ color:#F00; color:#550000 !important; } /* Operaters */ .autoit .sy0{ color:#00F !important; } /* Underscore */ .autoit .sy1{ } .autoit .li1{ } .autoit ol{ line-height:67%; } } The problem with CHM files is that they are self contained. The IE global CSS file seems to do nothing to CHM files. That is why I posted about the conditionalchm example. Link to comment Share on other sites More sharing options...
AZJIO Posted August 18, 2013 Author Share Posted August 18, 2013 I replaced the line: <link href="css/default.css" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" href="../css/default.css"> <link href="../../css/default.css" rel="stylesheet" type="text/css"> <script language="javascript" src="css/style.js" type="text/javascript"></script> <script language="javascript" src="../css/style.js" type="text/javascript"></script> <script language="javascript" src="../../css/style.js" type="text/javascript"></script> test.js -> style.js (replace "test.css" to "default.css") test.css -> default.css Did a search default.css, to determine the row in which the order of parameters differs. There is a problem: The images do not match the color. I did for Russian help file, since I already have 2 themes, you can try AutoItHelp.7z My other projects or all Link to comment Share on other sites More sharing options...
MHz Posted August 19, 2013 Share Posted August 19, 2013 I can see by the View Source option of how you have included the javascript code. I see that you chose not to embed a stylesheet and just use external stylesheet which is OK. I have viewed the 2 CSS files in WinMerge and see the differences. The 2 CSS files seem to work good when viewing the CHM. I do not understand the problem with the images that you have mentioned. So much to look at in the CHM file for me to know what the actual problem is. Link to comment Share on other sites More sharing options...
AZJIO Posted August 19, 2013 Author Share Posted August 19, 2013 MHz 1.Take a look here. 2. The problem is that if the black theme, the images should not be white. My other projects or all Link to comment Share on other sites More sharing options...
MHz Posted August 19, 2013 Share Posted August 19, 2013 With using the black theme, I see the "Open this Script" link has a white background. The "Copy to clipboard" link is black. Is that the problem? Link to comment Share on other sites More sharing options...
AZJIO Posted August 19, 2013 Author Share Posted August 19, 2013 I did not find the option to change. I would have made icons (24x24). It is easier to perceive an icon, than the text. My other projects or all Link to comment Share on other sites More sharing options...
James Posted August 19, 2013 Share Posted August 19, 2013 The help file is most likely going to remain white. Why? Because it follows Windows convention. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
MHz Posted August 19, 2013 Share Posted August 19, 2013 I have a simple solution. Remove the problem object. Is "Open this script" needed any more when "Copy to clipboard" now exists? This also reduces the size of the installer and the au3 examples are no longer needed. I do not install the au3 examples as it just clogs up the master file table on the drive. The au3 examples can go the same way the UDF headers went. James, themes are also a Windows convention. lmao. Link to comment Share on other sites More sharing options...
AZJIO Posted August 19, 2013 Author Share Posted August 19, 2013 MHz Is "Open this script" needed any more when "Copy to clipboard" now exists? I benefited from this. This button calls "Open" in registry. If the update entries in the registry, you can configure so that this command starts an example from the help file. Only path to fix Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Open] @="Run the script" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Open\Command] @="\"C:\\AutoIt3\\AutoIt3.exe\" \"%1\" %*" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Run] @="Open in SciTE" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Run\Command] @="\"C:\\AutoIt3\\SciTE\\SciTE.exe\" \"%1\"" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Edit] @="Open in Notepad++" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Edit\Command] @="\"C:\\AutoIt3\\Notepad++\\notepad++.exe\" \"%1\"" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\AutoIt3Wrapper] @="Compilation with AutoIt3Wrapper" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\AutoIt3Wrapper\Command] @="\"C:\\AutoIt3\\SciTE\\AutoIt3Wrapper\\AutoIt3Wrapper.exe\" /in \"%l\"" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Tidy] @="Tidy" [HKEY_CLASSES_ROOT\AutoIt3Script\Shell\Tidy\Command] @="\"C:\\AutoIt3\\SciTE\\Tidy\\Tidy.exe\" \"%1\"" My other projects or all Link to comment Share on other sites More sharing options...
guinness Posted August 19, 2013 Share Posted August 19, 2013 I don't like the suggestion of removing 'Open this Script'. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
FireFox Posted August 19, 2013 Share Posted August 19, 2013 (edited) Is "Open this script" needed any more when "Copy to clipboard" now exists?It's faster to open and run the script if you want to check the example without any edit. Edited August 19, 2013 by FireFox Link to comment Share on other sites More sharing options...
mLipok Posted August 19, 2013 Share Posted August 19, 2013 I don't like the suggestion of removing 'Open this Script'. It's faster to open and run the script if you want to check the example without any edit. I agree with previous speakers Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
James Posted August 19, 2013 Share Posted August 19, 2013 Removing the 'Open this Script' button would be removing one of the key elements as to why AutoIt is so easy to start using. It's a no from me. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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