Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

GUI Designer: Koda 1.7.3.0


  • Please log in to reply
793 replies to this topic

#761 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,669 posts

Posted 13 April 2012 - 05:37 PM

Here is Czech language file updated from 1.7.2.8 (this version is bundled with Koda 1.7.3.0) to 1.7.3.0
changes:
- encoding changed from "iso-8859-1" to "windows-1250"
- added 1 new translated string <msgFileNotExists>


BUG in Koda default english language file
In original english LNG file this string is gramatically incorrect:

<msgFileNotExists>File &quot;%s&quot; is not exists.</msgFileNotExists>


it should be:

<msgFileNotExists>File &quot;%s&quot; not exists.</msgFileNotExists>


or

<msgFileNotExists>File &quot;%s&quot; doesn't exist.</msgFileNotExists>


I'm not sure which one is better/correct I'm just sure that original text is completely wrong
Someone better in English should say which one use and fix it in Koda.

Attached Files


Edited by Zedna, 13 April 2012 - 05:38 PM.








#762 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,573 posts

Posted 13 April 2012 - 08:14 PM

re: grammar

doesn't exist
or does not exist
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#763 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,669 posts

Posted 24 May 2012 - 07:01 PM

Little cosmetic bug:

In Object Inspector there are colored some properties:
- Properties which can be linked to other controls to red
- Events to green --> at UpDown/Slider/Progress controls Min,Max property is badly colored to green (it's not event)

Also Min could be before Max as it's more logic order

Edited by Zedna, 24 May 2012 - 07:02 PM.


#764 robinsiebler

robinsiebler

    Adventurer

  • Active Members
  • PipPip
  • 102 posts

Posted 04 June 2012 - 12:08 AM

The download link is broken! Also, why is this only available in 1 place?

#765 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 10,027 posts

Posted 04 June 2012 - 12:26 AM

The download link is broken! Also, why is this only available in 1 place?

If you download the full Scite4AutoIt3 installer, or zip file, you will get the latest version of Koda. Also, I just tested the download link from the original post, and it's still working for me.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to an XP machine, and I'm not going to.

 

Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude

 

How to ask questions the smart way!

 

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.
Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.
_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.
GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips. Latin Square password generator

 

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.


#766 robinsiebler

robinsiebler

    Adventurer

  • Active Members
  • PipPip
  • 102 posts

Posted 04 June 2012 - 03:06 AM

Thanks for the information! Also, the link is working for me now as well. It must have been a disturbance in the Force...

Edited by robinsiebler, 04 June 2012 - 03:13 AM.


#767 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,669 posts

Posted 04 June 2012 - 09:34 PM

There is one very annoying bug in Koda 1.7.3
In TabOrder Editor I rearrange order of my controls (labels (some without name), inputboxes, buttons
and after OK and Save form. When I generate code it's absolutely out of order lastly seen in TabOrder Editor window.
:-(

#768 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,669 posts

Posted 16 June 2012 - 11:02 PM

There is some diferent behaviour for coloring of GroupBox controls at design time in Koda
compared to how they are colored in AutoIt at runtime.
See attached screenshots ...

I don't know if it's bug in Koda or bug in AutoIt, which behaviour is correct one.

code:
#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 263, 168, 192, 114) GUISetBkColor(0x008080) $Group1 = GUICtrlCreateGroup("Group1", 24, 16, 185, 105) GUICtrlSetBkColor(-1, 0x00FF00) GUICtrlCreateGroup("", -99, -99, 1, 1) GUISetState(@SW_SHOW) While 1     $nMsg = GUIGetMsg()     Switch $nMsg         Case $GUI_EVENT_CLOSE             Exit     EndSwitch WEnd

Attached Thumbnails

  • group_koda.png
  • group_autoit.png

Edited by Zedna, 16 June 2012 - 11:05 PM.


#769 gelsi

gelsi

    Seeker

  • Normal Members
  • 1 posts

Posted 17 June 2012 - 05:26 PM

Hi. thanks for the app. i created a form but the menu does not show up.
i can only see the input box.
thanks

AutoIt         
#include #include #include #include Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO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EIGHT) Opt("GUIResizeMode", $GUI_DOCKAUTO+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) #Region ### START Koda GUI section ### Form=c:usersgelsidocumentsform.kxf $Form1 = GUICreate("Form1", 615, 438, 191, 122) $Input1 = GUICtrlCreateInput("Input1", 80, 216, 337, 21) $Button1 = GUICtrlCreateButton("OK", 104, 352, 41, 33) $Button2 = GUICtrlCreateButton("Cancel", 288, 352, 65, 33) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd

Edited by gelsi, 17 June 2012 - 05:27 PM.


#770 Kidney

Kidney

    Universalist

  • Active Members
  • PipPipPipPipPip
  • 294 posts

Posted 03 July 2012 - 09:37 AM

ok so i have made many GUI's with AutoIT and with Koda. but for some reason, now im getting an error message whenever i try and preview the form i have just created.


first computer: when i click Run form preview, it bring up an error message saying:
"Cannot create file ...file directory... Access is denied

Exception Address 0041FA05

Information about Source of Exception
Unit:
Method:
Line:0


now the second computer: when i click Run form preview, some windows pop up and close instantly then a test.au3 is open in SciTE with the forms code. now this isnt really THAT big of a deal but it dumb because i have to close Koda just to run the test.au3 and if i need to change something, i have to re-open koda and go find the temp file test.au3

any suggestions??

#771 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,669 posts

Posted 03 July 2012 - 09:54 AM

@Kidney
Firstly check if your computer don't have virus.
Secondly try the same under Administrators (not restricted) account.

#772 Kidney

Kidney

    Universalist

  • Active Members
  • PipPipPipPipPip
  • 294 posts

Posted 03 July 2012 - 10:41 AM

no virus's, both computers are on the admin accounts. i even ran koda as admin just to see if that would work but still the same result.

Edited by Kidney, 03 July 2012 - 10:41 AM.


#773 meows

meows

    Seeker

  • Active Members
  • 28 posts

Posted 08 July 2012 - 12:24 AM

If you download the full Scite4AutoIt3 installer, or zip file, you will get the latest version of Koda. Also, I just tested the download link from the original post, and it's still working for me.

I just downloaded installer autoit-v3.2.8.1 and Koda was not installed. Which is why I am here looking for it.

#774 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 10,027 posts

Posted 08 July 2012 - 12:45 AM

You didn't read that post you quoted very well, you need to download the Scite4AutoIt3 installer to get the Koda install.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to an XP machine, and I'm not going to.

 

Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude

 

How to ask questions the smart way!

 

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.
Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.
_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.
GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips. Latin Square password generator

 

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.


#775 meows

meows

    Seeker

  • Active Members
  • 28 posts

Posted 08 July 2012 - 11:27 PM

You didn't read that post you quoted very well, you need to download the Scite4AutoIt3 installer to get the Koda install.

So sorry, You are right I can not read well at all.
It was very confusing with a lot of buttons to choose from. I must have choosed a bad one. I did get the right download

If you download the full Scite4AutoIt3 installer, or zip file, you will get the latest version of Koda. Also, I just tested the download link from the original post, and it's still working for me.

from the link you posted. Thank you.

Now for my feeble brain, For the life of me. How to you get
While 1  $nMsg = GUIGetMsg()  Switch $nMsg   Case $GUI_EVENT_CLOSE    Exit   Case $Icon1    ControlClick("$Icon1", "", ShellExecuteWait("C:0aTestlvl3.exe", "","C:0aTest", "")   ;$GameStart= ControlClick ShellExecuteWait("C:0aTestlvl3.exe", "","C:0aTest", "")    ; ShellExecuteWait("C:0aTestChina2a.exe", "","C:0aTest", "") ;ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y]]]] ) ;MouseClick ( "button" [, x, y [, clicks [, speed]]] )
to run the file please?

