Jump to content

Recommended Posts

  • Replies 229
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Note: This is the continuation thread from the original one of 2012. The old one growed over 50 pages...so to make the overview better i created a new main thread for the ISN AutoIt Studio. You can fi

Just a little spoiler for the next update (1.09) 😎  

Hi folks! It´s update time again! ISN AutoIt Studio version 1.12 is now online! Like everywhere else, the Corona crisis has made my past ISN development quite a mess. But now I have finally

Posted Images

It´s update time again! ISN AutoIt Studio version 1.10 is online!

Happy testing, and as always: Feedback desired 👍

Changelog (translated with google):

Spoiler

--> ISN AutoIt Studio: <--
-----------------------------------
[Bugfixes]
- Miscellaneous bugfixes
- Fixed bug when searching/replacing umlauts in script editor
- Solved toolbar display problem with 4K displays

[Improvements]
- Ctrl + Shift + Space can now also be used to re-display Autocomplete.
- Intelligent autocomplete of parentheses further improved
- Some components of ISN Autoit Studio (e.g. the pre-installed plugins) have been replaced by .a3x files.
  This should reduce the number of virus messages (false positives) from various AV scanners.
- All .exe files of the ISN AutoIt Studio are now provided with a digital signature.
  This signature was kindly provided to me by the company where I work as a sysadmin.
  Therefore now all .exe files from my source are signed by the signature provider "Gebrüder Haider Bauunternehmung Gesellschaft m.b.H.".
  This might also help against some "false positives" of some AV scanners.
- In the search/replace dialog of the ISN there is now a checkbox to limit the command "Replace all" only to the currently marked area.
- Fixed TAB order of controls in all ISN GUIs.

[New Features]
- ISN plugins can now also be provided and used in .a3x format. This is now the new standard for the integrated plugins (Simple File Viewer and ISN Form Studio 2).
- The ISN AutoIt Studio works by default with tabs as text indentation. This can now be changed in the program settings -> Script Editor to single blanks.
  Furthermore, the standard text indentation width can now also be defined.
- Your script can now be compiled into .a3x files without problems. The necessary settings can be set via AutoIt3Wrapper. (Or simply change the output name of your finished file to .a3x)


--> ISN Form Studio 2: <--
-----------------------------------
[Bugfixes]
- Miscellaneous bugfixes

[New Features]
- New variables for extra code. An overview of all variables can now be displayed with a separate button in the Extracode window.
  INFO: Old variables like $control_handle still work.

[Improvements]
- Loading times when loading/opening a .isf file are significantly reduced. This also affects the Undo / Redo function.
- In the window "Sequence of controls" the selected control is now marked in the control editor. Furthermore, it is now possible to move the order via drag and drop.
- New Control: Rich Edit
- General performance of Form Studio slightly improved.

 

Link to post
Share on other sites
7 hours ago, JoeBar said:

Hi, thanks for your powerful tool,  is there a GUI importing feature ?

And is there another way to use the Form Studio than "rclick project folder and create a new .isf file) ?

Thanks !

No, there is sadly no import feature. (At the moment)

And also no, the Form Studio is designed to open when you open an .isf file in the project tree.

Link to post
Share on other sites

Bug : When you generate code from "Form Studio", doing F1 on a Keyword display help, but at the root of help file, not on the Keyword selected.

Is there an option in "Form Studio" to directly work on the code and switch to the visual version, the only access on the .isf code is when generating ?

Edited by JoeBar
Link to post
Share on other sites
7 hours ago, JoeBar said:

Bug : When you generate code from "Form Studio", doing F1 on a Keyword display help, but at the root of help file, not on the Keyword selected.

Is there an option in "Form Studio" to directly work on the code and switch to the visual version, the only access on the .isf code is when generating ?

You don´t have to edit the .isf manually to edit the code. You can all do this in the formstudio. The "generate code" button is just a preview what it will look like.

For example:
Add a button in your form, and edit your specs in the control editor as you wish. If you want additional autoit code you can do this with the "extracode" button on every control.
This simply "adds" custom autoit code after the control is created. This is also possible in the form settings for the gui.

