{"id":1460,"date":"2011-02-08T15:35:13","date_gmt":"2011-02-08T15:35:13","guid":{"rendered":"http:\/\/www.mjtnet.com\/blog\/?p=1460"},"modified":"2011-02-08T16:19:49","modified_gmt":"2011-02-08T16:19:49","slug":"undocumented-internal-dialog-event-parameters","status":"publish","type":"post","link":"https:\/\/www.mjtnet.com\/blog\/2011\/02\/08\/undocumented-internal-dialog-event-parameters\/","title":{"rendered":"Undocumented Internal Dialog Event Parameters"},"content":{"rendered":"<p>In <a href=\"http:\/\/www.mjtnet.com\/usergroup\/viewtopic.php?t=6740\">this forum post<\/a> Armsys asks how he can determine which key the user pressed in an OnKeyPress dialog event handler.  The solution I posted reveals an undocumented feature:  Internal event parameters.  <\/p>\n<p>While there is a sample macro called &#8220;Dialogs &#8211; MouseOver&#8221; which ships with Macro Scheduler and demonstrates these event parameters, they are missing from the help file.<\/p>\n<p>So here&#8217;s a short 3 minute video showing how this sample script works and demonstrating how you can determine what event parameters are available for use.<\/p>\n<div id=\"kadoo_video_container_14002087-553\"><object height=\"290\" width=\"504\" id=\"video_detector_14002087-553\"><param value=\"http:\/\/divshare.com\/flash\/video_flash_detector.php?data=YTo2OntzOjU6ImFwaUlkIjtzOjE6IjQiO3M6NjoiZmlsZUlkIjtpOjE0MDAyMDg3O3M6NDoiY29kZSI7czoxMjoiMTQwMDIwODctNTUzIjtzOjY6InVzZXJJZCI7aToyMTUxMjk0O3M6NDoidGltZSI7aToxMjk3MTc5Mzc4O3M6MTI6ImV4dGVybmFsQ2FsbCI7aToxO30=&amp;autoplay=default&amp;id=14002087-553\" name=\"movie\"><\/param><param name=\"allowFullScreen\" value=\"true\"><\/param><param name=\"allowscriptaccess\" value=\"always\"><\/param><param name=\"wmode\" value=\"opaque\"><\/param><\/object><\/div>\n<p>(Don&#8217;t forget you can view full screen and\/or change the quality with the options in the video control panel above).<\/p>\n<p>If you&#8217;re completely new to custom dialogs you might also want to watch <a href=\"http:\/\/www.mjtnet.com\/demos\/dialogs1.html\">part 1<\/a> and <a href=\"http:\/\/www.mjtnet.com\/demos\/dialogs2.html\">part 2<\/a> of the custom dialog video tutorials first.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this forum post Armsys asks how he can determine which key the user pressed in an OnKeyPress dialog event handler. The solution I posted reveals an undocumented feature: Internal event parameters. While there is a sample macro called &#8220;Dialogs &#8211; MouseOver&#8221; which ships with Macro Scheduler and demonstrates these event parameters, they are missing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6,9],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/1460"}],"collection":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/comments?post=1460"}],"version-history":[{"count":15,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/1460\/revisions"}],"predecessor-version":[{"id":1475,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/1460\/revisions\/1475"}],"wp:attachment":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/media?parent=1460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/categories?post=1460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/tags?post=1460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}