I can use it to make buttons all day. that make message boxes, but how to run a program from a icon or button?

example.
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Play $Sound = _SoundOpen(@WindowsDir & "mediatada.wav") ; Replace this directory with the directory of your sound. _SoundPlay($Sound) ; This will play the sound that you called as a variable earlier. Case $Stop _SoundStop($Sound) ; Stop the sound if it is currently playing. _SoundClose($Sound) ; Close the sound that you opened earlier. EndSwitch WEnd

this works fine, but in all the help files I have read $Sound = _SoundOpen I can not find a
User Defined Function Reference

for how to run a file.

please i really need a example. I have looked to the google and forums for 3 days now and am very flustrated,
Help please?

#776 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 10,027 posts

Posted 09 July 2012 - 02:57 PM

If you need to run a file, look at Run/RunAs/RunWait/RunAsWait/ShellExecute/ShellExecuteWait in the help file, no UDFs needed for any of those. The help file, when opened from Scite includes the help file for the UDFs.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to an XP machine, and I'm not going to.

 

Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude

 

How to ask questions the smart way!

 

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.
Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.
_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.
GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips. Latin Square password generator

 

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.


#777 timmy2

timmy2

    Adventurer

  • Active Members
  • PipPip
  • 123 posts

Posted 08 November 2012 - 02:26 PM