And you do not need to copy/paste the generated gui code in your script. You can directly include an .isf file with #include "test.isf" and you´r done ;)
(See the testproject of the isn for example)

So if you want to change something in your gui later, simply open the .isf..make the edits, save, and you are done. no code copy/paste needed.

Edited by ISI360
Link to post
Share on other sites
1 hour ago, ISI360 said:

You don´t have to edit the .isf manually to edit the code. You can all do this in the formstudio. The "generate code" button is just a preview what it will look like.

For example:
Add a button in your form, and edit your specs in the control editor as you wish. If you want additional autoit code you can do this with the "extracode" button on every control.
This simply "adds" custom autoit code after the control is created. This is also possible in the form settings for the gui.

And you do not need to copy/paste the generated gui code in your script. You can directly include an .isf file with #include "test.isf" and you´r done ;)
(See the testproject of the isn for example)

So if you want to change something in your gui later, simply open the .isf..make the edits, save, and you are done. no code copy/paste needed.

I had understood the way of using all of your description, i just need a way to see/modify "at any moment" the code generated by Form Studio.

Extracode comes "after", i just need to edit the "real" code in real time.

Edited by JoeBar
Link to post
Share on other sites
1 minute ago, JoeBar said:

I had understood the way of using all of your description, i just need a way to see/modify "at any moment" the code generated by isn.

Extracode comes "after", i just need to edit the "real" code in real time.

For the records: Editing the .isf file is not supported. Every time you press the "save" button in the formstudio, the code will be generated and written in the .isf. So every modification you made "by hand" to the isf code will be overwritten on every save operation.

Link to post
Share on other sites
  • 3 weeks later...

You find the files in the installation directory of the ISN under \Data\Properties. (abbrev.properties + au3.keywords.abbreviations.properties)
But please do not edit them..cause they will be overwritten with the next update.
if you want your own abbrevs for the ISN, place the file in your ISN profile. (Default path is: My Documents\ISN AutoIt Studio\Data\Properties)
Files in your profile won´t get overwritten or changed during an update.

Link to post
Share on other sites

Thank you, everything seems to be clear, but began to watch what I have and did not understand where to shove it))
Could you tell? 
I have one file (taken from SciTE-RU) from it I need to make 2 files "abbrev.properties + au3.keywords.abbreviations.properties" according to the principle as with files located in C:\ISN AutoIt Studio\Data\Properties or file "abbrev.properties" put as is and create nearby "au3.keywords.abbreviations.properties" in which, as I understand it, the abbreviations from "abbrev.properties" ?
I hope I wrote it clearly, I apologize if it's not entirely clear, I use Google translator.

abbrev.properties

Link to post
Share on other sites

Exactly. The "au3.keywords.abbreviations.properties"-file is just for the red-syntax highliting in the code editor. For example when you write "but", you will notice the word is getting red. Thats because the keyword is in that file.

And the "abbrev.properties" tells the keyword in what to expand to. So "but" will become "$button_|", where | is the coursor position.

Edited by ISI360
Link to post
Share on other sites

Thank you, I added the necessary files to my profile and now the abbreviations appeared.
But along the way, another question arose. If I start typing in (for example) Ms (MsgBox) in the editor, then a list appears from which you can select the desired item and by clicking on Enter the necessary line is inserted. The thing is very convenient, thank you very much for implementing this functionality in your product! I wanted to clarify this drop-down list, can I somehow edit it, for example, add my own or change current items?

For example, to make it look like this (as in the SciTE assembly from Ru-Board).

It is very convenient when typing for example any functions.

image.png.b12945279e0990c3cda5b922f301b5b0.png

 

image.png.08d830955c76c5fb1f12477e49c44131.png

image.png.13812b33bc48e7fde7b367474ea02d41.png

Link to post
Share on other sites

