burque505 wrote:You can do it. Start your script.
(Using AutoGui 2.2.0, should work with other versions)
File -> Import Gui -> Clone window. You'll see a window where it says "Activate the target window and click the "Clone" button".
Choose your script, click "Activate", click "Clone". You'll see a clone of your script on top of the AutoGui window (look at the caption). Now you can edit the layout. If you click into the AutoGui window, you can choose the View menu item and switch back and forth between "Editor" and "Design".
Regards,
burque505

Hi there, I still have trouble with the Import feature regardless of whether I choose Clone or Parse.

1. The import doesn't include all the code that's in the script.
For example:
I set the Font for a control using Properties and save the script. When opened in a text editor, the ahk file includes the font code but when imported into AutoGUI it's missing.

2. Sometimes when I save what I've created, the saved script doesn't contain all the code.
For example:
I set a gLabel for a control using Properties, add target code for the label (below 'do not edit above this line') and save the script. When opened in a text editor the target code is missing and, obviously, the script won't run because the label doesn't have a target.

MANKIND wrote:Is it possible to set breakpoint on some data condition ?

Conditional and watch breakpoint types are not supported.

MANKIND wrote:Is it possible to set group of user variables to show in the variables window ?

It can be done using a regular expression. For example, if you want to show only the variables "a" and "b", enter the following in the search field: "^(a|b)$".

MANKIND wrote:Is there any information for AUTOGUI development/plan/to-do-list/... ?

Some of the features planned for AutoGUI are: theme customization and context-aware autocompletion. Currently I'm redesigning the properties dialog. After that, I will continue working on a AHK-WinAPI HTML table.

kiwichick wrote:The target code is missing...

AutoGUI doesn't strip any portion of the code when saving. To avoid the confusion with the delimiter, I'm considering to remove it and make the generated code read-only. Then, when an attempt is made to modify the generated code, a message box asks if the user wants to leave the designer, if the GUI has been finished. Another way to modify the generated code is to right-click the tab and select "Duplicate Tab Contents". This opens a new tab with the contents of the current tab, which is not associated with the GUI designer. By making the generated code read-only, AutoGUI will be able to generate more content. Pre-defined snippets of code, for example.

Alguimist wrote:
Conditional and watch breakpoint types are not supported.

Why is it so?
Is it hard/... to include that in your/AutoHotkey debug implementation?
Or that doesn't fit well in your plans now?
In the other words, can we expect these in AUTOGUI in some/when future time?

A watch could be improvised by making all execution pass through the debugger break function, where the value of the watched variable is compared with the previously stored value. And then set a breakpoint in the next line. A conditional breakpoint, on the other hand, requires some coding.

Asmodeus wrote:; *********************************************************************** OPEN ISSUES ****************************************************************************************************
...
i re-checked there is def. an issue with replace all. replace should work no matter where the cursor is:
...

there is an issue with replace all.

I am really happy with AutoGUI existing. Thx a lot for that!!!!
Still, it really needs to live a bit more up to its potential. AHK has quite a number of Editors and IDEs but none of them is *really* good. AutoGUI IMHO is the best of all that I tried but, as mentioned, also falls a few steps short. Therefore my feedback is meant as some form of friendly help to improve AutoGUI. Thx for listening.

What is lacking in the Find/Replace dialog is a group box with the options "From cursor" and "Entire scope", as well as the option "Wrap around". I will start to work on it as soon as I finish some changes in progress.

Ok, thx, Alguimist!
The problem with the behaviour right now is that it opens up doors for really bad code mess up. This makes this one a really dangerous editor, if "replace all" only replaces text after or below the caret (by default and without warning), apart from the inconvenience.
Therefore, if implementing these options into the dialog might take a considerable amount of time, may I suggest to "quickly" change the default behaviour either to "entire scope" or "wrap around", which should result in the same end result for the "replace all" operation, right?
Regards, and have a good day, S.

I'm currently in doubt about some keyboard shortcuts:
- The "Script" tab in GUI Properties (F10), where you can see only a few directives, and they only apply to the code generated by the GUI designer, was moved to a separate script, where almost all directives and commands of AHK that comprise the preamble of a script are available and can be applied to any tab. What should be the shortcut for this window? Ctrl+D (Script Directives), Ctrl+P (Script Properties)? Some other key combination?
- F10 is in use by GUI Properties. I'm planning to eventually implement "Compile and Run", and set F10 to it (or maybe Ctrl+F9, since "Run Selected Text" is rarely used). And then move GUI Properties to F11. The functionality of F11 (Show/Hide preview window) would then be moved to F12 or Shift+F12.

I’m not sure it matters which ones specifically. Don’t want you changing it for everybody. If it bothered me enough I’d look at changing them in code myself. But as an example, most modern browsers use Ctrl + / to toggle a line comment.

kczx3 wrote:I’m not sure it matters which ones specifically. Don’t want you changing it for everybody. If it bothered me enough I’d look at changing them in code myself. But as an example, most modern browsers use Ctrl + / to toggle a line comment.

I’m also interested in changing the hotkeys for the code editor itself.
for e.g. i use about 10 editors the use ^d for duplicate line.
BTW in AHK-Studio every hotkeys is reconfigurable. BTW also in ida,phpstorm,resharper,webstorm all hotkeys are reconfigurable.
BTW too all otthers who know also AHK-Studio. what you like more? thats my fist time i try AutoGUI