10-11-2010, 10:16 PM
Hi all,
I'm having a problem with the key() function.
I'm passing a variable to the key() function however it's outputting the string itself.
Here is example code:
str filename = _command
filename.from("C:\Downloads\" filename ".jpg")
out filename
int w1=act(win("Select file(s) to upload by" "#32770"))
lef 238 368 w1
key(filename)
lef+ 526 365 w1
lef- 527 365 w1
Insteading of key-ing C:\Downloads\blah.jpg, it keys out filename.
Please help.
Thanks,
Kerx
I'm having a problem with the key() function.
I'm passing a variable to the key() function however it's outputting the string itself.
Here is example code:
str filename = _command
filename.from("C:\Downloads\" filename ".jpg")
out filename
int w1=act(win("Select file(s) to upload by" "#32770"))
lef 238 368 w1
key(filename)
lef+ 526 365 w1
lef- 527 365 w1
Insteading of key-ing C:\Downloads\blah.jpg, it keys out filename.
Please help.
Thanks,
Kerx