saywell Posted November 15, 2010 Share Posted November 15, 2010 OK, I've searched the helpfiles and the wiki, and can't find the answer in the forum. What does $GUI_SS_DEFAULT_INPUT actually do? I found it while looking for an easy way to make an input box mandatory. It doesn't do that [and I'll just check for null entry], but now I'm intrigued as to what it actually does! The only helpfile entry [according to 'search] is in the list of styles under 'GUI control styles'. It's not vital to what I'm doing, but I'd like to know for possible future reference. Thanks, William Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 15, 2010 Moderators Share Posted November 15, 2010 saywell,The $GUI_SS_DEFAULT_* styles are AutoIt shorthand for the default/forced styles used whan you create an AutoIt control without specifying any particular style. If you look in the Help file under <Appendix - GUI Control Styles> you can see which controls have such a "shorthand" style - the actual default/forced styles are listed on the various GUICtrlCreate* pages. They come in handy when you want to use additional styles with the default ones. As explained in the Setting Styles tutorial in the Wiki, if you set a particular style you overwrite all existing ones - using this "shorthand" style allows you to add a new style and retain the default/forced styles more easily.All clear? M23 pixelsearch 1 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...
saywell Posted November 15, 2010 Author Share Posted November 15, 2010 saywell, The $GUI_SS_DEFAULT_* styles are AutoIt shorthand for the default/forced styles used whan you create an AutoIt control without specifying any particular style. If you look in the Help file under <Appendix - GUI Control Styles> you can see which controls have such a "shorthand" style - the actual default/forced styles are listed on the various GUICtrlCreate* pages. They come in handy when you want to use additional styles with the default ones. As explained in the Setting Styles tutorial in the Wiki, if you set a particular style you overwrite all existing ones - using this "shorthand" style allows you to add a new style and retain the default/forced styles more easily. All clear? M23 Thanks. M23. Clearer than mud, but probably beyond what I need! So it's used when you want to add a specific style to the default style, as the added style would otherwise overwrite [rather than add to] the default style. If I'd searched on $GUI_SS_DEFAULT_ rather than the full term I would have had a 'hit' in the wiki search! As always, there's a lot of info that's sometimes hard to find until you know enough about autoit to know where to look!! I'm awaiting delivery tomorrow of a newly-published book on Autoit, which may or may not be helpful! I'm not a programmer by background [Medical radiologist] but I've picked up quite a bit along the way [thanks to the experts in this forum mainly]. I often find programming books either too simple or too complex, but rarely 'just right' ! Thanks for your help. William Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 15, 2010 Moderators Share Posted November 15, 2010 saywell,I'm not a programmer by backgroundThe same goes for many of us here - take a look at my profile pic to see what I used to do! Which book are you expecting? If it is the Andy Flesner volume, you ought to know that the scripts therein are somewhat dated - given the pace of AutoIt development since it was published that is hardly surprising - so you may well find that they do not run without some adjustment for new syntax and changed functions. If it is not, please let us know what it is and how you find it as a guide. 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...
MvGulik Posted November 15, 2010 Share Posted November 15, 2010 (edited) ToBeDeleted ... SomeDay ... I Hope. Edited November 15, 2010 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
saywell Posted November 15, 2010 Author Share Posted November 15, 2010 saywell, The same goes for many of us here - take a look at my profile pic to see what I used to do! Which book are you expecting? If it is the Andy Flesner volume, you ought to know that the scripts therein are somewhat dated - given the pace of AutoIt development since it was published that is hardly surprising - so you may well find that they do not run without some adjustment for new syntax and changed functions. If it is not, please let us know what it is and how you find it as a guide. M23 Which airforce? Before the NHS I was an officer in Her Majesty's Royal Navy. The book is AutoIt [Paperback] Frederic P. Miller (Editor), Agnes F. Vandome (Editor), John McBrewster (Editor) ISBN 978-6132815705 I'll let you know if it's a dog, or the dog's bollocks! Regards, William Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 15, 2010 Moderators Share Posted November 15, 2010 saywell, CrabAir! 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...
Zedna Posted November 15, 2010 Share Posted November 15, 2010 (edited) I'm awaiting delivery tomorrow of a newly-published book on Autoit, which may or may not be helpful! I'm not a programmer by background [Medical radiologist] but I've picked up quite a bit along the way [thanks to the experts in this forum mainly]. I often find programming books either too simple or too complex, but rarely 'just right' ! Definitelly look into "C:\Program Files\AutoIt3\AutoIt.chm" There are some sections for beginners like: - Using AutoIt - Language Reference - Tutorials Edited November 15, 2010 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 15, 2010 Share Posted November 15, 2010 saywell,CrabAir! M23I wish you hadn't made me google that up! Origins of 'Crab'; ...Another more plausible explanation as to why the RN refer to the RAF as 'crabs' goes back to the days of rum, sodomy and the lash (about last week in fact). One of the more unsavoury aspects of the average matelot was his unfortunate habit of contracting pubic lice or "crabs" during his shore leave. The treatment for this condition was to get a chum or shipmate to apply a liberal application of a greasy blue/grey ointment (known affectionately as "crab fat") to the affected area. The proper name for the ointment was Blue Unction.With the RN's usual powers of wit and sophistication the RAF were thereafter referred to as 'crab fats' (or crabs for short) as their blue/grey uniform was exactly the same colour as the stuff that the filthy little ratings rubbed on their swollen and lice-ravaged goolies. The RAF by contrast affectionately refer to the Royal Navy as Bum Boys or Fish Heads. The Army are Pongos, Brown Jobs or Grunts. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
jaberwacky Posted November 15, 2010 Share Posted November 15, 2010 Ah yes, SS Default. She served her country well. 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...
Moderators Melba23 Posted November 16, 2010 Moderators Share Posted November 16, 2010 PsaltyDS, Sorry about that - but you decided to look it up. It was coded for saywell who as an ex-RN officer would understand instantly. 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...
saywell Posted November 16, 2010 Author Share Posted November 16, 2010 PsaltyDS, Sorry about that - but you decided to look it up. It was coded for saywell who as an ex-RN officer would understand instantly. M23 Indeed I did! I have some affection for WAFUs, as I was MO at RNAS Yeovilton in 1979/80 [then the busiest airfield/airport in Europe in terms of aircraft movements!]. We had a lovely bumper sticker that parodied stickers used at the time by the RN and Army, and added a bit for our light blue relations: Fly Navy | Sail Army | Walk Sideways William Link to comment Share on other sites More sharing options...
iamtheky Posted November 16, 2010 Share Posted November 16, 2010 (edited) The treatment for this condition was to get a chum or shipmate to apply a liberal application of a greasy blue/grey ointment (known affectionately as "crab fat") to the affected area.ummm why is the treatment a two person event? Edited November 16, 2010 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 16, 2010 Share Posted November 16, 2010 ummm why is the treatment a two person event?They're just naturally social folks. Same way monkeys groom each other without questioning why. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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