@classmethod<EOL><INDENT>def getAppRefByLocalizedName(cls, name):<DEDENT>
<EOL>apps = cls._getRunningApps()<EOL>for app in apps:<EOL><INDENT>if fnmatch.fnmatch(app.localizedName(), name):<EOL><INDENT>pid = app.processIdentifier()<EOL>return cls.getAppRefByPid(pid)<EOL><DEDENT><DEDENT>raise ValueError('<STR_LIT>')<EOL>
Get the top level element for the application with the specified
        localized name, such as VMware Fusion.

        Wildcards are also allowed.