The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
Double-Click mouse |
Post Reply |
Author | |
BrianB
Newbie Joined: July 29 2004 Location: United States Status: Offline Points: 7 |
Post Options
Thanks(0)
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 |
|
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |