Sign in to follow this  
Followers 0
TripleDES

Using a variable within Send()

3 posts in this topic

Just trying to declare a quick variable such as:

$file = "path/to/file"

and then call it with:

Send("copy " $file " here")

However, that doesn't work and neither does:

Send("copy " . $file . " here")

Where am I going wrong?

Thanks!

Share this post


Link to post
Share on other sites



I think I found it:

& Concatenates/joins two strings. e.g. "one" & 10 (equals "one10")

Share this post


Link to post
Share on other sites

Please edit your posts instead of posting new unless someone has already posted. Since you found your answer please put "[sOLVED]" (without quotes) in your topic title. Yes you need to put & between things.

MsgBox(0,"Trial","Send this variable: " & $var)

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  
Followers 0