Jump to content

Fast Question


Guest AG_444
 Share

Recommended Posts

Can I use WinActivate with a variable? I'm tring to make a script that Activates a chart window so I can find it fast. I want audit to ask for the tiker and then Activate the chart window.

$ticker = InputBox("Ticker", "Please type in the in the ticker and click OK")

WinActivate("SierraChart", $ticker)

Link to comment
Share on other sites

Well that would work if the text of the window somehow changed depending on what you typed in $ticker but i dont know exactly what you are trying to do so i cant help much

[font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font]

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...