Jump to content

Recommended Posts

On 7/22/2019 at 1:02 PM, Inpho said:

After opening Settings, Program Paths, API Files; the directory address is black and white, clear as crystal, right there in front of me...

Soo i guess it¬īs working now ^^ ūüėÖūüėÖ

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

@nimmer

This is sadly a known issue, some antivirus vendors flags ALL programs created with Autoit as virus, due to what I guess is laziness :(

Copy pasted the hello world tutorial from the help file, compiled it and added it to virus total which gave this result https://www.virustotal.com/gui/file/cdc9ef08b8125c4cf7953a0ea6dd7adca8c8552652c716132bd66b7b7fe0cda4/details

Cheers
/Rex

Edited by Rex
Link to post
Share on other sites
  • Developers

That is why we do not distribute any compiled scripts anymore and simply run autoit3.exe with the script.

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 post
Share on other sites
  • 1 month later...

ISN AutoIT Studio is a fantastic program.. is this the best place to get support?  I have several questions on how to accomplish some of the things I need to do, and I want to put them in the best place for it.  

Also - Where can we submit translation changes for the help file?  I found the main site for the program, but it's all in German without an English version.   I can see several things that need better translations (some very awkward grammar, things that don't make sense, etc.).

David F. 

Link to post
Share on other sites

I seem to have found a way of making ISN crash.

Steps to reproduce:

1. Create an ISN project, and use the below code as the source.

2. Press F5 to run the script from inside ISN.

3. Minimise the ISN window.

4. Without switching to any other windows, click the button in the gui that says "Press"

ISN has now gone, presumably crashed, but no error message. At step 4, if you switch to other windows between minimising ISN and clicking the Press button, ISN won't crash. 

It looks like if ISN attempts to be handed focus when minimised, it crashes?

$hGui = GUICreate("Test", 500, 500)

$hBut = GUICtrlCreateButton("Press", 10, 10, 75, 25)

GUISetState()

While 1
    $nMsg = GUIGetMsg()
    
    Switch $nMsg
        
        Case -3         
            Exit
            
        Case $hBut
            _GuiHide($hGui, True)
            Sleep(1000)
            _GuiHide($hGui, False)
            
EndSwitch
WEnd

Func _GuiHide($hGui, $bHide)
    
    If $bHide = True Then
        TraySetState(2)
        GUISetState(@SW_HIDE, $hGui)
    ElseIf $bHide = False Then
        GUISetState(@SW_SHOW, $hGui)
        TraySetState(1)
    EndIf
    
EndFunc   ;==>_GuiHide

 

Link to post
Share on other sites
On 9/1/2019 at 9:31 PM, DavidFigueroa said:

ISN AutoIT Studio is a fantastic program.. is this the best place to get support?  I have several questions on how to accomplish some of the things I need to do, and I want to put them in the best place for it.  

Also - Where can we submit translation changes for the help file?  I found the main site for the program, but it's all in German without an English version.   I can see several things that need better translations (some very awkward grammar, things that don't make sense, etc.).

David F. 

Sorry i overlook you message...
Sure you can ask anything about ISN here ;) (Or simply send me a PM)
Translations: Simply send it to me via PM or to my mail adress. (see website)

Link to post
Share on other sites
  • 4 weeks later...
2 hours ago, gaxar77 said:

Why is there an MFC lib in the program directory? Did you use MFC? How can you use MFC from AutoIt?

On some test machines (especially on Win7), i got an "MFC71.dll is missing"-error when playing some sounds or MP3 files with AutoIt.
Thats the whole case why this file is included in the ISN.

Link to post
Share on other sites

@ISI360 Were you able to test on any other computers? My work and home computers are able to replicate the problem in my previous post 100% of the time.

If any other users could give a test to help prove I'm actually just going insane, that'd be beneficial please¬†ūüėõ

Windows 7 x64

ISN 1.09 (20190619)

 

Link to post
Share on other sites

Hello!

Thanks for this (futur)-great tool! But for the moment, many little bugs are very annoying for everyday use :

  • When returning to focus, one should be able to continue writing directly without being forced to click in the editor (after Alt+TAB for example)
  • In GUI editor, I cannot change ListView columns by simply writing them in the Test/Data field (I'm forced to pass through the Edit Columns dialog
  • When I set a default font for my GUI, some controls (Buttons for example) do not inherite of the GUI's font
  • Many dialogs needs to fix the TAB order of the controls

Also, I feel the GUI editor really slow and laggy (why double-clicking to select controls!?)

Thanks for reading me :)

Edited by matwachich
Link to post
Share on other sites
On 10/2/2019 at 9:06 AM, Inpho said:

Were you able to test on any other computers? My work and home computers are able to replicate the problem in my previous post 100% of the time.

