From: Dmitry K. <dm...@ka...> - 2013-02-06 22:18:18
|
On Wed, Feb 06, 2013 at 09:47:12AM -0800, m laks wrote: > > I am a perl user, who runs linux on all my machines, but during the day i > must work on windows boxes. There is a lot of repetitive work that is done. > > I have been using autohotkey for automating stuff like creating hotkeys > (automatically replace a fixed text with another). > > However, the syntax and structure of autohotkey are very very sad. It is like > something of your worst nightmares. > > Have you seen autohotkey functionality implemented using perl using > win32::guitest? > > Thus clearly one could do the mousing and key presses using win32::guitest. I > mean making hotkeys and somewhat even more namely auto-completion with drop > down choices like emacs has in some modes. > > I imagine it could be implemented similar to the way the following keylogger > was done using win32::guitest > > http://packetstormsecurity.com/files/91392/Simple-Perl-Keylogger-For-Windows.html > > What I really would like is to create a program working on my desktop > > The kind of functionality I think of would be useful would be something like > the emacs package auto-complete-mode where you type tab and get automatic > offered completing text. > > This is similar to the way that smart phones complete text. > > If you read the recent ny times review by Pogue of the blackberry phone > where he likes this functionality of that phone. > > http://www.nytimes.com/2013/01/31/technology/the-blackberry-refreshed-lives-to-fight-another-day.html?pagewanted=all > > What do youu think. I guess to use the win32::gui to create the local pop up > window with the completions and select and enter with tab. > > Mitchell Laks > Hi Mitchell, I think this is doable. Win32::GuiTest can definitely help you with sending a completion text back to the focused application. -- Sincerely, Dmitry Karasik |