Thanks again, I just tested that out and it works
Is it frowned upon for me to continuously ask random questions? I'm trying and intend to continue working on my own as much as I can with this, but sometimes I just get stumped. If there is a low content/quick newbie question type thread then I'd gladly post my newb questions there.
Hopefully newb questions are all good around here cuz I have a lot.
I'm trying to create this buddy list script to run on Stars. I've got it to the point where it reads the buddylist.txt file, copies the first line to clipboard, opens up the find player dialogue and hits enter.
Now, there are two possible outcomes - the player is either found or now found. In the event that he is found, Stars gives you a pop window whose title is Find a Player, and the contents of the window show you all the tables that player is seated at. If the player is not found, Stars gives you a different pop up saying the player was not found, however, the window title is the same. So how do I differentiate between two windows that have obvious differences but have the same title?
I've just realized that my Add Buddy script is broken:
FileAppend, %clipboard% `n, C:\Users\James\Documents\BuddyList.txt
MsgBox %clipboard% Added to Buddy List
For some reason, whenever I execute it pastes the contents of the previous player that I tried to add buddy too. Not sure why?? It's as if the FileAppend line is running before send^a^c.
EDIT: I'm guessing that what is happening is that AHK is treating the contents of the clipboard as whatever was on it before the hotkey is pressed?