JackDinn Posted August 28, 2008 Share Posted August 28, 2008 hi , not sure if its a bug or just me, prob just me but when i put a UDF(xxx.au3) into my user include folder it works fine when i call a _func from within it in my code but if i try to display the code of the UDF file with "Tools/Open Include" it just says it cant find the file , and yes i have set up my user include folder in the settings. Thx Jack. Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
Developers Jos Posted August 28, 2008 Developers Share Posted August 28, 2008 (edited) hi , not sure if its a bug or just me, prob just me but when i put a UDF(xxx.au3) into my user include folder it works fine when i call a _func from within it in my code but if i try to display the code of the UDF file with "Tools/Open Include" it just says it cant find the file , and yes i have set up my user include folder in the settings. Thx Jack.Just noticed that the OpenInclude file doesn't use the settings from au3.properties but the "Jump To Func Prod" does. This line is used by the function: openpath.$(au3)=C:\Program Files\AutoIt3\PriveIncludes;$(autoit3dir)\include Will add it to the ToDO list to implement the same logic for the Open Include logic. Jos Edited August 28, 2008 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...
Skruge Posted August 28, 2008 Share Posted August 28, 2008 Just noticed that the OpenInclude file doesn't use the settings from au3.properties but the "Jump To Func Prod" does.I'm not sure if this will be addressed by the same section of code, but UNC paths are also affected. Trying to use OpenInclude with this code: (replace with valid paths, of course)#include "\\server\share\include.au3"returns this error:File not found at :\server\share\include.au3 or C:\Program Files\AutoIt3\include\\server\share\include.au3 Jump to Func Prod works fine, as does running/compiling. Keep up the excellent work! Thanks! [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
JackDinn Posted August 28, 2008 Author Share Posted August 28, 2008 (edited) I'm not sure if this will be addressed by the same section of code, but UNC paths are also affected. Trying to use OpenInclude with this code: (replace with valid paths, of course)#include "\\server\share\include.au3"returns this error:File not found at :\server\share\include.au3 or C:\Program Files\AutoIt3\include\\server\share\include.au3 Jump to Func Prod works fine, as does running/compiling. Keep up the excellent work! Thanks! Np just learning AI but im getting there , glad i found something of interest cos in my last post i was told was a little stupid for asking, yes i did find the answer just after posting it but we all start somewhere O ill just put a copy of the XX.au3 file into the AI3 include folder for now. Edited August 28, 2008 by JackDinn Thx all,Jack Dinn. JD's Auto Internet Speed Tester JD's Clip Catch (With Screen Shot Helper) Projects :- AutoIt - My projects My software never has bugs. It just develops random features. :-D Link to comment Share on other sites More sharing options...
boomingranny Posted November 15, 2018 Share Posted November 15, 2018 (edited) Yes I umed and ahhed before resurrecting a 10 year old post... This stuff still works. If you have your own UDF folder and you want to use the jump to function or open include tools then you need to modify the file: SciTEUser.properties in C:\Users\(username)\AppData\Local\AutoIt v3\SciTE add the line: openpath.$(au3)=$(SciteDefaultHome)\..\include;c:\path\to\your\custom\include\folder You can separate multiple folders with ; I have 3 include paths You should really update the registry here too, with a string (REG_SZ) of the same format (but without the "openpath.$(au3)=$(SciteDefaultHome)\..\include;" on the front) HKCU\Software\AutoIt v3\AutoIt\Include (see picture for an example) while I am in the SciTEUser.properties file, I like to give my UDF a custom color too (see picture below for what I mean by this) style.au3.16=fore:#0080B0 Now that you are on a roll, why not modify the Scite 4 AutoIt Right click menu to include useful tools (such as run tidy, block comment, jump to function, open include...) - see picture below. add this line to : @ProgramFilesDir & "\autoit3\Scite\Properties\au3.properties" user.context.menu=||Run Tidy|1109|Block Comment or Uncomment|243|Jump to function|1118|Jump Back|1120|List Functions|1121|Open Include|1132| Edited November 15, 2018 by boomingranny Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 15, 2018 Moderators Share Posted November 15, 2018 boomiggranny, Quote Yes I umed and ahhed before resurrecting a 10 year old post... Next time - um and ah some more and then sit on your hands. This is all covered in this tutorial in the Wiki. 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...
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