• 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
Is it possible to simplify this code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it possible to simplify this code?


  • Subject: Is it possible to simplify this code?
  • From: Brian Christmas <email@hidden>
  • Date: Thu, 11 Aug 2011 15:47:33 +1000

Shane, that might be what i need, but it error with an 'unrecognised selector sent to instance etc'.

  beep 4
        log "______________________"
        set senderName to sender's title() as text
        say 1

       

Regards

Santa


Begin forwarded message:

From: Shane Stanley <email@hidden>
Subject: Re: Is it possible to simplify this code?
Date: 11 August 2011 3:09:00 PM AEST
To: applescriptobjc-dev <email@hidden>

On Aug 11, 2011, at 2:56 PM, Brian Christmas wrote:

The array 'theHoldingDaysArray' is saved in a column 0 pixels wide

Now you have me totally confused. You're saving arrays in pixels?

All I can guess is that you're trying to do something like:

   on setAllTheDays_(sender)
set senderName to sender's title() as text
if (theHoldingDaysArray's valueForKey(senderName)) as boolean = true then
...

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Is it possible to simplify this code? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Is it possible to simplify this code?
  • Next by Date: Re: Is it possible to simplify this code?
  • Previous by thread: Re: Is it possible to simplify this code?
  • Next by thread: Re: Is it possible to simplify this code?
  • Index(es):
    • Date
    • Thread