Search found 23 matches

by foxdanger
22 Apr 2020, 08:48
Forum: Ask For Help
Topic: Press a button of your app with a shortcut
Replies: 4
Views: 198

Re: Press a button of your app with a shortcut

SO SIMPLE! <3

Thanks man!
by foxdanger
22 Apr 2020, 07:40
Forum: Ask For Help
Topic: Press a button of your app with a shortcut
Replies: 4
Views: 198

Press a button of your app with a shortcut

I have a button created on my gui which has a function on it: Gui Add, Button, x10 y10 w740 h30 gStartButton, Start DR Tangent Wave Booster StartButton: if (tog := !tog){ GuiControl,,Start DR Tangent Wave Booster,Stop DR Tangent Wave Booster _appStarted := "true" }Else{ GuiControl,,Stop DR Tangent W...
by foxdanger
22 Apr 2020, 07:36
Forum: Ask For Help
Topic: Please God Why?
Replies: 10
Views: 827

Re: Please God Why?

I'm not start a discussion about this. AHK is excellent and that's why I choose it to do what I'm doing, even knowing another languages. But it is limited in some ways and that is a fact. U can find ways to do what you want of course (as I did), but that doesn't make the limitation desapear. Find wa...
by foxdanger
16 Apr 2020, 08:06
Forum: Ask For Help
Topic: Please God Why?
Replies: 10
Views: 827

Re: PLEASE GOD WHY?

garry wrote:
16 Apr 2020, 02:06
what shoul'd happen when I click a button ?
I get error in line 32 ( A_GuiControl ) when start script
I just forgot that line, delete it.
by foxdanger
15 Apr 2020, 17:00
Forum: Ask For Help
Topic: Please God Why?
Replies: 10
Views: 827

Re: PLEASE GOD WHY?

hhahahahaahh True!

is funny because I was a programmer in past, I'm get used with java, with some script languages as action script, and other languages...

But sometimes AHK is strange hahahahahaha

But yes, this time was just me hahahahaha
by foxdanger
15 Apr 2020, 15:53
Forum: Ask For Help
Topic: Please God Why?
Replies: 10
Views: 827

Re: PLEASE GOD WHY?

At the end I did exactly what I want! I should looked for A_GuiControl before! ; Generated by AutoGUI 2.5.8 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 global LIFT_SHAD_WHEEL_POS := {"name": "LIFT_SHAD_WHEEL_POS","posX": 165, "posY": 1700} global GAM_MID_WHEEL_POS := {"...
by foxdanger
15 Apr 2020, 15:52
Forum: Ajuda e Suporte Geral
Topic: Como criar botões e suas funções dinamicamente?
Replies: 3
Views: 710

Re: Como criar botões e suas funções dinamicamente?

At the end I did exactly what I want! I should looked for A_GuiControl before! ; Generated by AutoGUI 2.5.8 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 global LIFT_SHAD_WHEEL_POS := {"name": "LIFT_SHAD_WHEEL_POS","posX": 165, "posY": 1700} global GAM_MID_WHEEL_POS := {"...
by foxdanger
15 Apr 2020, 15:33
Forum: Ajuda e Suporte Geral
Topic: Como criar botões e suas funções dinamicamente?
Replies: 3
Views: 710

Re: Como criar botões e suas funções dinamicamente?

example #warn name1=TEST setworkingdir,%a_scriptdir% Gui,2:default Gui,2: -DPIScale SS_REALSIZECONTROL := 0x40 WA=%A_screenwidth% HA=%A_screenheight% xx:=100 Gui,2:Color,C8D0D4,Black ;-gray Gui,2:Font,CBlack s12,Lucida Console sect1=GIO,Autohotkey,Youtube,NEWS_PT,Hurrican_tracker,Weather_pt,Asia_Ty...
by foxdanger
15 Apr 2020, 15:23
Forum: Ask For Help
Topic: Please God Why?
Replies: 10
Views: 827

Please God Why?

Why. WHY the TESTE button works and sends back a msg box with all the valeus and why the other buttons created with the for loop doesn't recognize the values? Just why... I wanna die on how AHK sometimes is so limited... I want a simple thing: Dynamic butto created. Dynamic function for it. Function...
by foxdanger
15 Apr 2020, 13:45
Forum: Ajuda e Suporte Geral
Topic: Como criar botões e suas funções dinamicamente?
Replies: 3
Views: 710

Como criar botões e suas funções dinamicamente?

Eu gostaria de criar vários botões iguais, só que cada um com um nome diferente, mas dinamicamente com um for. Tentei algo assim mas não surtiu efeito: Object1 := {"name": "Object1", "bla": "outra propriedade"} Object2 := {"name": "Object2", "bla": "outra propriedade"} array := {Object1, Object2} yP...
by foxdanger
15 Apr 2020, 12:01
Forum: Ajuda e Suporte Geral
Topic: Como fazer parte do código funcionar apenas depois de um botão apertado
Replies: 2
Views: 655

Re: Como fazer parte do código funcionar apenas depois de um botão apertado

Bom dia Foxdanger. Você pode usar as condicionais #if para condicionar hotkeys (não confundir com a versão sem o #). Exemplo: No código abaixo, as hotkeys F2 e F3 são ativadas somente quando você aperta no botão iniciar. ATIVADO := 0 ; iniciamos a variável em 0 para que a condição do #if não seja s...
by foxdanger
15 Apr 2020, 08:07
Forum: Ajuda e Suporte Geral
Topic: Como fazer parte do código funcionar apenas depois de um botão apertado
Replies: 2
Views: 655

Como fazer parte do código funcionar apenas depois de um botão apertado

Alguém sabe como fazer para uma parte do código só acontecer após eu apertar um botão? Usando classe talvez? Da pra adicionar uma classe com o clique de um botao? E ai tudo que ta naquela classe só passa a existir depois do clique? E as variaveis globais da primeira classe serão acessíveis para a se...
by foxdanger
14 Apr 2020, 14:08
Forum: Ask For Help
Topic: How to hide part of the code until a button be pressed?
Replies: 1
Views: 220

Re: How to hide part of the code until a button be pressed?

No one knows how to do this?

How about classes? There's a way to do this with classes?
by foxdanger
13 Apr 2020, 09:07
Forum: Ask For Help
Topic: How to hide part of the code until a button be pressed?
Replies: 1
Views: 220

How to hide part of the code until a button be pressed?

Let's say I have a code where I want just part of the code "exist/work" after I hit a button. How to make this? For example: global _var1 global _var2 ; == DRAW GUI == Gui Add, Edit, x300 y160 w120 h25 gStartButton, Start Gui Add, Edit, x72 y160 w120 h25 v_var1 gVar1Edit, %_var1% Gui Add, Text, x16 ...
by foxdanger
13 Apr 2020, 08:32
Forum: Ask For Help
Topic: Changing Edit, buttons and other controls text
Replies: 5
Views: 357

Re: Changing Edit, buttons and other controls text

I sent you and answer which need admin aprovement (do know why), but after that I figured out how to do it. I need to use the variable not the name of the object :D


Thx man!
by foxdanger
13 Apr 2020, 08:26
Forum: Ask For Help
Topic: Changing Edit, buttons and other controls text
Replies: 5
Views: 357

Re: Changing Edit, buttons and other controls text

vEditX : For GuiControl... commands EditX is used as the name of the target Gui control. For the Gui, Submit, ... command EditX is used as the name of the variable the contents of the control named EditX will be stored in. Gui control names are normally super-global. :arrow: Storing and Responding ...
by foxdanger
12 Apr 2020, 14:52
Forum: Ask For Help
Topic: Changing Edit, buttons and other controls text
Replies: 5
Views: 357

Re: Changing Edit, buttons and other controls text

So the variable is necessary, it doesn't saves the text on the control itself.

This variable is global?
by foxdanger
11 Apr 2020, 17:15
Forum: Ask For Help
Topic: Changing Edit, buttons and other controls text
Replies: 5
Views: 357

Changing Edit, buttons and other controls text

What is happening that my text doesn't change when I click on the button? ; Generated by AutoGUI 2.5.8 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 global _listen := "false" Gui Add, Button, x100 y20 w113 h25 gStartStopListenButton, Start Listen Gui Add, Button, x392 y16...
by foxdanger
18 Jun 2019, 17:03
Forum: AutoGUI
Topic: OutputDebbuger on AutoGui
Replies: 3
Views: 3462

Re: OutputDebbuger on AutoGui

Nops, thx man. But this is debugging with steps, I want too see something like TRACE.

There's a screen where the OutputDebbuger is showed?
by foxdanger
18 Jun 2019, 15:59
Forum: AutoGUI
Topic: OutputDebbuger on AutoGui
Replies: 3
Views: 3462

OutputDebbuger on AutoGui

On AutoGUI where I can see the OutputDebugger messages?

[Mod edit: Moved from 'Scripts and Functions']

Go to advanced search