<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY dir=ltr bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>More about the AHK coordinates provided by a drying 
out David P Shortland from the Sunshine Coast.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>AHK uses window-relative coords by default, but 
they are relative to the "active" window", or what some people call the 
foreground window.</FONT></DIV>
<DIV><FONT size=2 face=Arial>In this case, they are relative to the top left 
corner of the Reaper application.   </FONT></DIV>
<DIV><FONT size=2 face=Arial>Once I use that window as a reference, I got 
this to work.   I got the context menu that starts with input 
monitoring. but I had to do right click, not left click.  
</FONT></DIV>
<DIV><FONT size=2 face=Arial>That didn't surprise me, except that his script 
said "click" and only provided coords, which is, as I read the AHK document, a 
left click by default.</FONT></DIV>
<DIV><FONT size=2 face=Arial>So anyway,  Not sure about why that 
is.</FONT></DIV>
<DIV><FONT size=2 face=Arial>But, that is what AHK does.  It apparently can 
not use smaller child windows as a reference, but uses absolute screen 
coordinates, or application-relative coords, depending on the CoordMode command, 
application relative by default.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>AHK is a pretty interesting program, and it seems 
to be focused more on automating user tasks from the standpoint of a user 
manipulating multiple applications and perhaps less on working inside of an 
app.  Not sure yet.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Naturally, I'm interested in learning more about 
what it can do.  Maybe it can correct my incessant typing errors, turning, 
teh, into, the, and smae into same.   That would be 
nice. </FONT></DIV>
<DIV><FONT size=2 face=Arial>Perhaps the most interesting part was the ability 
to search for an image, including the ability to allow a measured amount of 
forgiveness on </FONT><FONT size=2 face=Arial>color matches.  You can do 
that forgiveness thing on single pixel color searches too.  Basically, you 
provide it with a .GIF, or .ICO, or any of several file formats that 
contain  the image or icon you are looking for, tell it a region to search, 
and it pokes around looking for it.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I suspect that is a noticeably slow process, 
because they suggest ways to try to speed it up.</FONT></DIV>
<DIV><FONT size=2 face=Arial>And, I'm not currently quite sure how we will 
identify the images to search for.  We've got a boot strap problem 
there.  I am class A stupid as a windows programmer.  So, I'm more 
than a little behind the curve.  but, the doc suggests you can often 
extract the icon images right out of the program itself.  Yeah,  go 
find that one.</FONT></DIV>
<DIV><FONT size=2 face=Arial>But, how you actually do that is, so far, 
 less clear.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I wonder if there is a way to gen up a little 
utility that lets a sightling click the mouse at the top left, and bottom right 
corners of an image of interest, and have the utility save that image as 
something we could then use AHK, or other equally equipped tool, to look 
for.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I think I have a sighted programmer who is 
interested enough in this stuff to help see if that can be done.</FONT></DIV>
<DIV><FONT size=2 face=Arial>I shall pursue.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Anyway, David, thanks for breaking the ice.  I 
have needed to check this out for some time, but just haven't gotten 
around  to it.  Their web site is wonderfully accessible.  Very 
nice.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>  </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=dragamilov@comcen.com.au href="mailto:dragamilov@comcen.com.au">David 
  P Shortland</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rwp@reaaccess.com 
  href="mailto:rwp@reaaccess.com">Reapers Without Peepers</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 07, 2013 1:13 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [RWP] AutoHotKey A Few 
  HotSpots</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr>
  <DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
  <DIV>Hi & Greetings from a drying out Sunshine Coast</DIV>
  <DIV> </DIV>
  <DIV>Thought I would share this with anyone who may be interested</DIV>
  <DIV> </DIV>
  <DIV>As I am charting my way thru the  Help files of AutoHotKey and 
  learning to Script this and that, well mainly for Omnisphere at present,  
  here are a couple of co-ordinates that may be of helpin REAPER,  with 
  regards to a Certain Menu not opening with Apps Key & Up Arrow key</DIV>
  <DIV> </DIV>
  <DIV>These co-ordinates will give access to a menu that will be spoken and 
  contains settings for Audio & MIDI Inputs & Outputs.</DIV>
  <DIV> </DIV>
  <DIV>136, 176 is for Trak 1</DIV>
  <DIV>136, 276 is for Trak 2</DIV>
  <DIV> </DIV>
  <DIV>Now for those of us who may be a little apprehensive in trying to write a 
  script to access these co-ordinates,here its is...</DIV>
  <DIV> </DIV>
  <DIV>Open up Notepad and type these lines as is, or just copy them 
  across..</DIV>
  <DIV> </DIV>
  <DIV>Numpad9 & Numpad1:: Click 136, 176</DIV>
  <DIV>Numpad9 & Numpad2:: Click 136, 276</DIV>
  <DIV> </DIV>
  <DIV>Save this document as AutoHotKey.ahk</DIV>
  <DIV> </DIV>
  <DIV>Go to the directory where you just saved that script</DIV>
  <DIV> </DIV>
  <DIV>Double Click on the file and it should ask you with what file do you wish 
  to run the program?</DIV>
  <DIV> </DIV>
  <DIV>Navigate to AutoHotKey and voila ... all should be good</DIV>
  <DIV> </DIV>
  <DIV>Okay, just remember that the resolution on my System is 768 x 1024 , so 
  one can deduce that if your resolution is different the co-ordinates will not 
  match.</DIV>
  <DIV> </DIV>
  <DIV>Now all you have to do when REAPER is open and you have several tracks in 
  place</DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV>Press Numpad9 (hold it down and Press Numpad1 the Menu should open, make 
  yourselections</DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV>Remember that this combination is for Trak 1.</DIV>
  <DIV> </DIV>
  <DIV>I have also used the Numpad as ReaAccess and REAPER use a lot of keyboard 
  combinations and this should not interfere.</DIV>
  <DIV> </DIV>
  <DIV>Oh yes... DO NOT forget to press the NumLock .. it must be ON!</DIV>
  <DIV> </DIV>
  <DIV>I have only given the co-ordinates for two trax, because I figure if you 
  want to set up several combinations of In & Outs, just coply one of the 
  tracks to another place.</DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV>Hopefully all will go smoothly... if not...I have left the country and 
  gone into hiding...</DIV>
  <DIV> </DIV>
  <DIV>Take care all</DIV>
  <DIV> </DIV>
  <DIV>David P Shortland</DIV>
  <DIV>DragonScore Productions</DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV> </DIV></DIV></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>RWP mailing 
  list<BR>RWP@reaaccess.com<BR>http://reaaccess.com/mailman/listinfo/rwp_reaaccess.com<BR></BLOCKQUOTE></BODY></HTML>