Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > Automation (keyboard/mouse/GUI window control)
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-25-2008   #1 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 1
Automation (keyboard/mouse/GUI window control)

In Windows I used to select any text with mouse (usually in browser, but occasionally in text editors), press preferred mouse button (my mouse got 7 buttons) and computer read me text aloud.

I switched to Linux. Installed text-to-speech and it actually works. Now I highlight text, press Ctrl+C, switch to TTS application by double clicking icon in systray, press Ctrl+A, Ctrl+V, Ctrl+F3(last one is a hotkey for reading text aloud), then minimize TTS window to tray or activate original window by clicking on it icon in the taskbar.

That is freaking inconvenient!

Is there an easy way to accomplish my task? Simple script that let me copy currently highlighted text into clipboard and then activate TTS application, clear/paste text into it and select menu item or just send Ctrl+F3 into it? And I would be totally OK with keyboard hotkey to run that script. At start at least.
TestPilot is offline  

Reply With Quote
Old 10-25-2008   #2 (permalink)
Linux User
 
peteh's Avatar
 
Join Date: Oct 2006
Location: UK
Posts: 278
Hi there.
You can probably do it with xbindkeys and xmacro.
Start with xbindkeys, then follow the link near the bottom of the screen which says 'How to Use The Buttons of Your Trackball in Linux.
It doesn't have to be any specific kind of mouse - it works with any.
__________________
Pete
peteh is offline   Reply With Quote
Old 10-27-2008   #3 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,438
There's a plugin for Openoffice:

SourceForge.net: OO-TTS

I can't write nor talk italian, but I can read the paragraph on that page, and an aproximate translation would be:

Quote:
"OO-TTS" Macro for OpenOffice: is a syllabic analyzer that can read a document and translate it to speech using an speech engine.
Haven't tested it, but you can try.

I am fairly sure that I have seen ways to do this in emacs, and probably vim. I don't use text to speech however and can't help with that. All in all, it depends on the editor or word processor that you use. It is the one that can integrate the functionality of text to speech, or any other speech engine by that means. If you could get that running, you wouldn't need to use more hackish ways like the macro thingie that you intended on first place.

Just an alternative idea in case you find it useful
i92guboj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 02:11 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2