• 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
Re: Missing value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing value


  • Subject: Re: Missing value
  • From: KOENIG Yvan <email@hidden>
  • Date: Sun, 28 Aug 2011 23:30:02 +0200


Le 28 août 2011 à 22:42, Robert Poland a écrit :

Thanks Chris & Ron,

This is what I choose to do;

set applicationName to (info for (path to frontmost application))'s short name
if applicationName = missing value then -- for apps with no short name
set applicationName to (info for (path to frontmost application))'s name
set applicationName to change "\\.app$" into "" in applicationName ¬
case sensitive false ¬
with regexp
end if

And guess which will be complaining here the day when info for will not just be deprecated but removed.

Yvan KOENIG (VALLAURIS, France) dimanche 28 août 2011 23:28:39


 _______________________________________________
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: Missing value
      • From: Ron Hunsinger <email@hidden>
References: 
 >Missing value (From: Robert Poland <email@hidden>)
 >Re: Missing value (From: Christopher Stone <email@hidden>)
 >Re: Missing value (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Missing value
  • Next by Date: Re: Missing value
  • Previous by thread: Re: Missing value
  • Next by thread: Re: Missing value
  • Index(es):
    • Date
    • Thread