Search found 19 matches

by KRG-23
06 Nov 2018, 07:12
Forum: Ask for Help (v1)
Topic: Problems in a GUI with Countdown Script
Replies: 4
Views: 1256

Re: Problems in a GUI with Countdown Script

Your code is not complete. As such, it's not doing anything.

Maybe you'd like to share it with us?
by KRG-23
06 Nov 2018, 04:45
Forum: Ask for Help (v1)
Topic: DDL: can't flush DDL2 values when changing DDL1 choice Topic is solved
Replies: 6
Views: 1643

Re: DDL: can't flush DDL2 values when changing DDL1 choice Topic is solved

@awel20 & @wolf_II: thank you both, I misunderstood this line in the documentation for this GuiControl ...
@Ahk_fan: thanks for your example, now my issue is fixed :)
by KRG-23
05 Nov 2018, 09:06
Forum: Ask for Help (v1)
Topic: DDL: can't flush DDL2 values when changing DDL1 choice Topic is solved
Replies: 6
Views: 1643

DDL: can't flush DDL2 values when changing DDL1 choice Topic is solved

Hey all, I'm trying to create DDLs from a .INI file. I managed to eventually do it but I can't change DDL2 content when changing choice in DDL1... the script keeps adding the content instead of replacing it. The idea : DDL1 > choice1 creates DDL2 with choices2.1 DDL1 > choice2 creates DDL2 with choi...
by KRG-23
03 Oct 2018, 05:11
Forum: Ask for Help (v1)
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 3219

Re: INIREAD returns ERROR Topic is solved

I have no explanation but that worked
Thank you @garry!
by KRG-23
07 Sep 2018, 06:27
Forum: Ask for Help (v1)
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 3219

Re: INIREAD returns ERROR Topic is solved

Notepad only proposes :
- ANSI
- Unicode
- Unicode big endian
- UTF-8
by KRG-23
07 Sep 2018, 04:43
Forum: Ask for Help (v1)
Topic: How can I make `send` give input to Windows cmd terminal? Topic is solved
Replies: 4
Views: 2955

Re: How can I make `send` give input to Windows cmd terminal? Topic is solved

I'd try to use the Run function maybe? https://autohotkey.com/docs/commands/Run.htm And this exemple : MsgBox % RunWaitMany(" ( echo Put your commands here, echo each one will be run, echo and you'll get the output. )") RunWaitMany(commands) { shell := ComObjCreate("WScript.Shell") ; Open cmd.exe wi...
by KRG-23
07 Sep 2018, 04:39
Forum: Ask for Help (v1)
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 3219

Re: INIREAD returns ERROR Topic is solved

Alguimist wrote:Your ini file is in UTF-8 with BOM.
I've changed myfile.ini encoding to UTF-8 (as with NP++ there's not the choice of UTF-8 with BOM) and it's not working any better :(

I've forced both my script and ini file as ANSI, it's not working neither.
by KRG-23
07 Sep 2018, 03:03
Forum: Ask for Help (v1)
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 3219

INIREAD returns ERROR Topic is solved

Hello all, I've made some research but I can't figure out how to solve my problem : When I select a .INI file and make an IniRead , it always returns an error. I am sure I am missing something and that's why I'm asking the boards for help ... Here's the script (UTF-8 without BOM): ;=================...
by KRG-23
07 Sep 2018, 02:36
Forum: Scripts and Functions (v1)
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 46
Views: 17281

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

I've solved my problem. In my test script, there was no SetWorkingDir whereas in my working script, it was set to a log subfolder. Therefore, the font could not be found... My bad. I added file exists checking: ... AddFromFile(FontFile) { if !FileExist(FontFile) { throw "Unable to find font file: "...
by KRG-23
24 Aug 2018, 02:19
Forum: Scripts and Functions (v1)
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 46
Views: 17281

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

I've solved my problem.

In my test script, there was no SetWorkingDir whereas in my working script, it was set to a log subfolder. Therefore, the font could not be found...
by KRG-23
21 Aug 2018, 09:17
Forum: Ask for Help (v1)
Topic: WinMove: can't configure GUI button to change monitor Topic is solved
Replies: 3
Views: 1097

