0 Replies
      Latest reply on Jan 14, 2019 9:05 AM by Macho Man Randy Savage
      Macho Man Randy Savage Level 3 Level 3 (365 points)

        Is there a way to restrict a NSService's text content to a numeric value? For example, only show the service if the text content is a number?

         

        Only documented entries for NSTextContent are:

         

        • URL
        • Date
        • Address
        • Email
        • FilePath

         

        Was hoping there'd be a way to specify 'Number'. Anyone know of a potential way to achieve this? I could have the service appear for all text content and just show an error if the string sent isn't a number, but I'd rather not clutter the user's Services menu.