• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Show Emoji & Symbols GUI access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Show Emoji & Symbols GUI access


  • Subject: Show Emoji & Symbols GUI access
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Sun, 5 Nov 2017 12:15:52 +0900

I'm dragging the "press" action from the Explorer to a script window in SD and
I get this:

use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions

tell application id "com.apple.systemevents" -- System Events
        tell its application process "SystemUIServer"
                tell its UI element 1
                        tell its menu bar item 8
                                tell its menu 1
                                        tell its menu item "Show Emoji &
Symbols"
                                                action "AXPress"
                                        end tell
                                end tell
                        end tell
                end tell
        end tell
end tell

But, running this does not display the Emoji viewer...

Jean-Christophe Helary
-----------------------------------------------
@brandelune http://mac4translators.blogspot.com


 _______________________________________________
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

  • Follow-Ups:
    • Re: Show Emoji & Symbols GUI access
      • From: 2551phil <email@hidden>
  • Prev by Date: Re: No effect when I click with UI scripting on the sidebar of "Open..." navigation window
  • Next by Date: Re: No effect when I click with UI scripting on the sidebar of "Open..." navigation window
  • Previous by thread: Re: No effect when I click with UI scripting on the sidebar of "Open..." navigation window
  • Next by thread: Re: Show Emoji & Symbols GUI access
  • Index(es):
    • Date
    • Thread