Sign in to follow this  
Followers 0
lawonama

Saying HELLO in an installer

14 posts in this topic

#1 ·  Posted (edited)

Hey all, In made a GTA Installer, actualy the GTA is Spanish, so I'm making an installer which will install the game without pressing any button.

When you press "a" a box wil pop-up and you can write there. I want to write a little tutorial in that box. I have this:

ControlSend("[CLASS:Grand theft auto San Andreas]", "", "Edit1", "aHello,{enter}Welcome to the tutorial...")

But it won't work for me :mellow:, any help please?

Note: I read the rules. This is not for a game but for the installer OF gta

Edited by lawonama

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

To what control are you sending the ControlSend() function... show a capture from the AutoIt Window Info Tool.

PD: Also delete the other thread.

Edited by monoscout999

Share this post


Link to post
Share on other sites

>>>> Window <<<<

Title: GTASAINST

Class: Grand theft auto San Andreas

Position: 0, 0

Size: 808, 634

Style: 0x14CF0000

ExStyle: 0x00000108

Handle: 0x0019031E

>>>> Control <<<<

Class:

Instance:

ClassnameNN:

Name:

Advanced (Class):

ID:

Text:

Position:

Size:

ControlClick Coords:

Style:

ExStyle:

Handle:

>>>> Mouse <<<<

Position: 795, 384

Cursor ID: 0

Color: 0x000000

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

>>>> Hidden Text <<<<

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

The control part is empty, that is the part that we want.. drag the cross over the control that you want to send the keys.

EDITED: The box that you want to display, is made it from you, or from the program?

Edited by monoscout999

Share this post


Link to post
Share on other sites

from the program.

Share this post


Link to post
Share on other sites

from the program.

...and the control is??

Share this post


Link to post
Share on other sites

What do you mean? When i just press the button : "a" while the program is active, it will pop-up the box where i can type.

Share this post


Link to post
Share on other sites

I don`t get it.

Did you write the code for the "a" hotkey? Then show us the code.

or you don`t create any window so...

...Can you get the control where you want to write?

If this is so confussig add a capture from the pop up window.

Share this post


Link to post
Share on other sites

Just give me another way to do it. Im using:

[CLASS:Grand theft auto San Andreas]

Can i use something like:

[CLASS:GTAINST] ?

Share this post


Link to post
Share on other sites

Here is what I get, When someone presses "a" you want your own self-created window to popup with your tutorial?

You need to create a Gui (see GuiCreate) with the $WS_POPUP style

and you can set your text using labels (GuiCtrlCreateLabel)

to get you started :mellow:


010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Share this post


Link to post
Share on other sites

When the window pops up, drag the crosshairs of AutoIt Window Info tool onto the box that you want to write in. Then post the information you see, as you did above.

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

I did, but it's the same info. Actually the thing pops-up in the same .exe file. So not a second .exe opens

Edited by lawonama

Share this post


Link to post
Share on other sites

I was going to allow this thread since it's not about a game but a game installer and that's somewhat of a gray area with the rule. However, since an MVP and moderator have asked that this thread be re-reviewed I'm just going to close it.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0