<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Triggering keyDown while commandDown in OSX</title>
    <link>https://forums.adobe.com/community/director/director_lingo?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sat, 02 Aug 2014 01:53:18 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-08-02T01:53:18Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6605368?tstart=0#6605368</link>
      <description>&lt;!-- [DocumentBodyStart:18f9f8e6-89d1-4c68-8d2f-9dfb11b6d44c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Oh, that's interesting.&amp;nbsp; I wonder if the "keydownscript" would work any different.&amp;nbsp; It's worth a try if you haven't already.&amp;nbsp; (the keydownscript = "myNewScript")&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Or the next thing to try would be to see if the stage was still getting those keys.&amp;nbsp; I know the MIAW normally would get the keydowns sent to it, but maybe the command keys are for some reason bypassing the MIAW.&amp;nbsp; And if it is, then you have to figure out a way to get the stage to tell the MIAW what's going on.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I haven't had time to test any of this myself yet.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:18f9f8e6-89d1-4c68-8d2f-9dfb11b6d44c] --&gt;&lt;img src='/beacon?t=1415930879187' /&gt;</description>
      <pubDate>Sat, 02 Aug 2014 01:53:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6605368?tstart=0#6605368</guid>
      <dc:date>2014-08-02T01:53:18Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6602550?tstart=0#6602550</link>
      <description>&lt;!-- [DocumentBodyStart:1a4358b6-ef8b-486b-9545-a5e987d83e84] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Well, it seems it is only an issue for MIAW. When I run the test movie in a window (opened in a window from a stub movie) I get the same issue. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1a4358b6-ef8b-486b-9545-a5e987d83e84] --&gt;</description>
      <pubDate>Fri, 01 Aug 2014 02:51:20 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6602550?tstart=0#6602550</guid>
      <dc:date>2014-08-01T02:51:20Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6602431?tstart=0#6602431</link>
      <description>&lt;!-- [DocumentBodyStart:5b4d32c7-0c4a-4cf0-b152-236b37936f29] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Strange, I tried a new movie using your script and it all works fine. I tried setting editShortCutsEnabled in my application and it still doesn't work. I added an alert to the top of my keyDown script and it's not even triggered so whatever is interfering with it is stopping the event before it even gets there, but only with the commandDown.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is in OSX 10.5.8 and in 10.9.2&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5b4d32c7-0c4a-4cf0-b152-236b37936f29] --&gt;</description>
      <pubDate>Fri, 01 Aug 2014 01:46:13 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6602431?tstart=0#6602431</guid>
      <dc:date>2014-08-01T01:46:13Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6595936?tstart=0#6595936</link>
      <description>&lt;!-- [DocumentBodyStart:ec144dc5-a46f-4119-b12a-485d47ce837f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am on Mavericks 10.9.2 but it has been an issue on previous versions.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wasn't aware of the editShortCutsEnabled property. I will give that a try and see if that is the problem. Thanks for the suggestion rduane.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ec144dc5-a46f-4119-b12a-485d47ce837f] --&gt;</description>
      <pubDate>Wed, 30 Jul 2014 01:02:09 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6595936?tstart=0#6595936</guid>
      <dc:date>2014-07-30T01:02:09Z</dc:date>
      <clearspace:dateToText>3 months 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6584679?tstart=0#6584679</link>
      <description>&lt;!-- [DocumentBodyStart:75874ffb-4e27-4e2b-9c99-7e53ed555335] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hmm.&amp;nbsp; I just created a new movie with nothing in it except for the following script, and it worked as expected.&amp;nbsp; I am using OSX version 10.7.5 and Director 11.5, what about you?&amp;nbsp; Also, are you familiar with the _movie.editShortCutsEnabled?&amp;nbsp; Are you sure that the script you are writing is necessary?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My test script:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #044f0c;"&gt;&lt;span style="color: #182ecd;"&gt;on&lt;/span&gt; exitFrame&lt;span style="color: #182ecd;"&gt; me&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #044f0c;"&gt;&amp;nbsp; go&lt;span style="color: #182ecd;"&gt; to the&lt;/span&gt; frame&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #182ecd;"&gt;end&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; font-size: 10px; font-family: Monaco;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #044f0c;"&gt;&lt;span style="color: #182ecd;"&gt;on&lt;/span&gt; keyDown&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #044f0c;"&gt;&lt;span style="color: #182ecd;"&gt;&amp;nbsp; if&lt;/span&gt; _key&lt;span style="color: #000000;"&gt;.&lt;/span&gt;commandDown&lt;span style="color: #182ecd;"&gt; then&lt;/span&gt;&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #182ecd;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; case&lt;span style="color: #044f0c;"&gt; _key&lt;/span&gt;&lt;span style="color: #000000;"&gt;.&lt;/span&gt;&lt;span style="color: #044f0c;"&gt;key&lt;/span&gt; of&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #515151;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "c"&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #044f0c;"&gt; alert&lt;/span&gt; "command-c"&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #515151;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "x"&lt;span style="color: #000000;"&gt;:&lt;/span&gt;&lt;span style="color: #044f0c;"&gt; alert&lt;/span&gt; "command-x"&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #182ecd;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end case&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #182ecd;"&gt;&amp;nbsp; end if&lt;/p&gt;&lt;p style="font-size: 10px; font-family: Monaco; color: #044f0c;"&gt;&lt;span style="color: #182ecd;"&gt;end&lt;/span&gt; keydown&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:75874ffb-4e27-4e2b-9c99-7e53ed555335] --&gt;</description>
      <pubDate>Fri, 25 Jul 2014 21:38:42 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6584679?tstart=0#6584679</guid>
      <dc:date>2014-07-25T21:38:42Z</dc:date>
      <clearspace:dateToText>3 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6560899?tstart=0#6560899</link>
      <description>&lt;!-- [DocumentBodyStart:44fc4340-68dc-4f06-b3f8-62a5c4dae564] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Yes the issue came to light in a projector. In Director itself the command key shortcuts trigger the preset Director shortcuts.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:44fc4340-68dc-4f06-b3f8-62a5c4dae564] --&gt;</description>
      <pubDate>Fri, 18 Jul 2014 07:17:30 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6560899?tstart=0#6560899</guid>
      <dc:date>2014-07-18T07:17:30Z</dc:date>
      <clearspace:dateToText>3 months 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6560814?tstart=0#6560814</link>
      <description>&lt;!-- [DocumentBodyStart:37395ac1-d2b3-45af-ad6a-3bcdc45582d2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Have you tested in a projector?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:37395ac1-d2b3-45af-ad6a-3bcdc45582d2] --&gt;</description>
      <pubDate>Fri, 18 Jul 2014 07:00:02 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6560814?tstart=0#6560814</guid>
      <dc:date>2014-07-18T07:00:02Z</dc:date>
      <clearspace:dateToText>3 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Triggering keyDown while commandDown in OSX</title>
      <link>https://forums.adobe.com/message/6560681?tstart=0#6560681</link>
      <description>&lt;!-- [DocumentBodyStart:4e9e2cac-cd03-40c0-bcd8-b4bd174a4faf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I use the keyDown event to trigger various conventional keyboard shortcuts such as ctrl-c to copy, ctrl-v to paste. The problem is that in OSX the command key blocks the keyDown event in Director so instead of the OSX convention of command-c I have to instead use control-c. I can test the key events in a frame script and verify the _key.commandDown flag but the normal keyDown event is never triggered while the command key is pressed. Is there some workaround or setting to get this to work as expected? Or perhaps a different event which will work the same as the keyDown?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4e9e2cac-cd03-40c0-bcd8-b4bd174a4faf] --&gt;</description>
      <pubDate>Fri, 18 Jul 2014 05:55:20 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6560681?tstart=0#6560681</guid>
      <dc:date>2014-07-18T05:55:20Z</dc:date>
      <clearspace:dateToText>3 months 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