Of course you can make your own functions work with that.
The steps are nearly the same as for the abbrev stuff.
You also need again two files: a *.api and a *.properties file.
The API file contains the "help" for commands or a description of your func. The properties file contains again only the keywoards for highliting.
Put the files, again in your ISN profile Data\Properties and Data\Api.

Note: You can use the built in UDF-Manager of the ISN to generate .api and .properties files automatically from your UDF. (Tools -> UDF Manager)

Link to post
Share on other sites

Bugs: 

- Form studio2: All controls in this area will disappear after I click the collapse button

 image.png.ed51c7479ccae5d118019ba93b40e5e0.png

image.png.32e89e2edc9badcbe0730989bbf7d1ba.png

- ISN Autoit Studio: The project tree is sometimes unresponsive, I cannot collapse / expand or right-click a folder or a file. It can only work again after I restart the program.

Question and Suggest new features:
- Have you ever thought about adding version control systems like Git to this project?

- Does the editor have line spacing option?

Edited by Lyo
Link to post
Share on other sites

Thanks, i will fix that in the next update.

 

3 hours ago, Lyo said:

- Have you ever thought about adding version control systems like Git to this project?

- Does the editor have line spacing option? 

Git) I have to less experience with git to implement this at the moment.
Spacing) Currently not, but i write it to the "To-Do" List for the next version ;)

Link to post
Share on other sites

Hi, i have found a bug, when moving the slider of Quickview frame, the elements are not well resized, like this :

1260842222_BugQuickview.jpg.9787bcb72e0c1f7d7210b77968e1e286.jpg

Another suggestion : In the Script tree, a simple click or UP/DOWNARROW would go directly to the function/var instead of being obliged to DblClick on functions/vars.

Edited by JoeBar
Link to post
Share on other sites
  • 2 weeks later...

Hi

in the functionList you omit to display a Volatile function.

you can modify the pattern with this :

'(?im:^(?:Volatile\h+)*Func\h+)(\w+)'

 

In my project i use this pattern:

Local $sFile = FileRead($sFileName)
Local $bVolatile, $Func_Name, $Func_Args, $Func_Body
Local $Pattern = '(?ims)(?:^(Volatile\h+)*Func(?=\h)\h+' & _
                 '(\w+)\h*\(' & _
                 '([^\)]*)\)\r\n' & _
                 '(.*?)\r\n(?<=\r\n)EndFunc(?=\R|\s))'
Local $aFuncs = StringRegExp($sFile, $Pattern, 3)

For $i = 0 To UBound($aFuncs) - 1 Step 4
  $bVolatile = ($aFuncs[$i] ? True : False)
  $Func_Name = $aFuncs[$i + 1]
  $Func_Args = $aFuncs[$i + 2]
  $Func_Body = $aFuncs[$i + 3]
Next

With this you can display each function with argumenst and change the icon for volatile function for example.

Sorry for my Bad english

