Stilgar Posted April 1, 2009 Posted April 1, 2009 (edited) I've created some extensions for jEdit to work with AutoIt scripts:Included in the archiv:Edit-modeCommando files (wrapper for tools like Au4check:) XInsert library Clipper librariesctags Macros, more then 30 for debugging, editingAnd a simple preprozessor: example: ; File ............: __NAME__ ; AutoItVersion ...: __AUTOIT_VERSION__ ; Time ............: __TIME__ ; Date ............: __DATE__ #define Text "foo bar" #define Var1 $ok #define Var2 $test #define Beta #ifdef Beta #include <test_beta.au3> #else #include <test.au3> #endif Var1 = ( 1 > $a ? "ok" : Text ) For $i : $aArray MsgBox(64,"",$aArray[$i]) Next $a << 2 $b = $a%$c #undef Var2 #ifdef Var2 MsgBox(64,"","1") #elif Test MsgBox(64,"",Var2) #elif Var1 MsgBox(64,"",Text) #else MsgBox(64,"","3") #endif Edited April 23, 2009 by Stilgar jEdit4AutoIt PlanMaker_UDF
GEOSoft Posted April 1, 2009 Posted April 1, 2009 It seems that the JEdit site is down. This looks promising though. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
rajeshontheweb Posted April 2, 2009 Posted April 2, 2009 it does look really cool, great job would like to try it out.. Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet
JRSmile Posted April 2, 2009 Posted April 2, 2009 (edited) edit: you forgot to add buffertabs to the plugin list ( which is activated in the video) the update autoit udfs script does not work in my macro menu, i had to execute it by hand via scite :-) Edited April 2, 2009 by JRSmile $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Stilgar Posted April 2, 2009 Author Posted April 2, 2009 @all:Thank you!edit: you forgot to add buffertabs to the plugin list ( which is activated in the video)the update autoit udfs script does not work in my macro menu, i had to execute it by hand via scite :-)OK buffertabs are added now.The "Update UFDs" macro works for me under Vista and Win XP. It only shows after a few seconds a ready-messages, that's all. jEdit4AutoIt PlanMaker_UDF
JRSmile Posted April 2, 2009 Posted April 2, 2009 it lags with a "C:\Documents" message, i think there are missing ' " ' thinks for full path. using english version Documents and settings has whitespaces in its path variable. i tested out the bsh script but that works, maybe the au3 is wrong. btw: i now ended up in a perfect editor only the tab complete of the intelli sense is missing. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Stilgar Posted April 2, 2009 Author Posted April 2, 2009 it lags with a "C:\Documents" message, i think there are missing ' " ' thinks for full path. using english version Documents and settings has whitespaces in its path variable.i tested out the bsh script but that works, maybe the au3 is wrong.btw: i now ended up in a perfect editor only the tab complete of the intelli sense is missing.Oh, that's could be. I'll fix this.If you have SideKick (ctags ...) installed, autocomplete should working. Look under the Plugin-options from SideKick if autocomplete is enabled.Only a MS-Intellisense ®©-clone is not available. jEdit4AutoIt PlanMaker_UDF
JRSmile Posted April 2, 2009 Posted April 2, 2009 re again, i tried everything with ctags and sitekick i could mention about, no more popup window anymore and no kind of autocomplete... thats sad, everything else is working like a charme. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Stilgar Posted April 2, 2009 Author Posted April 2, 2009 re again, i tried everything with ctags and sitekick i could mention about, no more popup window anymore and no kind of autocomplete...thats sad, everything else is working like a charme.- Is the SideKick-plugin working?- Do you see the function (regions ...) list?- Is the SideKick-parser in autoitscript-mode ctags?- Do you have the ctags-path in the Ctags-SideKick-options e.g."C:\Program Files\ctags\ctags.exe" ? jEdit4AutoIt PlanMaker_UDF
Stilgar Posted April 18, 2009 Author Posted April 18, 2009 A small update:* added a small GUI for the progress to jEdit4AutoIt_UDF_Updater.au3* added to the macro PP.bsh:- some preprocessor statements#define#undef or #undefine#ifdef / #elif / #else / #endif (not nestable yet)- and two macros:__DATE_AND_TIME____AUTOIT_BETAVERSION__More informations are on the homepage. Stigar jEdit4AutoIt PlanMaker_UDF
Stilgar Posted April 23, 2009 Author Posted April 23, 2009 Update:- changed: console-commands- fixed: preprozessor #ifdef structure- fixed: Function Wizzard: empty line in parameter listFor more informations look at the homepage, please. jEdit4AutoIt PlanMaker_UDF
JRSmile Posted April 23, 2009 Posted April 23, 2009 would it be possible to have a release that is preconfigured? following the video isn't as easy as it looks :-) $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Stilgar Posted April 23, 2009 Author Posted April 23, 2009 would it be possible to have a release that is preconfigured?following the video isn't as easy as it looks :-)What should I preconfigure? jEdit4AutoIt PlanMaker_UDF
JRSmile Posted April 23, 2009 Posted April 23, 2009 don't you have to configure jedit after installation and adding your mod? i had to do the excact same thing like in your video to have it like it is shown on your screenshot. adding all the stuff manually etc. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-)
Stilgar Posted April 23, 2009 Author Posted April 23, 2009 don't you have to configure jedit after installation and adding your mod?i had to do the excact same thing like in your video to have it like it is shown on your screenshot.adding all the stuff manually etc.Not really. I'm using jEdit since 8 years with ~15 different languages and all the plugins you see on the lists.The only things you have to change manually, after you have installed the plugins and copied the two directorys are:- adding the edit mode- changing two paths in the plugin-options (if you haven't used them before)- adding the error-patterns- and config some shortcuts. jEdit4AutoIt PlanMaker_UDF
Stilgar Posted July 17, 2009 Author Posted July 17, 2009 This updates are little bit older ... changes since the last update:PP.bsh (Preprocessor): * added: <<= * added: >>= * added: %= * updated for use with array variablesEdit-Mode: updated to AutoIt V3.3.1.0 * added: regex-syntax highlighting to 'strings' * added: syntax highlighting for PP.bsh directives and constants * changed: color for directive linesXinsert: * updated to AutoIt V3.3.1.0 UDFs are updated via macro Update_UDFs if the beta is stable.More informations you can find on the homepage. jEdit4AutoIt PlanMaker_UDF
Stilgar Posted August 31, 2009 Author Posted August 31, 2009 A small update: Macros: * New Macro: "Doc Update" Updates "Date" and "Syntax" entries of the current function Console-Commandos: * Added option to the compiler to switch between exe/a3x files Online-Help: * The FF.au3-online-help is now viewed in the web-browser (online only) jEdit4AutoIt PlanMaker_UDF
Dolemite50 Posted October 18, 2009 Posted October 18, 2009 What are you trying to do, break my heart? This looks incredible but I can't walk out on the ball and chain (SciTE) after all the good years. I kindly decline your offer, now get on out of here with your fancy-schmancy temptress of an editor. I bid you good day!!! ....oh hi,.. I'm back,..say,.. I have this friend who might enjoy your editor. If it's OK with you I'll just install it here on my machine so they can try it later. Thanks, I'm they're looking forward to checking it out.
Arion Posted July 16, 2012 Posted July 16, 2012 Is anyone still interested in this? jEdit is a really good editor, though jEdit4AutoIt now takes a few tweaks to get it to work properly. If there is any interest, I'll gladly repackage all of the updated files to work with the latest version of AutoIt (V3.3.8.1) and jEdit (5.0) [quote]“Programming is like *ex: one mistake and you’re providing support for a lifetime.”(Michael Sinz)[/quote] [quote]“There are two ways to write error-free programs; only the third one works.”(Alan J. Perlis)[/quote]
BrewManNH Posted July 16, 2012 Posted July 16, 2012 Thanks for bumping this topic, I'm going to have to take a look at this editor and see how good it is now. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
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