Wolfgang Posted June 2, 2009 Posted June 2, 2009 I wrote myself some user defined functions and liked to make them be known by SciTE. So I placed my *.au3 file under <AutoIt3>\Include and changed the files <AutoIt3>\SciTE\api\api.au3 for the tool tips and <AutoIt3>\SciTE\au3.keywords.properties for the syntax highlighting. The tool tips now work well, but the syntax highlighting doesn't. What's gone wrong?
Moderators Melba23 Posted June 2, 2009 Moderators Posted June 2, 2009 Wolfgang,Add the UDF function names in this file (assuming you have a standard install). You may have to create it:"C:\Program Files\AutoIt3\SciTE\Properties\au3.userudfs.properties"Use this syntax:au3.keywords.user.udfs=_foo_func_1 _foo_func-2 \ _foo_func-3Jos put this in a while ago so it was easier to decide where to put the UDF names - and so they would not get overwritten with each new install.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
Yashied Posted June 2, 2009 Posted June 2, 2009 I wrote myself some user defined functions and liked to make them be known by SciTE. So I placed my *.au3 file under <AutoIt3>\Include and changed the files <AutoIt3>\SciTE\api\api.au3 for the tool tips and <AutoIt3>\SciTE\au3.keywords.properties for the syntax highlighting. The tool tips now work well, but the syntax highlighting doesn't. What's gone wrong?This is what you need.http://www.autoitscript.com/forum/index.php?showtopic=91886 My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
Wolfgang Posted June 3, 2009 Author Posted June 3, 2009 I tried both: I Manually created an au3.userudfs.properties file an I let it UDFManager generate. Both output was the same, but none did work. I use SciTE, that comes along with the installation of AutIt 3. Maybe this not what you call the "full version"? So I tried downloading SciTE4AutIt3.exe or SciTE4AutIt3.zip, but both were blocked by our Anti Virus Software that fund "PUS: Monitor.Win32.Hooker.s". I try to contact my administrator because of the virus.
Moderators Melba23 Posted June 3, 2009 Moderators Posted June 3, 2009 Wolfgang, Yes, I believe you need the 'full' version - sorry, I should have mentioned it above. Do try and get your admin to permit the download - it is an excellent package and really helps maximise AutoIt's power. 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
Yashied Posted June 3, 2009 Posted June 3, 2009 If you want to use the standard SciTE editor (not full version), you can use any resource editor to add their functions to the resources SciTE.exe. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
Wolfgang Posted June 15, 2009 Author Posted June 15, 2009 Wolfgang,Yes, I believe you need the 'full' version - sorry, I should have mentioned it above.Do try and get your admin to permit the download - it is an excellent package and really helps maximise AutoIt's power.M23Melba23,today I tried the next time, again without success. I downloaded SciTE4AutoIt3.exe (is it the "full version"? it's size is 4.22 MB) and installed it, resulting in man more files under C:\Programe\AutiIt3\SciTE. Then I wrote the file au3.uderudfs.properties and placed it in the subdirectory Properties:au3.keywords.user.udfs=_inilesen _inilesenabschnitt _inilesenabschnittnamen _iniloeschen _inischreibenAgain, after starting SciTE, none of these functions were highlighted. Just for fun I edited the file au3.keywords.properties and therein added my functions to "au3.keywords.udfs". Even that didn't work!Wolfgang
Wolfgang Posted June 15, 2009 Author Posted June 15, 2009 Melba23,today I tried the next time, again without success. I downloaded SciTE4AutoIt3.exe (is it the "full version"? it's size is 4.22 MB) and installed it, resulting in man more files under C:\Programe\AutiIt3\SciTE. Then I wrote the file au3.uderudfs.properties and placed it in the subdirectory Properties:au3.keywords.user.udfs=_inilesen _inilesenabschnitt _inilesenabschnittnamen _iniloeschen _inischreibenAgain, after starting SciTE, none of these functions were highlighted. Just for fun I edited the file au3.keywords.properties and therein added my functions to "au3.keywords.udfs". Even that didn't work!WolfgangMelba23,now it works! I forgot to add my functions to api\au3.user.calltips.api. Since I did this, syntax highlighting and tooltips work well. Thank you very much and sorry for m confusion!Wolfgang
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