Solved

Python Help - Controlling another program

Posted on 2011-02-22
2
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Progress

707 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