Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Python Help - Controlling another program

Posted on 2011-02-22
2
Medium Priority
?
323 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
Introduction to Processes
Suggested Courses

581 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