Jump to content

Recommended Posts

If there are option enabled:
Project Settings => Change logs => Always use the author of project as editor
If open window:
Project => Change logs
And press Button:
New
Field Editor will autofilled with Author name. But This name is Wrong, it is not Author of the project but current windows user :(

image.png.c70cfabd4ab63cb86440bb945c8f6cdb.png

On the screen expected author "Belfigor", not "Администратор", because Belfigor is an author of the current project and "Администратор" is currently active windows user. Fix please :(

 

And how to fix:

1) Open file: Includes/ISN_Studio_Addons.au3

2) Find line 9807:
 

IniWrite($Pfad_zur_Project_ISN, $Changelog_Section, "editor[" & $NewitemID & "]", @UserName)

3) Delete line 9807, add new lines:
 

If _ProjectISN_Config_Read("changelog_use_author_from_project", "false") = "true" Then
        IniWrite($Pfad_zur_Project_ISN, $Changelog_Section, "editor[" & $NewitemID & "]", _ProjectISN_Config_Read("author", ""))
    Else
        IniWrite($Pfad_zur_Project_ISN, $Changelog_Section, "editor[" & $NewitemID & "]", @UserName)
    EndIf

Done. Now field Author will use correct source for Author name

 

p.s.

github variation of bugreport: https://github.com/Belfi/ISN-Autoit-Studio/issues/1

github variation of fix: https://github.com/Belfi/ISN-Autoit-Studio/commit/eba6527cd7d455d2ca6ac540569df34ce3c9bac2

p.s.s. create official ISN repo 😍

[size="1"]My bear is so cute asleep in the closet, not even drinking vodka. My nuclear bomb name is Natasha.[/size]

Link to post
Share on other sites
  • 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

  • 4 weeks later...

@Docfxit Good to hear that it worked for you, though it's the same exe file as on the official Studio site - so there shouldn't had been any differences in downloading and running the file 🤔, and as I wrote the only "error" I got when dl in a clean win10, was that the publisher couldn't be verified.

 

Cheers
/Rex

Link to post
Share on other sites

Hi guys!

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

A special thanks for beta testing this time goes to the user @Rex ! 😎

Happy testing, and as always: Feedback desired 👍

Changelog (translated with google):

Spoiler

-> ISN AutoIt Studio: <-
-----------------------------------

[Fixes]
- Various bugfixes
- "Save as" without file extension is no longer possible
- Fixed a bug where files could be opened twice
- The region name in #EndRegion has been converted to lower case by autocomplete. This is fixed now.
- In the change logs the setting for the author was not considered. This is fixed now.
- If the "Dark Theme" is used, the "Reset all colors" function in the color settings now correctly sets the dark color setting of the ISN. Previously, the color theme without skin was always restored.
- When running Tidy or the SyntaxCheck, any running script would always be terminated. This is fixed now.
- Fixed autocomplete bug for Select / EndSelect. Furthermore, the first "Case" element is automatically inserted in Select. (By the way, this also applies to Switch)
- Redraw problems in the script tree when minimizing or restoring the ISN window fixed.

[Improvements]
- The function "Open external file" can now be inserted into the toolbar as an icon.
- The function "Jump to function" is now also available in the context menu of the script editor.
- ISN variables are now also known as uppercase letters. (e.g.,% MyISNDataDir%)
- In the change report all variables of the ISN can now be used. (e.g.,% MyISNDataDir%)
- Files and folders in the project tree can now be renamed directly in the tree structure. (No extra window needed)
- Updated French translation (thx to Swirti)
- The project tree now retains the currently selected element even after an update of the tree. (Also in the editor mode)
- ISN logo slightly revised
- "Create new file" dialog revised. In the dialog itself, the desired storage location can now be specified directly.
  Furthermore, if the new file has been created via the context menu of the project tree, the selected folder of the project tree is automatically proposed as the storage location.
- "New Folder" dialog revised. In the dialog itself, the desired storage location can now be specified directly.
  Furthermore, if the folder was created via the context menu of the project tree, the selected folder of the project tree is automatically proposed as the storage location.
- AutoIt Wrapper updated to version 19.102.1901.0
- High DPI mode now works with the source version of the ISN (thx to Maik)
- The text search (CTRL + F) can now be used in all Scintilla windows (eg in UDF Manager)
- The search bar in the script tree now has an empty input field button on the right edge
- .ico files are now displayed in the project tree directly with the icon
- Automatic autocomplete for braces improved
- If a .isn file is opened via Windows Explorer, which is already active in another session, this session is automatically brought to the foreground.
- When activating the option "Manage includes through the ISN" in the program settings, it is now checked whether there are already entries in the registry. If this is the case, an import option is offered.

 

