Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windowerhelper.net: Instance.NextCommand always throws exception #1

Closed
ddholmes opened this issue Apr 21, 2013 · 5 comments
Closed

Comments

@ddholmes
Copy link

The Instance.NextCommand method always seems to throw an OutOfRange exception. There's not really any documentation so I'm not sure if I'm using it right, but looking through the source I can't see any obvious issues. Other methods like SendString work without issue.

@ddholmes
Copy link
Author

ddholmes commented May 2, 2013

Tested a bit more and found the following:

  • Always throws OutOfRange exception on the first call, regardless of whether or not any commands have been entered.
  • Subsequent calls using the same Instance instance (heh) will grab commands that were entered after the first call.
  • Throws OutOfRange exception again after grabbing all commands.

@alphaONE2
Copy link
Member

Sorry, I somehow missed this issue in the mountain of email I received while I was away. I'll have a fix for this checked in shortly.

@alphaONE2
Copy link
Member

The latest build is available on the windower server now, if you don't want to build from source.

@alphaONE2
Copy link
Member

Actually... I just realized that I just caused another bug with my fix. I'm on a roll today.

@ddholmes
Copy link
Author

ddholmes commented May 2, 2013

Nice, thanks for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants