Page 13 of 18

Re: AutoGUI - GUI Designer and Script Editor

Posted: 03 Aug 2017, 15:04
by Alguimist
@Asmodeus: the features you asked will be eventually implemented. Right now I'm fixing some minor bugs and working on new projects.

@mel152: extract the files using a program that can open 7z files. If you have 7-Zip or WinRAR installed, right-click the file in Explorer and select "Extract Here".

Re: AutoGUI - GUI Designer and Script Editor

Posted: 06 Aug 2017, 03:53
by Victoriyan
Hello. Your tool is just wonderful. Many features and easy to use.

I ran into such a problem. I create the project, I save it. But then, if I want to edit it, open it again using the program and I can see the current code. Visually, I can not see the project any more. If I want to add something or change something using the tools of the program, it all starts with a clean slate.

What am I doing wrong and how can I solve this problem?

Thank you

Re: AutoGUI - GUI Designer and Script Editor

Posted: 06 Aug 2017, 17:02
by Alguimist
Victoriyan wrote:Hello. Your tool is just wonderful. Many features and easy to use.
Thank you :)
Victoriyan wrote:But then, if I want to edit it, open it again using the program and I can see the current code. Visually, I can not see the project any more.
AutoGUI do not automatically import GUI scripts. You have to inform it to do so by going to File > Import GUI.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 10 Aug 2017, 18:23
by Alguimist
Version 1.4.8:
- Small bug fixes.

:arrow: Download

@Asmodeus: I see you have extended a previous commentary. Thank you for taking the time to provide this information.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 11 Aug 2017, 16:05
by Asmodeus
Alguimist wrote: @Asmodeus: I see you have extended a previous commentary. Thank you for taking the time to provide this information.
I am really glad you appreciate my findings. Thanks for the update.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 16 Aug 2017, 11:54
by KilliK
This tool is amazing.
I needed to create a GUI but I got lost in all those options. then I discovered this script and it's a true lifesaver.

One question though.
Is there a way to set a default font style for all the controls? So far, I have to separately change the font style for each added control which is very cumbersome.

I looked in the help file but I couldnt find something related. :/

Re: AutoGUI - GUI Designer and Script Editor

Posted: 17 Aug 2017, 10:20
by func
Wishlist:

1) Clone A_Variables dialog and rename to User variables, load variables in from current script

2) Add user-defined function list and gosub label list to the Control Types pane as select-able tabs

3) Ability to open multiple instances of autogui by right clicking a tab and selecting 'open in new window', so we can compare two scripts textually

Re: AutoGUI - GUI Designer and Script Editor

Posted: 20 Aug 2017, 15:10
by Alguimist
Version v1.4.9:
- Fixed: bugs in "Add/Remove Tools" (renamed to "Configure Tools").
- Fixed: font options were not being preserved in the copied control.
- Added: new option for Edits and ComboBoxes: Hint Text.
Requested by Asmodeus:
- Sessions and Tools.ini are saved in AppData only if there isn't permission in the AutoGUI folder.
- Missing quotes in the fields of the Tools dialog.
- Fixed: incorrect message box for non-existent file.
- The status bar shows the length of selected characters.
Requested by func:
- Right click the tab and select "Open in a New Window" to open the file in a new instance of AutoGUI.
KilliK wrote:Is there a way to set a default font style for all the controls?
Right click an empty area of the preview window and select Font. A related bug was fixed in this version.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 21 Aug 2017, 07:25
by KilliK
thank you. I ll test it asap.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 21 Aug 2017, 11:35
by Alguimist
Bug fix: syntax highlighting was being disabled when saving a file.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 23 Aug 2017, 08:51
by Guest
Have this running from a download yesterday 8/22/17
but when DL for a different computer today 8/23/17
I get this error

Error at line 43 in #include file
C:---\AutoGui-1.4.9\AutoGUI/Lib\Toolbar.ahk

Line Text: % Button[3]
Error: this parameter contains a variable name missing the ending percent sign

Program will exit