[New Features]
- UDF Manager: The ISN now includes an integrated manager for your UDF functions! You can sort and label your UDFs in different folders there.
  The UDF path can be freely defined in the program settings. Default is% MyISNDataDir% \ UDFs.
  UDFs from this collection can, regardless of project, be inserted directly into your script via <> Include. (Attention: To do this the include paths have to be managed by the ISN -> see program settings)
  In addition, the UDF manager can directly generate CallTips and AutoComplete files for the ISN.
  The UDF manager can be found in the menubar under "Tools".
- In the context menu of the project tree, there are now the file operations "Copy, Cut and Paste" as in the Windows Explorer.
- New entry in the context menu of the project tree: "Select another program to open this file" -> Same function as "Open with .." in Windows Explorer.
- New entry in the context menu of the project tree: "Copy file path to clipboard"
- The search bar in the script tree now supports search suggestions during typing. This option is standard but can be disabled at any time. (Program Settings -> Script Editor -> Script Tree)
- There is now a small search bar that can be displayed above the script editor. (For a quick search in between)
  This option can be activated under "View -> Show small search bar above the script editor" or in the program settings under "Script Editor".
- Files can now be added directly via drag and drop from the project tree in the script as an include.
- In the QuickView area, there is now a separate "UDF Explorer" tab. This tab is almost the quick access of the UDF manager. You can search directly for your UDFs here and include them via drag and drop in your script.
  If the "UDF Explorer" is not visible to you, you may have to activate it in the program settings -> Appearance -> QuickView seperat.
- Function "Reload File Contents" has been added to the "File" menu. This function forces the ISN to reread the file contents of the current tab.
- New hotkey: Reload file contents
- The project tree now has its own search bar for searching your project.
- There are three new functions in the "Search" menu: Add all / Previous / Next copies of the selected word to the marker.


-> ISN Form Studio 2: <-
-----------------------------------

[Fixes]
- Various bugfixes

[New Features]
- In the GUI properties, a default font + standard font size can now be defined for new controls. (thx to lyo)
- There is now (finally) an undo or redo function in the Formstudio! Due to the way in which the Formstudio works, the whole thing is unfortunately not very performant. But at least a beginning ...
- In the Control Editor, there is now a "Large" checkbox for icons (eg for button icons)
- In extracode you can now use the variables %x%,%y%,%widh% and %height%. These will later be replaced by the control values when generating the AutoIt code.
- The highlighted control in the editor can now be changed with Tab or Shift-Tab.
- Placing a control from the toolbox can now be aborted with ESC.

 

Edited by ISI360
Link to post
Share on other sites

Thanks for the update!  I just donated another $20 and change (USD), so I hope that helps...

I'm struggling with a problem though: I need a lot of help using DBUG from within ISN Autoit Studio, even v1.09.  In the past, somehow or other I could enable a mode that showed a set of GUI controls that allowed me to set breakpoints and inspect variables and the like, but I simply cannot do it now. The DBUG option is Activated. I've tried both #include <_Dbug.au3> and "_DBug.au3", but neither works.  There's nothing I can find that will let me set a breakpoint.  If I just press F5, it just exists.

I'm asking you instead of the author of DBUG because I think the GUI aspects of DBUG were supplied by yourself and not him. Is this true?  If not, I'll ask him...

 

Thanks!

Link to post
Share on other sites

Thanks for your donation 😘😎

For DBUG: You simply need to activate the advanced debugging under Tools -> Debugging -> Advanced Debugging with DBUG -> Enable.
You do NOT need to add the _DBug.au3 to your includes. (The ISN does this for you in the background 😅)

Then, every time you start your script/project the DEBUG GUI should appear and setting breakpoints and so on should work.

3 hours ago, Mbee said:

I think the GUI aspects of DBUG were supplied by yourself and not him.

Nope, the GUI Elements are not supplied from the ISN AutoIt Studio. They all come from the DBUG tool itselfe.

Edited by ISI360
Link to post
Share on other sites

I thought I'd try it out.  I'm getting an error when I try to run a script saying:

"Cannot start script, AutoIt3.exe not found! Please check program paths!"

When I check the program paths in settings I don't see which path should be pointing to AutoIt3.exe.

I have AutoIt3.exe in C:\Programs\AutoIt3\Aut2Exe\Aut2exe.exe

And in the script folder.

 

Link to post
Share on other sites

If you have a AutoIt3.exe in your C:\Programs\AutoIt3\Aut2Exe directory, then something is clearly wrong with your AutoIt installation :P
(Also you don´t need the exe in the script folder)

Normally (if autoit is installed properly) the path to autoit3.exe is "C:\Program Files (x86)\AutoIt3\AutoIt3.exe" OR "C:\Program Files\AutoIt3\AutoIt3.exe".
Check your paths in the ISN AutoIt Studio settings: File -> Program Settings -> File paths -> AutoIt paths.
There is also a button to find the needed paths automatically.

Hope it helps you.

Edited by ISI360
Link to post
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.

  • 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...