Jump to content
Sign in to follow this  
JamesDover

Sending Variable

Recommended Posts

JamesDover

I am trying to send a variable that was read from a INI file. But doesn't seem to work. $UK1 is read from the ini which is to send the "E" key. I have tried Send($UK1, 1) but still no luck. Any ideas that I could try? Thanks

$check1 = PixelSearch($BC1X, $BC1Y, $BC1X, $BC1Y, $BC1C, 10)

If @error Then

Send($K1)

Sleep(1500)

EndIf

Edited by JamesDover

Share this post


Link to post
Share on other sites
hearurscream

Why don't you just put:

Send("E")

Or perhaps refine your purpose and give some more code to work with.


Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

Share this post


Link to post
Share on other sites
Paulie

What are you trying to send it to? a game? I only ask because you are using pixelsearch, and that is prevalent in games.

and if you tryed "Send($UK1,1)" that should have sent the text, "$UK1" exactly.

If that doesn't work and you are sending to a game, then the game you are trying to send it to may be protected.

Share this post


Link to post
Share on other sites
JamesDover

I'm using Send($UK1) to make it easer to pull from a INI file. :P

Share this post


Link to post
Share on other sites
hearurscream

How does sending something make it easier to take it from an INI file?


Infinity is a floorless room without walls or ceiling.Anyone who cannot cope with mathematics is not fully human. At best he is a tolerable subhuman who has learned to wear shoes, bathe, and not make messes in the house.

Share this post


Link to post
Share on other sites
JamesDover

Because I have many ini templates.

Share this post


Link to post
Share on other sites
JamesDover

What are you trying to send it to? a game? I only ask because you are using pixelsearch, and that is prevalent in games.

and if you tryed "Send($UK1,1)" that should have sent the text, "$UK1" exactly.

If that doesn't work and you are sending to a game, then the game you are trying to send it to may be protected.

Good point Paulie never thought of that. Yes it is for a game. I wonder if there is a way around it.

Edited by JamesDover

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×