--
code section is ;
line #40 and down
fsState := InStr(Button[3], "DISABLED") ? 0 : 4 ; TBSTATE_ENABLED
Loop Parse, % Button[3], %A_Tab%%A_Space%, %A_Tab%%A_Space% ; Parse button states
IfEqual A_LoopField,, Continue
Else fsState |= %A_LoopField%

fsStyle := fTextOnly || fShowText ? SHOWTEXT : 0
Loop Parse, % Button[4], %A_Tab%%A_Space%, %A_Tab%%A_Space% ; Parse button styles
IfEqual A_LoopField,, Continue
Else fsStyle |= %A_LoopField%

iString := &(ButtonText%Index% := Button[1])
}

----
have tried removing the single %
tried %Button[3]% as well
same error or variable contains error -

Thanks in advance

Walker

Re: AutoGUI - GUI Designer and Script Editor

Posted: 23 Aug 2017, 11:25
by Alguimist
Guest wrote:Error: this parameter contains a variable name missing the ending percent sign
Update AHK.
Documentation wrote:Loop, Parse, InputVar:
[v1.1.21+]: This parameter can be an % expression, but the percent-space prefix must be used.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 23 Aug 2017, 21:39
by minions
When I import a script, the font does not import with it. How can I do this?

Re: AutoGUI - GUI Designer and Script Editor

Posted: 24 Aug 2017, 12:16
by derz00
You cannot. Code editors treat text as plain text. However there should be a way to change the default font for the editor.

EDIT: Oops, I might have misunderstood your question. Glad you found a fix.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 24 Aug 2017, 16:15
by minions
derz00 wrote:You cannot. Code editors treat text as plain text. However there should be a way to change the default font for the editor.
Thanks, derz. And you're right.

So I decided to do what RazorHalo did with version 1.3.3a here.

It seems to work. Here's what I have:

AutoGUI.ahk, etc.

Code: Select all

--removed--
I hope that helps someone!

I'll report if I find any bugs (and I'll try to fix them).

Re: AutoGUI - GUI Designer and Script Editor

Posted: 27 Aug 2017, 17:55
by Zemich
Really cool tool. I have been playing around for a couple of hours now : ) However, I seem to have come across a very annoying thing.
If I create a script, save it, try to open it again in AutoGUI and try to preview then I can't get it to show the preview at all.
It does not even display it at all. Not even a blank preview window.

I have searched this thread and have read a couple of people having the same problem. I can import the script again, but I lose all of the text formatting
and my custom code located under the "Do not edit above this line". It is a real pain to make those changes each time.

I hope you can help.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 27 Aug 2017, 20:42
by Alguimist
Warning: when a GUI script is imported (File > Import GUI), the generated code opens in a new tab without an associated file name. The modification made by RazorHalo associates the original file name with the generated code. DO NOT USE!

Re: AutoGUI - GUI Designer and Script Editor

Posted: 28 Aug 2017, 05:35
by Zemich
Alguimist wrote:Warning: when a GUI script is imported (File > Import GUI), the generated code opens in a new tab without an associated file name. The modification made by RazorHalo associates the original file name with the generated code. DO NOT USE!
I am be misunderstanding something, but how is this related to the missing preview window?
I am running with the latest version from sourceforge.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 28 Aug 2017, 16:02
by Alguimist
Zemich wrote:If I create a script, save it, try to open it again in AutoGUI and try to preview then I can't get it to show the preview at all.
Follow these steps:
1. Go to File > Import GUI.
2. Choose one of the methods. Be aware that both are in an early stage of implementation. A lot of improvements can be made.
3. Select the window (when using the Cloning Tool) or the file.
4. Edit the GUI by adding or removing controls, changing the position/size or setting options.
5. Copy from the generated code only the relevant lines and paste them into the original script, modifying where necessary.

Re: AutoGUI - GUI Designer and Script Editor

Posted: 28 Aug 2017, 16:30
by Zemich
Well, seems to work. Funny thing that the text formatting has gone back to default size in the preview window, but is displayed correctly when executed : )
The whole issue with the preview window going AWOL, is it something that will be fixed at some point?