If any other users could give a test to help prove I'm actually just going insane, that'd be beneficial please¬†ūüėõ

Windows 7 x64

@Inpho: I tested it on various windwos 10 (x64, german language) machines...and there is no such problem. But i will try the whole stuff in a Win7-VM the next days..

@matwachich:

When returning to focus, one should be able to continue writing directly without being forced to click in the editor (after Alt+TAB for example)
-> Will be fixed in the next update

In GUI editor, I cannot change ListView columns by simply writing them in the Test/Data field (I'm forced to pass through the Edit Columns dialog
-> Will also be fixed in the next update

When I set a default font for my GUI, some controls (Buttons for example) do not inherite of the GUI's font
-> I guess you mean the "default font"-setting in the gui settings. This setting is only for new controls. So if you create a new control in your gui, it will apply these default settings.
If you want to change the existing controls too, simply select all controls with CTRL+A and define your fontsettings in the control editor on the right side.

Many dialogs needs to fix the TAB order of the controls
-> Not really sure what you mean here. But if you mean the order of the Controls in the GUI, you can also edit these with the button in the upper left corner of the form studio.

Also, I feel the GUI editor really slow and laggy (why double-clicking to select controls!?)
-> Where do you need to double click a control? Normaly a simple click should select the control in the editor.

Link to post
Share on other sites

Hi Christian,

I have (almost) the same problem as Inpho but I can't reproduce the problem.
Sometimes when I'm working with ISN ISN just disappears, It close without any warning and more important it close without any saving.
When it close it allways happens when switching between different windows.

A other problem, which I also not can reproduce, somethimes when selecting some text (always a line that is exactly the same somewhere else in the script) ISN hangs with max CPU load, the only thing I can do then is to kill ISN and restart it.

Edited by nend
Link to post
Share on other sites

Hey, I'm using this again and noticed when you type a comma, equal sign, ampersand, star (*), etc it automatically adds a space after it. Is there any way to disable this? I looked under the script editor settings and don't see anything about it.

 

Edit: Nvm, it was "Enable intelligent autoformatting while writing". The other ones were a little easier compared to this lol

Another edit: When I select a word that's not quoted, and hit the quote key (") it automatically wraps the entire word in quotes. How do I disable this? There has been a few instances where I've had variables I wanted to convert to string literals and this is very frustrating.

Sorry, keep coming back to this post because I just picked up a new project. How do I change the text color of the output box at the bottom? I have a dark background for the editor and the regular text output is black, very hard to see.

Edited by InunoTaishou
Link to post
Share on other sites
On 10/13/2019 at 11:35 PM, InunoTaishou said:

Another edit: When I select a word that's not quoted, and hit the quote key (") it automatically wraps the entire word in quotes. How do I disable this? There has been a few instances where I've had variables I wanted to convert to string literals and this is very frustrating.

See settings -> Scripteditor -> Allow selected area to be enclosed by paired characters. Disable this option.
 

On 10/13/2019 at 11:35 PM, InunoTaishou said:

Sorry, keep coming back to this post because I just picked up a new project. How do I change the text color of the output box at the bottom? I have a dark background for the editor and the regular text output is black, very hard to see.

If so, i reccomend to sitch to the dark skin under settings -> Display -> Skin. Then the output of the console is optimized for dark backgrounds.

Link to post
Share on other sites
  • 2 weeks later...
18 hours ago, Laurynelis said:

How do you increase the size of the gui icons that are too small on a 4k monitor? :)

There is currently no option to change that. (And i have no 4k Monitor to test these...)
But can you please tell me your DPI Scaling value in windows? (So i may simulate this at my test-stations)
-> Right click on desktop -> Display settings -> Scale and layout. Here the scaling percentage value.

Another way to modify this behaviour would be over the "Compatibility"-Tab in the File Properties of the AutoIt_Studio.exe. You could test around with some DPI settings...maybe this helps.

Link to post
Share on other sites
On 10/28/2019 at 10:14 AM, ISI360 said:

There is currently no option to change that. (And i have no 4k Monitor to test these...)
But can you please tell me your DPI Scaling value in windows? (So i may simulate this at my test-stations)
-> Right click on desktop -> Display settings -> Scale and layout. Here the scaling percentage value.

Another way to modify this behaviour would be over the "Compatibility"-Tab in the File Properties of the AutoIt_Studio.exe. You could test around with some DPI settings...maybe this helps.

My scaling is 250%.

Changing DPI settings did not have any effect. Tried all possible combinations :(

 

Another question: I saw black theme for ISN in screenshots in website, but I can't find how to change themes. Is it similar as in scite where you have to update user.properties file?

Edited by Laurynelis
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...