Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Advanced Features
  New Posts New Posts RSS Feed - Double-Click mouse
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedDouble-Click mouse

 Post Reply Post Reply
Author
Message
BrianB View Drop Down
Newbie
Newbie


Joined: July 29 2004
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrianB Quote  Post ReplyReply Direct Link To This Post Topic: Double-Click mouse
    Posted: July 29 2004 at 1:16am
We are in the process of upgrading from Procomm to Accuterm. In Procomm, if you double-click on a word on the screen, that word will be automatically copied and pasted. Is this possible to do in Accuterm (possible future release?).
Thanks,
Brian Bergquist
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: July 30 2004 at 4:43am
Hi Brian -

AccuTerm has a pattern recognition feature that works with the mouse. Its documented in the Programmers Guide in the Mouse Support chapter. The way it works, is you build a text file that contains a list of patterns you want to search for when the mouse is clicked. There is a response string in this file for each pattern, for both click and double-click. The response string can be a literal string that is transmitted to the host, or it can be a script to execute when the user clicks or double-clicks on a recognized pattern.

This feature can be used to perform the action you are looking for. There are some sample mouse pattern files that can be downloaded from http://www.asent.com/downloads/samples/mouseptn.zip. Check out the WORD.MOU and WORDCOPY.MOU pattern files - you can edit these with notepad or Word (Word works better because you can set an option so that you can see embedded TAB characters) that separate the fields in this file.

The WORD.MOU file recognizes a double-click of any word on the screen, and transmits the word to the host followed by a carriage return. The WORDCOPY.MOU file recognizes a double-click of any word and uses a script to copy the word to the clipboard. You can modify this one to send the word to the host after copying if you like.

The pattern file format is a text file, with one pattern per line, searched from top to bottom. Each line has 4 fields, separated by TAB characters. The first field is mouse button (1=left, 2=right, 3=middle). The second field is the pattern, in typical Regular Expression format. The third field is the response string for a click, and the fourth field is the response string for a double-click. Responses use the caret prefix for control codes, just like function keys.

The mouse pattern file to use for a particular session is specified in the Settings dialog, Misc tab, Advanced. Typically, pattern files are saved in the ...\Program Files\Atwin folder.

For more information, see the Programmers Guide.

Thanks,

Pete
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.