Solved

Python Help - Controlling another program

Posted on 2011-02-22
2
291 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
Comment Utility
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
Comment Utility
i figured out thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is about my first experience with programming Arduino.
This video teaches viewers about errors in exception handling.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now