Edited by GaRydelaMer
new pattern, typo
Link to post
Share on other sites
  • 2 months later...

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.

  • Similar Content

    • By TheSaint
      As many of you may not be aware, of much about AutoIt's humble beginnings, and aspects related to the first GUI version of AutoIt, I thought it might be nice to create a historical reference here for all the many GUI creators that have been created by various people over the years.
      NOTE - While one could argue, that this topic might be better placed in one of the Chat forums, I would argue, that it links to heaps of good code. While much may be redundant in that code, it is still interesting and forms a great perspective. Many are bound to find useful elements at the very least.
      Koda, is no doubt the most well-known GUI creator now, but there was a time, when CyberSlug's legendary GUIBuilder (first known as AutoBuilder) ruled the roost, and AutoIt coder's saw it as a Godsend. AutoIt coding was much simpler back then of course.
      Below, will be a timeline, of any AutoIt GUI creators listed in forum pages. It will be added to by myself as I find them or as others here find them and place a link in a subsequent post ... PLEASE HELP! Comments welcome too.
      (Also note, that this is also intended to include updates, branches etc by others)
      Apr 20 2004 - AutoBuilder by CyberSlug.
      Sep 27 2004 - An interesting topic, where CyberSlug talks about the future of AutoBuilder (etc) and renaming to GUIBuilder and you see the first mentions and links to updates by others (including myself & livewire).
      Nov 05 2004 - A topic where lookfar is working on a SciTE replacement, talks about starting a Form Designer.
      Aug 10 2005 - GuiBuilder first update by TheSaint.
      Sep 26 2005 - GUIBuilder updates by livewire (he also talks about transferring his efforts to Koda).
      Nov 02 2005 - KODA FormDesigner v1.3 by lookfar
      Nov 03 2005 - Seemingly interesting topic about forms by tonedeaf
      Dec 26 2005 - AutoIt Studio(beta) by BillLuvsU
      Jan 09 2006 - AutoBuilder update (or branch) by _^__darkbytez (livewire also posts).
      Feb 19 2006 - Koda v1.5 by lookfar
      Sep 07 2006 - Koda v1.7.3.0 by Lazycat
      Jan 07 2007 - Form/GUI Builder by FlintBrenick
      Jun 10 2007 - Gorganizer by _Kurt (more of an assister than actual GUI maker)
      Jun 27 2007 - Basic GUI Designer by Mast3rpyr0
      May 03 2008 - Autoit Programmer's Desktop (APD) by Ealric
      Jul 11 2008 - Gui Designer by Alek
      Aug 11 2008 - Gorganizer update by _Kurt
      Jun 19 2009 - Easy GUI by Mat
      Aug 13 2009 - GUI Script Creator by Pandemic (not sure this qualifies, but it made me think of templates)
      Aug 16 2010 - Creation Gui by AZJIO
      Jan 22 2012 - ISN AutoIt Studio by ISI360 (includes ISN Form Studio 2, a GUI editor)
      Mar 19 2012 - Arduino GUI Programmer by nikosliapis (creates a specific type of GUI)
      Aug 01 2012 - GuiBuilder Resurrected update/branch to GUIBuilder by baroquebob
      Dec 01 2012 - Form Builder beta (v1.0.6) by BuckMaster
      Jan 12 2015 - GUIBuilderNxt update by jaberwacky of GUIBuilder v0.8 (as a new prototype, modified to work with latest AutoIt) (not a update to the Resurrected version)
      Aug 12 2016 - The GuiBuilder Return by DFerrato as an update to GUIBuilder,
      Jan 17 2017 - GUIBuilder Project by TheSaint (a work in progress based on CyberSlug's original ... and later versions, updated by Roy, TheSaint & others).
      May 29 2019 - The GuiBuilder Return by DFerrato as an update to GUIBuilder, His new and improved version.
      May 9 2022 - GuiBuilderPlus by kurtykurtyboy as an update to GUIBuilder. A new an improved version with more to come.
      There are a significant number of creators/designers that have been started and never completed.
      +++++ STILL UNDER CONSTRUCTION +++++
      P.S. Well that's it from me tonight. I know of at least one other major creator, but cannot recall it's name or the name of the coder, though I think it starts with 'L'. Bound to be a few I've missed, and some I cannot seem to find their first appearance here (Koda, Form Builder, etc), but there may be an obvious reason for that. Will probably rely on feedback from others now that I've got the ball rolling.
      NOTE - If anyone wants to discuss any of these programs above or give some background history, then by all means do so. I will cross-reference (link to) any important comments.
    • By DevMode
      Hello
      I'm using isn autoit studio for a long time and tried to add some plugins, but the existing SDK is very limited
      So I modified the original code
      I added linking external files with the project
      I know that the file name appears in the project tree, but the file is not found in the project folder

       

      ADD Item in Context Menu for add new Linker
      Global $TreeviewContextMenu_Item_Linker = _GUICtrlCreateODMenuItem("Linker", $TreeviewContextMenu_Item8, $smallIconsdll, 998) ;Projektbaum aktualisieren  
      add Event in _InputCheck
      Case $TreeviewContextMenu_Item_Linker _Linker()  
      add _Linker Function for add New Linker and update .isn file
      #Region ; DevMode Func _Linker() If $Offenes_Projekt = "" Then Return -1 If Not IsHWnd($Current_TVExplorer_TreeView) Then Return -1 Local $Treeview = $Current_TVExplorer_TreeView If _GUICtrlTreeView_GetSelection($Treeview) = 0 Then Return $FileSet = FileOpenDialog("Setect Linker",'','Autoit File(*.au3;)|All File(*.*)') If FileExists($FileSet) Then Dim $szDrive, $szDir, $szFName, $szExt _PathSplit($FileSet, $szDrive, $szDir, $szFName, $szExt) $LinkerName = InputBox("Add New Linker","Plese enter Linker Name",$szFName&$szExt) If $LinkerName = "" Then Return _GUICtrlTreeView_AddChild($hWndTreeview, _GUICtrlTreeView_GetFirstItem($hWndTreeview),'=>'&$LinkerName) $NewLinker = $FileSet&'%'&$LinkerName $OldLinkers = IniRead($Pfad_zur_Project_ISN, "ISNPROJECT_TODOLISTDATA", "Linker", "") IniWrite($Pfad_zur_Project_ISN, "ISNPROJECT_TODOLISTDATA", "Linker",$OldLinkers&'|'&$NewLinker) EndIf Sleep(250) $Projektbaum_ist_bereit = 1 EndFunc ;==>_Erstelle_kopie_von_markierter_datei #EndRegion  
      add _LinkerOpen for open file in Editor
      Func _LinkerOpen($LinkerName) $Linkes = IniRead($Pfad_zur_Project_ISN, "ISNPROJECT_TODOLISTDATA", "Linker", "") $sLinker = StringSplit($Linkes,'|') For $p = 1 To $sLinker[0] If $sLinker[$p] = "" Then ContinueLoop $fLinker = StringSplit($sLinker[$p],'%') If $fLinker[0] = 2 And $LinkerName = $fLinker[2] Then Try_to_opten_file($fLinker[1]) EndIf Next EndFunc add Load Linker 
      Func _Load_Project($Foldername) ....... $RDC_Main_Thread = _RDC_Create($Offenes_Projekt, 1, BitOR($FILE_NOTIFY_CHANGE_FILE_NAME, $FILE_NOTIFY_CHANGE_DIR_NAME), 0, $Studiofenster) $RDC_UDFs_Thread = _RDC_Create(_ISN_Variablen_aufloesen($UDFs_Folder), 1, BitOR($FILE_NOTIFY_CHANGE_FILE_NAME, $FILE_NOTIFY_CHANGE_DIR_NAME), 0, $Studiofenster) _Reload_Ruleslots() _Aktualisiere_oder_erstelle_Projektbaum($Offenes_Projekt) _GUICtrlTVExplorer_Expand($hWndTreeview) #Region Load Linker DevMode $Linkes = IniRead($Pfad_zur_Project_ISN, "ISNPROJECT_TODOLISTDATA", "Linker", "") $sLinker = StringSplit($Linkes,'|') For $p = 1 To $sLinker[0] If $sLinker[$p] = "" Then ContinueLoop $fLinker = StringSplit($sLinker[$p],'%') If $fLinker[0] = 2 Then _GUICtrlTreeView_AddChild($hWndTreeview, _GUICtrlTreeView_GetFirstItem($hWndTreeview),'=>'&$fLinker[2]) EndIf Next #EndRegion ;Set focus to the first item in the treeview ...... EndFunc ;==>_Load_Project Func _Update_Treeview() ...... #Region Load Linker DevMode $Linkes = IniRead($Pfad_zur_Project_ISN, "ISNPROJECT_TODOLISTDATA", "Linker", "") $sLinker = StringSplit($Linkes,'|') For $p = 1 To $sLinker[0] If $sLinker[$p] = "" Then ContinueLoop $fLinker = StringSplit($sLinker[$p],'%') If $fLinker[0] = 2 Then _GUICtrlTreeView_AddChild($hWndTreeview, _GUICtrlTreeView_GetFirstItem($hWndTreeview),'=>'&$fLinker[2]) EndIf Next #EndRegion EndFunc ;==>_Update_Treeview Also I needed to add some modifications because by clicking on the file in the project tree the item . is deleted
       
      Edit File ISN_Studio_WindowMessages.au3 , Function _ISN_WM_NOTIFY_TVExplorer
      Case -3 ; NM_DBLCLK $Current_TVExplorer_TreeView = $hTV ;~ If $tvData[$Index][28] Then ;~ ExitLoop ;~ EndIf $tPOINT = _WinAPI_GetMousePos(1, $hTV) $tTVHTI = _GUICtrlTreeView_HitTestEx($hTV, DllStructGetData($tPOINT, 1), DllStructGetData($tPOINT, 2)) $hItem = DllStructGetData($tTVHTI, 'Item') If BitAND(DllStructGetData($tTVHTI, 'Flags'), $TVHT_ONITEM) Then $text = _GUICtrlTreeView_GetText($Current_TVExplorer_TreeView, $hItem ) If StringLeft($text,2) = "=>" Then Return _LinkerOpen(StringTrimLeft($text,2)) ; DevMode $path = _TV_GetPath($Index, $hItem) If Not _WinAPI_PathIsDirectory($path) Then _TV_Send(6, $Index, $hItem) EndIf EndIf Edit File ISN_UDF_TVExplorer.au3 , Function _TV_Send
      Func _TV_Send($iDummy, $iIndex, $hItem, $fDirect = 0, $lParam = 0) IF BitAND($ISNDebugConsole_SpecialLogs, $ISNDebugConsole_SpecialLogs_TVExplorer) then _Write_ISN_Debug_Console("TVExplorer try to send "&$iDummy&" to index "&$iIndex&" and hItem "&$hItem , $ISN_Debug_Console_Errorlevel_Info) _Write_ISN_Debug_Console("DummyControl Handle: "&$tvData[$iIndex][$iDummy], $ISN_Debug_Console_Errorlevel_Info) Endif Local $wParam = _WinAPI_MakeLong($iDummy, $iIndex) If $hItem <> -1 Then $tvData[$iIndex][$iDummy + 17] = $hItem EndIf If $fDirect Then IF BitAND($ISNDebugConsole_SpecialLogs, $ISNDebugConsole_SpecialLogs_TVExplorer) then _Write_ISN_Debug_Console("TVExplorer try _TV_Dummy with wparam "&$wParam&" and lparam "&$lParam , $ISN_Debug_Console_Errorlevel_Info) _TV_Dummy($wParam, $lParam) Else IF BitAND($ISNDebugConsole_SpecialLogs, $ISNDebugConsole_SpecialLogs_TVExplorer) then _Write_ISN_Debug_Console("TVExplorer try GUICtrlSendToDummy with handle "&$tvData[$iIndex][$iDummy]&" and wparam "&$wParam , $ISN_Debug_Console_Errorlevel_Info) If StringLeft(_GUICtrlTreeView_GetText($Current_TVExplorer_TreeView, $hItem ),2) = "=>" Then Return 1 ; DevMode If Not GUICtrlSendToDummy($tvData[$iIndex][$iDummy], $wParam) Then IF BitAND($ISNDebugConsole_SpecialLogs, $ISNDebugConsole_SpecialLogs_TVExplorer) then _Write_ISN_Debug_Console("TVExplorer _TV_Send STOPPED at GUICtrlSendToDummy! Let´s ReCreate the DummyControls..." , $ISN_Debug_Console_Errorlevel_Warning) _ISN_ReCreateTVExplorerDummyControls($iIndex) If Not GUICtrlSendToDummy($tvData[$iIndex][$iDummy], $wParam) Then IF BitAND($ISNDebugConsole_SpecialLogs, $ISNDebugConsole_SpecialLogs_TVExplorer) then _Write_ISN_Debug_Console("TVExplorer _TV_Send STOPPED again at GUICtrlSendToDummy! ReCreate failed!" , $ISN_Debug_Console_Errorlevel_Critical) Return 0 Endif EndIf EndIf Return 1 EndFunc ;==>_TV_Send  
      Please ISI360 add this feature to the official software
      Also, if possible, add the project to GitHub so that we can help it develop the program
       
      Complied Autoit_Studio.a3x
      Autoit_Studio.a3x
       
       
    • By ISI360
      Hi!
      Today I want to show you my current AutoIt project: The ISN AutoIt Studio.
       

       
      The ISN AutoIt Studio is a complete IDE made with AutoIt, for AutoIt!
      It includes a GUI designer, a code editor (with syntax highlighting, auto complete & intelisense), a file viewer, a backup system, trophies and a lot more features!!
      Here are some screenshots:







      Here some higlights:
       
      -> easy to create/manage/public your AutoIt-projects!
      ->integrated GUI-Editor (ISN Form Studio 2)
      ->integrated - file & projectmanager
      ->auto backupfunction for your Projects
      ->extendable with plugins!
      ->available in several languages
      ->trophies
      ->Syntax highlighting /Autocomplete / Intelisense
      ->Dynamic Script
      ->detailed overview of the project (total working hours, total size...)
      And much more!!!
      -> -> Click here to download ISN AutoIt Studio <- <-
      Here is the link to the german autoit forum where I posted ISN AutoIt Studio the first time: http://autoit.de/index.php?page=Thread&threadID=29742&pageNo=1
      For more information visit my Homepage: https://www.isnetwork.at
       
      So….have fun with ISN AutoIt Studio!
       
       
      PS: Sorry for my bad English! ^^
    • By ISI360
      Hi!

      I need a little bit help from some RegEx experts please:
      I would make my ISN AutoIt Studio faster when generating the scripttree. And what would be better to do this via regex?
      Problem is i am not really good at this regex stuff. So maybe someone could help me here.
       
      The challange is to get all Global Variables from a script via RegEx in a Array.
      Here is a example script with some tests:
      Global $Var1 = 1234 Local $Local_Var = 1234 $Ignore_me_too = 1234 Global $Var2 = 1234, $var3 = 1242 Global $ahIcons[30], $ahLabels[30] Global Const $Var4 = iniread($inivar1,"jj","jj","") , $var5= iniread($inivar2,"jj","jj","") Global $Var_String = "was" Global $Array_Test[16] = [1,15,16,0,31,15,25,15,25,30,8,30,8,15,1,15] Global Enum $MARGIN_SCRIPT_NUMBER = 0, $MARGIN_SCRIPT_ICON, $MARGIN_SCRIPT_FOLD Global Const $Delim = '\', $Delim1 = '|' Global $hard1 = "a", _ $hard2 = "b", _ $hard3 = "c"  
      The returning array should look like this:
      $Var1 $Var2 $var3 $Var4 $var5 $Var_String $Array_Test $MARGIN_SCRIPT_NUMBER $MARGIN_SCRIPT_ICON $MARGIN_SCRIPT_FOLD $Delim $Delim1 $hard1 $hard2 $hard3  
      I already made some success with a expression i found in the SciTE Jump Tool:  (\$\w+)(?:[\h\[.=+*/^,)\-])?
      This nearly returns the perfect results. But it does not check if it´s a global variable (with the const and enum options) and also returns variables in commands (for example $inivar1)
      I also found this regex: (?im:^(?=Global|Const|Enum|Static)(?:Global)?\h*(?:Const|Enum|Static)?(?:(?<=Enum)\h+Step\h+[+*-]\d+)?\h*)([^\r\n .\=]+)
      This returns also usefull results...but trying to understand this explodes my head

      Maybe someone can help me here?
      Thanks in advance!
    • By TheSpannish
      Estoy traduciendo este projecto 
      al español que esta mal traducido, son 1000 lineas de frases, para mi es mucho, si alguien que sepa español puediera ayudarme se lo agradeceria
×
×
  • Create New...