Jump to content
Sign in to follow this  
sonicxtacy02

how do i send the content of a variable to a window?

Recommended Posts

sonicxtacy02

I'm doing a script for a friend that reads a track name from winamp and sends the name to a "save as" window. I have the track name being sent to a variable in my script but i need to know how to send the contents of that variable to a window? The only way i can think of to do this would be to make a dynamic array then use sendkeys to the window, but is there any other (easier) known way to handle this?

Share this post


Link to post
Share on other sites
SmOke_N

I'm doing a script for a friend that reads a track name from winamp and sends the name to a "save as" window. I have the track name being sent to a variable in my script but i need to know how to send the contents of that variable to a window? The only way i can think of to do this would be to make a dynamic array then use sendkeys to the window, but is there any other (easier) known way to handle this?

WinGetText() + String Functions to Parse + ControlSend()?

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.

Share this post


Link to post
Share on other sites
sonicxtacy02

WinGetText() + String Functions to Parse + ControlSend()?

see i knew there was an easier way. thanks! :)

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  

×