ozymandius257 Posted January 19, 2023 Share Posted January 19, 2023 When writing a script and I add a function, e.g Func Wait_for_form($FormName, $Timeout, $ErrorNumber, $FormText = "") $WinShows = WinWait($FormName, $FormText, $Timeout) If $WinShows = 0 Then MsgBox(0, "Error", "Form " & $FormName & " not found") EndIf WinActivate($FormName) EndFunc Is it possible for SciTe to offer the parameters for the function when I type In Wait_for_form like this. Back up my hard drive? - I can't even find reverse gear. Link to comment Share on other sites More sharing options...
Developers Solution Jos Posted January 19, 2023 Developers Solution Share Posted January 19, 2023 The version I am working on will. It will dynamiccally add funcs from the current script when you save it. No firm eta yet. At this moment you can only statically add your own funcs as described in the helpfile that comes with the current full version of scite4autoit3. SkysLastChance and TimRude 1 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...
ioa747 Posted January 19, 2023 Share Posted January 19, 2023 it could be nothing, but it took me a while to figure it out On SciTE help look for User Abbreviations. And then in Tools SciTE Config (Ctrl + 1) in last bar 'Other Tools' ' Run Abbrev Manager' when you put this line with Abbrev 'wff' Func Wait_for_form($FormName, $Timeout, $ErrorNumber, $FormText = "|") in SciTE when you type wff and hit space the SciTE write for you and put the cursor in the | position I hope it help! I know that I know nothing Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 19, 2023 Moderators Share Posted January 19, 2023 ioa747, I suggest that the "User Call Tip Manager" is the tool that ozymandius257 is looking for - this gives you the list of parameters after typing in the function name. You access it from the same tab in SciteConfig. M23 ioa747 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...
ioa747 Posted January 19, 2023 Share Posted January 19, 2023 (edited) Μay be. I mention this because it took me a while to find and use both of them (my mind was more on how do this and how do that ) I saw that you also contributed to this Congratulations!! and thank you!! Edited April 3, 2023 by ioa747 UpDate image I know that I know nothing 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