Is it possible to add custom buttons to Koda? I'm referring to buttons that have a pressed and unpressed state. Thank you.

#778 Melba23

Melba23

    I'm old - what's your excuse?

  • Moderators
  • 20,901 posts

Posted 08 November 2012 - 02:30 PM

timmy2,

Have you read my response in your thread about this? Such a button is a checkbox with the $BS_PUSHLIKE style. ;)

M23
StringSize - Automatically size controls to fit text                                                               ExtMsgBox - A user customisable replacement for MsgBox
Toast - Small GUIs which pop out of the Systray                                                                Marquee - Scrolling tickertape GUIs
Scrollbars - Automatically sized scrollbars with a single command                                   GUIFrame - Subdivide GUIs into many adjustable frames
GUIExtender - Extend and retract multiple sections within a GUI                                      NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes
ChooseFileFolder - Single and multiple selections from specified path tree structure      Notify - Small notifications on the edge of the display
Date_Time_Convert - Easily convert date/time formats, including the language               GUIListViewEx - Insert, delete, move, drag, sort and edit ListView items

#779 timmy2

timmy2

    Adventurer

  • Active Members
  • PipPip
  • 123 posts

Posted 08 November 2012 - 06:16 PM

Yes, but since you seem to be on record as having said you don't use Koda or have any experience with it I assumed you were the wrong person to ask about using it. I didn't want to just walk away from Koda and have to learn how to do graphical buttons manually (per your code in the other thread) unless someone with Koda experience tells me custom buttons and states are impossible. Not to dismiss your help at all -- it is greatly appreciated.

timmy2,

Have you read my response in your thread about this? Such a button is a checkbox with the $BS_PUSHLIKE style. ;)

M23



#780 IgImAx

IgImAx

    Seeker

  • Active Members
  • 13 posts

Posted 28 January 2013 - 02:55 AM

Hi Lazycat Posted Image

WooooW! great work! I always think that Autoit need some utility like this one inside it! But this one is more than I expected! Posted Image

I like the fact It can Import au3 files that did not build with it! I'm new at Autoit world and I will start to use your great utility and I will inform you If I did find any bugs or ...!

Thanks again for great job Posted Image
Teach Others to learn more yourselfmy eBooks and Articles in Persian: IgImAx Home! * and more herePosted ImageMy latest problem in Autoit! anyone can help me!?




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users