DrLarch Posted February 13, 2012 Author Share Posted February 13, 2012 (edited) OK, sorry to be picky, but I'm trying to run the calltips with a black background. Yes, did a full reinstall of AutoIt and the full SciTE install as well. I'd like the dark blue to be something else, anything. If it's not possible, then I can just run calltips with a white background, but still, the dark blue highlight seems unmovable. Edited February 13, 2012 by DrLarch Link to comment Share on other sites More sharing options...
Developers Jos Posted February 13, 2012 Developers Share Posted February 13, 2012 (edited) Ok so it was working but just not able to set the Highlight color for the Selected param. Then you need to load the LUA script you were pointed to which works fine for me. Jos Edited February 13, 2012 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 More sharing options...
Developers Jos Posted February 13, 2012 Developers Share Posted February 13, 2012 (edited) See if this doesn't do what you want: I see another issue in the LUA script. The "function myCallTips:BGR2Decimal(BGR)" returns "error" in case the color is the wrong length, but you test on "Error" in "function myCallTips:set_highlight_color()" and the test is case sensitive. Edited February 13, 2012 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 More sharing options...
jaberwacky Posted February 13, 2012 Share Posted February 13, 2012 Thank you Jos. Appreciate that. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
DrLarch Posted February 13, 2012 Author Share Posted February 13, 2012 Ok so it was working but just not able to set the Highlight color for the Selected param.Then you need to load the LUA script you were pointed to which works fine for me.JosYes - that's what I've been trying to get across - it's the highlight color that won't budge.I see another issue in the LUA script. The "function myCallTips:BGR2Decimal(BGR)" returns "error" in case the color is the wrong length, but you test on "Error" in "function myCallTips:set_highlight_color()" and the test is case sensitive. OK, so what exactly do I need to change to make this work? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 13, 2012 Developers Share Posted February 13, 2012 (edited) 1. Download these 2 files from the Beta directory and store them in @autoIt3DirSciTELUA:SciTEStartup.luaSciTE_extras.lua2. Add these lines to your SciTEUser.properties:## CallTips # Display the calltip above the function calltips.set.above=0 # Set the fore and back color of the calltip window style.au3.38=fore:#FFFFFF,back:#15191E # Set the highlight color of the function argument calltips.color.highlight=#FF0000and you should be ready to play with the calltips.color.highlight value.Jos Edited February 13, 2012 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 More sharing options...
Moderators Melba23 Posted February 13, 2012 Moderators Share Posted February 13, 2012 Jos, Works fine for me. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
DrLarch Posted February 14, 2012 Author Share Posted February 14, 2012 (edited) Well then I must be doing something completely wrong, but I don't know where. I can change the foreground & background colors easily enough by changing the values in the code Jos posted. I also tried installing AutoIt on a freshly imaged workstation (have lots around here to play with). Installed AutoIt first and then the full scite install and finally replaced/added the two lua files and added the ## calltips line (copied and pasted) as Jos said on a freshly imaged PC (got lots here to play with). I dunno, hate to keep pestering you guys about this, so I'll just deal with it. I appreciate the time and effort though. Thanks! Edit: Oh and SciTE sometimes coughs up this error in the bottom window: C:Program FilesAutoIt3SciTELuaSciTE_extras.lua:31: bad argument #1 to 'SendEditor' (number expected, got nil) Edited February 14, 2012 by DrLarch Link to comment Share on other sites More sharing options...
jaberwacky Posted February 15, 2012 Share Posted February 15, 2012 You're using the outdated CallTips.lua. Use the two lua files that Jos referenced in his last post. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
DrLarch Posted February 15, 2012 Author Share Posted February 15, 2012 (edited) You're using the outdated CallTips.lua. Use the two lua files that Jos referenced in his last post.No, I downloaded Jos files (from above) as instructed & put them in the @autoIt3DirSciTELUA folder (replacing SciTEStartup.lua & adding SciTE_extras.lua). Can I be any more clear? There also is no such file as "CallTips.lua" anywhere within my AutoIt folder structure. Like I said in my last post, I did this on a completely fresh install of WinXP as well - with same results. Edited February 15, 2012 by DrLarch Link to comment Share on other sites More sharing options...
Developers Jos Posted February 15, 2012 Developers Share Posted February 15, 2012 Relax ... I get the same Error with SciTE 2.28.I am testing/Working with the current Beta version 3.03 of SciTE and SciLexer.dll from here.Try that ...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...
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