Jump to content

Recommended Posts

Posted

OK, I feel like sort of a jerk right now. I've been using the autoit forums for months now but never bothered to get an account, and when I do it's because I have a bit of a problem.

First off, ISN AutoIt Studio is amazing, 10/10, English translation is almost perfect (A few grammar errors I'm sure no one but me noticed). However, when trying to manage multiple GUI's with ISN AutoIt Studio my program crashes. Now, the reason I have not been able to fix this (yet) is because it starts, and stops. No errors at all. I've tried debugging to console (using advanced debugging and not) to no avail. The strange thing is, when I run the exact same code in Scite Editor, it runs fine.

I'm not really sure if I should post my whole program, because, once again there are no errors or anything. The only response I've been able to get is this (When debugging to msgbox, advanced enabled):

Starting file Multitool_(DLLs_GALORE).au3...

C:\Users\USERNAMEGOESHERE\Documents\ISN AutoIt Studio\Projects\Multitool (DLLs GALORE)\Multitool_(DLLs_GALORE)_tmp_debug.au3 (0) : ==> Error opening the file.: 
 


Multitool_(DLLs_GALORE).au3 -> Exit Code: 1 (Runtime: 4.16 sec)

And that's all. If anyone wants me to post any more information, just ask.

Posted

@someone:

Thanks for your feedback! I try to fix the bug with the next version.

@Inritus:
Also thanks for your feedback!

It looks like the Dbug.au3 cannot generate a Debugversion of your Script. (-> Error opening the file)

Please check your script with the AU3Syntaxchecker for erros and try again. (Or disable advanced debugging)

Hope it helps!

Posted

Hi,

it's probably something simple but I cant find where to launch the Form Studio, if I try and launch it from the projects folder directly I get the error message 'dieses programm ist Teil des ISN AutoIt Studios und kann nicht alleine getsrartet werden!'

How do I launch it please?

Thanks

Posted

Hi

In the AutoIt Studio create a new project and in the project a new .isf file. (File -> New file)

One the file is created just double click the new file and you are in the formstudio!

(For more examples see the testproject)

Posted

Hi

In the AutoIt Studio create a new project and in the project a new .isf file. (File -> New file)

One the file is created just double click the new file and you are in the formstudio!

(For more examples see the testproject)

Hi,

Thanks for that, I'll take a look at the testproject, Thanks for the great work also, it's very well made and feature packed and really helps keep things organised.

Posted

Hello again,

I have a problem that I can't figure out, When I try to use any of the 'Styles' in the GUI Properties window and run the script I get Variable not declared error, I have #include <WindowsConstants.au3> in the 'extracode for gui' window which I assume is correct with no luck, I have also tried adding the include to my main script which also gives the error, am I doing something wrong here? I checked the help file for GUI control styles and it says to include windowsconstants but doesn't say I need to include anything else.

Thanks

Posted

Hi

At the moment there are no includes in the .isf file. So you have to add the includes in your mainfile. But with the next update (0.97) .isf files contains all the needed includes for the form. So you only need to include the .isf!

Posted

Hi,

That explains why they aren't working in the form then, so what I have done is in my gui properties I have checked for example the ws_popup style, then in my main script I have the following includes...

#include <FormsMAIN.isf>

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>

but I still get the error regarding the ws_popup variable not being declared, am I missing something else?

If I dont have the ws_popup checked (or any other style) the form loads fine.

Thanks for the help.

Posted

You must put the .isf include AFTER the other includes:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <GuiButton.au3>

#include <FormsMAIN.isf>

Then it should work ;)

  • 2 weeks later...
Posted

Hi,

I have an issue i'm not sure what has happend but i've been using ISN for a couple weeks and all been good but I started having a problem where if I open 1 of my GUI's form and I go to click on something on the GUI it would disappear along with the side control editor box, then I click an empty space and it will come back - like a glitch, then if I try to interact with my GUI again it will do the same, so I can't physically do anything with it. I decided to reinstall my computer anyway as I wanted to have a fresh start with win 8.1, so I reinstalled ISN from scratch to my OneDrive folder and copied my Projects folder back into this location, and I can open the software and open a project etc but now when I try to open a form it asks basically what application do I want to open it with, so I browsed to the formstudio2 app in the plugins folder but I just get the error message 'Dieses Programm ist teil des ISN Studios und kann nicht alleine gestartet werden!'

Do you know what is happening and how can I resolve the issue please? Nothing changed upto to the point the problem first started, just seemed a bit random.

Thanks

Posted

I hope i understand it correctly...

So when you open an .isf file in the ISN, and windows askt you to choose an application to open the file, the ISN don´t recognizes .isf as a plugin. (So ISN doesn´t recognizes it -> give the file to windows -> and windows brings that popup)

Please check the programsettings of ISN. In the menu Plugins there must be an entry with Formstudio 2 and this must be active!

You can also check under General -> Advanced -> Debug. Here under Loaded filetypes should be isf in the list. (Otherwise it will not work)

At least try to run the AutoIt_Studio.exe as Administrator. Maybe the the program has write problems to some config files...

hope it helps you a litte! ;) (And sorry for my english!)

  • 4 weeks later...
Posted (edited)

Hi.

Former content deleted because it was my mistake.

But one more question:

Is there a bug in the "button font settings"?

Setting the font to bold or changing type works, but color settings don't, the color stays always black.

I can add something like this

GUICtrlSetColor(-1, 0xFF0000)

under "extra code", but than it is not visible in the editor.

Edited by vel2000
Posted (edited)

Try this in extracode:

GUICtrlSetColor($control_handle, 0xFF0000)

-> $control_handle is a placeholder for the form studio. It will be replaced by the real handle automatically.

But yes it is a little bug with the color in the control editor. I will fix it in the next update.

Edited by ISI360
  • 3 weeks later...
Posted (edited)

I think I have found a bug with the updown control, even with the ES_NUMBER style I can input anything?

If I add this to Extracode;

GUICtrlSetStyle( $control_handle, $ES_NUMBER )

It works but the control looks greyed out?

This is since I started using the formstudio2 exe I downloaded from your forums due to the other bug with the updown control and $UDS_NOTHOUSANDS

Edited by ale1981
Posted (edited)

Bug will be fixed in the next update. Also the $ES_NUMBER will be added to the UpDown Style List. (thx for the info!)

PS: Version 0.97 BETA is coming soon... (in a few weeks)

Edited by ISI360
Posted

Would it be possible to add the option to convert the .isf files to normal .au3 files?

 

Why do you need this? In the FormStudio you can export an runnable .au3 file when you go to "generate Code" and "Save au3 file".

But you don´t need to copy the code in your skript. Just include the .isf in your script and you are ready to use!

Guest
This topic is now closed to further replies.
×
×
  • Create New...