Re: WinMove: can't configure GUI button to change monitor Topic is solved

Good lord ... This made the trick, I put Monitor_post := 1 at the end of my GUI creation sub so it's initialised upon launching my script.

Thank you very much Swagfag!
by KRG-23
21 Aug 2018, 08:21
Forum: Ask for Help (v1)
Topic: WinMove: can't configure GUI button to change monitor Topic is solved
Replies: 3
Views: 1097

WinMove: can't configure GUI button to change monitor Topic is solved

Hello all, I'm facing a conditional test problem I can't figure out ... It's certainly obvious to more trained eyes than mine so this might be a quick fix from anyone who'd fancy help me ;) When I click on my button Send_to_Next_Monitor , it sends my GUI to monitor 2. When I click it again, it shoul...
by KRG-23
14 Aug 2018, 06:31
Forum: Scripts and Functions (v1)
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 46
Views: 17281

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

Ok, I've made some tests and CustomFont() is working with a small test script but not with the complete one... I'm working on it.
by KRG-23
03 Aug 2018, 04:29
Forum: Scripts and Functions (v1)
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 46
Views: 17281

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

tmplinshi wrote:@KRG-23 The only reason I can think of is maybe you cleared the variable returned by CustomFont.
Thank you for your answer.

I'll make tests with some MsgBox to check the content of the variable. I'll keep you posted :)
by KRG-23
03 Aug 2018, 03:57
Forum: Scripts and Functions (v1)
Topic: [Class] CustomFont - Load font from file or resource, without needed install to system.
Replies: 46
Views: 17281

Re: [Class] CustomFont - Load font from file or resource, without needed install to system.

Hello and thank you very much for this script. I'm using it in one of my Gui scripts and I find it very convenient not to have the users install the interface font. However I am facing a problem with it. After sometime it is not working, the default system font displays. It worked for some time and ...
by KRG-23
03 Aug 2018, 01:36
Forum: Ask for Help (v1)
Topic: GUI duplicate script optimisation Topic is solved
Replies: 5
Views: 1640

Re: GUI duplicate script optimisation Topic is solved

@MannyKSoSo: thank you for these more precise explanations and example. I'm already trying them. @A_AhkUser: merci pour tes exemples! I'll also try them because obviously, my Gui is much more complex than the one I posted so I need to make sure the code adaptation also works. I was far from imaginin...
by KRG-23
02 Aug 2018, 08:09
Forum: Ask for Help (v1)
Topic: GUI duplicate script optimisation Topic is solved
Replies: 5
Views: 1640

Re: GUI duplicate script optimisation Topic is solved

I don't know too much about the optimization, but you don't need the #SingleInstance Off as with Gui, New you are creating a new GUI window with each button press, so you aren't running multiple instances of the script, you are only running it once. One options I can think of that you could do is o...
by KRG-23
02 Aug 2018, 07:04
Forum: Ask for Help (v1)
Topic: GUI duplicate script optimisation Topic is solved
Replies: 5
Views: 1640

GUI duplicate script optimisation Topic is solved

Hello, As a new poster in this board, I want to firstly say a huge "thank you" to its community that helped me thousands of times in coping with my poor scripting skills. Secondly, I beseech you to help me as I have a problem that I can't seem to solve : I have a Gui1 that contains a button that dup...
by KRG-23
01 Aug 2018, 06:24
Forum: J'ai besoin d'aide
Topic: Codage jeu : AION script Topic is solved
Replies: 1
Views: 5245

Re: Codage jeu : AION script Topic is solved

Hello, il y a plusieurs scripts dans cette vidéo. Il y a aussi plusieurs classes de persos. Et l'idée ici n'est pas de scripter à ta place, mais de t'aider dans le developpement de tes scripts. Sinon, ayant déjà scripté pour mon Aède, c'est plutôt simple à faire donc essaye déjà de t'y atteler et vi...

Go to advanced search