Skip to content

Instantly share code, notes, and snippets.

Avatar

Takuya Nishimoto nishimotz

View GitHub Profile
@nishimotz
nishimotz / mouseclick.py
Created Apr 8, 2014
NVDA グローバルプラグイン ナビゲーター位置にマウスを移動して左クリック
View mouseclick.py
# coding: UTF-8
import globalPluginHandler
import globalCommands
class GlobalPlugin(globalPluginHandler.GlobalPlugin):
def script_moveMouseAndLeftClick(self, gesture):
globalCommands.commands.script_moveMouseToNavigatorObject(gesture)
globalCommands.commands.script_leftMouseClick(gesture)
@nishimotz
nishimotz / nvda-japanese-guidebook.txt
Last active Aug 29, 2015
NVDA 日本語版ガイドブック
View nvda-japanese-guidebook.txt
2015年7月3日、下記 GitHub Pages への移行作業を始めました。
http://nishimotz.github.io/nvdajp-book/
https://github.com/nishimotz/nvdajp-book
NVDA 日本語版ガイドブック
第4版 2014年12月25日
@nishimotz
nishimotz / focusHighlight.py
Created May 31, 2015
NVDA focusHighlight.py 2015-05-31
View focusHighlight.py
# focus highlight
# 2015-05-31
# Takuya Nishimoto
import globalPluginHandler
import tones
import wx
import gui
from logHandler import log
import threading
@nishimotz
nishimotz / downloader.rb
Created Oct 14, 2009
simple file download page generator
View downloader.rb
#!/usr/bin/ruby -Ku
# simple file download page generator
# 2009-02-03 by nishimoto
# 2009-10-14 gist version
# [files.txt]
# * : h2
# - : text
# otherwise : link to file
require "erb"
View gtalk.py
# gtalk.py
# encoding: utf-8
# socket client wrapper for Windows / Linux
# updated by nishimotz 2010-04-04
# created by nishimotz 2009-11-17
# http://ja.nishimotz.com/galateatalk
import socket
import threading
import time
@nishimotz
nishimotz / makeaudio.m
Created Jul 16, 2010
audio CAPTCHA demo for GNU Octave
View makeaudio.m
% makeaudio.m
% 2010-07-16 by nishimotz@gmail.com
% http://www.slideshare.net/nishimotz/nishimoto-icchp2010
FILEBODY = "festival-en-00705-kal";
POSTFIX = "99";
RATIO = 0.99; % Exposed ratio
[D,SF] = wavread(strcat(FILEBODY,".wav"));
PERIOD = SF * 0.1; % 100ms period
View julius4itbc2proxy.py
# julius4itbc2proxy.py
# encoding: utf-8
# tested on Windows XP / Python 2.6
# based on https://gist.github.com/9f927195fa3df2228160
# 2010-10-07 by nishimotz http://ja.nishimotz.com
#
# Julius4 -(port:10501)- proxy.py -(port:10500)- ITBC2
#
# [module.conf] example
#
@nishimotz
nishimotz / _jtalk_core.py
Created Dec 4, 2010
Japanese speech engine wrapper for Open JTalk (part of NVDAjp)
View _jtalk_core.py
# _jtalk_core.py
# -*- coding: utf-8 -*-
# Japanese speech engine wrapper for Open JTalk
# by Takuya Nishimoto
# http://ja.nishimotz.com/project:libopenjtalk
from ctypes import *
import codecs
import re
import string
@nishimotz
nishimotz / nvda_cbr.py
Created Dec 2, 2011
NVDA Clipboard Viewer 0.1
View nvda_cbr.py
# -*- coding: utf-8 -*-
# -*- indent-tabs-mode: nil; -*-
# nvda_cbr.py
# Takuya Nishimoto (nishimotz.com)
# based on:
# http://www.nvda-project.org/nvdaControllerClient/
# http://code.activestate.com/recipes/355593/
import sys
import re