Solved

Python Help - Controlling another program

Posted on 2011-02-22
2
294 Views
Last Modified: 2012-05-11



basically bugdisp is a program that i want to control through python and help and x A90 1 are the commands .. and for some reason it is not working correctly?
import bugdisp

while True:
	itemText = bugdisp.getNextItem()
	if itemText.find('TRACKBALL_CLICK') >= 0:
		bugdisp.sendCommand('help')
		bugdisp.sendCommand('x A90 1')

Open in new window

0
Comment
Question by:zoomer003
2 Comments
 
LVL 13

Accepted Solution

by:
Superdave earned 500 total points
ID: 34957904
You would have to post the bugdisp module, or at least documentation for it, for anyone to be able to tell if you're using it correctly.
0
 

Author Closing Comment

by:zoomer003
ID: 35018148
i figured out thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is about my first experience with programming Arduino.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question