Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 31 Jul 2014, 17:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Xautomation
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Thu 24 Jul 2008, 06:32    Post subject:  Xautomation
Subject description: Send mouse/keyboard events to X, return position of pointer, find graphic on display etc...
 

Thanks Barry for finding this Smile

Extract to /usr/bin or somewhere.
Even though it's tiny, I'll split it up, as you are likely to only want xte, which sends events to X.

e.g. I can run
Quote:
alltray -nt -k "F11" xtmix
, which swallows xtmix with alltray, and assigns the F11 key to toggle its visibility, and then run
Code:
xte 'key F11'
to toggle it from other programs.

If you want to send an event to a specific window then use xse.

EDIT - someone found xdotool, which I think is a good alternative to both xse and xautomation and does window manager stuff as well (e.g. sending a window to a specific desktop). It is bundled in the pastecolour http://www.murga-linux.com/puppy/viewtopic.php?t=45477 and pastelist http://www.murga-linux.com/puppy/viewtopic.php?t=45327 packages.
You can get documentation for xdotool here http://www.semicomplete.com/projects/xdotool/xdotool.xhtml
xte.bz2
Description  This is the one you really want :)
bz2

 Download 
Filename  xte.bz2 
Filesize  5.02 KB 
Downloaded  372 Time(s) 
Xautomation.tar.gz
Description 
gz

 Download 
Filename  Xautomation.tar.gz 
Filesize  71.93 KB 
Downloaded  315 Time(s) 

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0495s ][ Queries: 13 (0.0042s) ][ GZIP on ]