Re: keystroke "esc"
Re: keystroke "esc"
- Subject: Re: keystroke "esc"
- From: Robert Poland <email@hidden>
- Date: Mon, 04 Feb 2013 07:56:48 -0700
Thanks Yvan,
I'll have to look into that. So far it doesn't seem to lock up the Trackpad.
Incidentally, Secure Empty Trash is #6 on my machine.
On Feb 4, 2013, at 7:14 AM, "koenig.yvan" <email@hidden> wrote:
>
> Le 04/02/2013 à 14:37, Robert Poland <email@hidden> a écrit :
>
>>
>> On Feb 3, 2013, at 9:58 PM, Shane Stanley <email@hidden> wrote:
>>
>>> On 04/02/2013, at 3:01 PM, Robert Poland <email@hidden> wrote:
>>>
>>>> The act of triggering the "Force Quit" cures the lockup.
>>>
>>> Which app is locking up?
>>
>> Not sure if any app is responsible for the keyboard and trackpad. But I must be in the Finder to empty Trash/
>>
>> More details: Trackpad continues to move cursor put will not click.
>>
>> Keyboard only seems to allow the Command - Option - Esc.
>>
>> And since I don't need to quit any app…
>
> Right, Finder doesn't react when issuing the shortcut thru a script.
> Happily, it does when we trigger the menu item itself.
>
> tell application "Finder" to activate
> tell application "System Events" to tell application process "Finder"
> set mt to 2 # menu Finder
> set mi to 5 # menu item Empty the trash
> tell menu bar 1 to tell menu bar item mt to tell menu 1 to click menu item mi
> keystroke return
> end tell
>
>
> Yvan KOENIG (VALLAURIS, France) lundi 4 février 2013 15:14:18
Robert Poland - Fort Collins, CO
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden