Jump to content

Function hints in SciTe for user functions (like intellisense)

Go to solution Solved by Jos,

Recommended Posts

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")


Is it possible for SciTe to offer the parameters for the function when I type In Wait_for_form like this.AutoExample.jpg.d94da7ec6ebb1e2784e6d6e31d53217e.jpg

Back up my hard drive? - I can't even find reverse gear.

Link to comment
Share on other sites

  • Developers
  • Solution

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. 

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

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

  • Moderators


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.


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Link to comment
Share on other sites

Μ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  :thumbsup:


forum10.png.e9aa39e7d1a5b91581c88a020874ee07.png           forum9.png.e3e96d89bc0582be93e40865f9d1f204.png

Congratulations!! and thank you!!  :)

Edited by ioa747
UpDate image

I know that I know nothing

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...