|
Revision 19, 1.0 kB
(checked in by edsuom, 2 years ago)
|
Importing windictator into the global FOSS repo
|
| Line | |
|---|
| 1 |
#!/usr/bin/python |
|---|
| 2 |
# -*- mode:python; -*- |
|---|
| 3 |
# |
|---|
| 4 |
# WinDictator: |
|---|
| 5 |
# Dictate in Windows, have the text typed in Linux via X faked keystroke events |
|---|
| 6 |
# |
|---|
| 7 |
# Copyright (C) 2005-2006 by Edwin A. Suominen, http://www.eepatents.com |
|---|
| 8 |
# |
|---|
| 9 |
# This program is free software; you can redistribute it and/or modify it under |
|---|
| 10 |
# the terms of the GNU General Public License as published by the Free Software |
|---|
| 11 |
# Foundation; either version 2 of the License, or (at your option) any later |
|---|
| 12 |
# version. |
|---|
| 13 |
# |
|---|
| 14 |
# This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 15 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|---|
| 16 |
# FOR A PARTICULAR PURPOSE. See the file COPYING for more details. |
|---|
| 17 |
# |
|---|
| 18 |
# You should have received a copy of the GNU General Public License along with |
|---|
| 19 |
# this program; if not, write to the Free Software Foundation, Inc., 51 |
|---|
| 20 |
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|---|
| 21 |
|
|---|
| 22 |
HOST = "win2k" |
|---|
| 23 |
PORT = 8789 |
|---|
| 24 |
|
|---|
| 25 |
from windictator.linux import pb |
|---|
| 26 |
|
|---|
| 27 |
pb.Client().connect(HOST, PORT) |
|---|
| 28 |
|
|---|
| 29 |
# Yes, that's it. See modules for details. |
|---|