Jump to content

I need conversion PHP to AU3


Recommended Posts

Hi all... im programmer web more 6 years!! I love autoit3 in work 2 mounth :lmao: is little day :)

Look my script of php:

<?
$num = 1;
$word = "sim";
$word1 = "autoit3 victory";

$rider = "word$num";

echo $$rider;
?>

But i need make for Autoit3 is not work :(

$num = 1
$word = "sim"
$word1 = "autoit3 victory"

$rider = "word$num"

msgbox(0,"test",$$rider)

All that's example ... i need script good au3

I wait answer is thanks :P

Programmer PHP, ASP, CGI, Perl, Delphi, JScript, ......... :)

Link to comment
Share on other sites

  • Moderators

there's your issue... only 1 $ necessary

$num = 1

$word = "sim"

$word1 = "autoit3 victory"

$rider = "word$num"

msgbox(0,"test",$$rider)

Hmm, looks like Larry caught it, but with the $$ , the variable in quotes wouldn't work either.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

oh come on man. everyone does it. hell, i did it while posting in this thread. and i bet if you look back at the older posts of anyone on the forum you'll find atleast one silly error

sorry, this looks like i over-reacted this morning, but i mean it was his very first post asking for help, and i didn't think that mockery would convey the kind of welcome that we want for new users to the forums...
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...