• 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: Picking your brains about dates and times
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Picking your brains about dates and times


  • Subject: Re: Picking your brains about dates and times
  • From: "Stockly, Ed" <email@hidden>
  • Date: Wed, 03 Feb 2016 15:54:25 +0000
  • Thread-topic: Picking your brains about dates and times

The user interface is a problem that I think is getting solved (Thanks Shane!)

But now I’m needing to be able to produce cogent publishable strings in the style of:

Showtimes: Tue.-Thur. 7 p.m.; Fri. & Sat. 8 p.m.; Sat. 2 p.m.; Sun. 1, 3 and 6:30 p.m.

From a data set that looks something like this:

{{date,{time,time}}, {date, {time,time,time} ,{date,time}}

or this

{{date,time},{date,time},{date,time},{date,time},{date,time}}





> On Feb 2, 2016, at 7:50pm, Phil Stokes <email@hidden> wrote:
>
>
>> On 3 Feb 2016, at 09:09, Stockly, Ed <email@hidden> wrote:
>>
>> The idea is that the user will enter the dates times each show (stage,
>> concert, screening) is on, and then later all the shows airing within a
>> date range will be exported for print and/or web.
>
>
> You’ll risk killing your users with a horrendous ‘death by dialog box’ UI if you try to do that in vanilla AppleScript. Basically, you want everything presented in one window, and for that you’ll need Cocoa.
>
> To save Shane the pain of plugging himself, your best bet is to get his first book, Everyday AppleScriptObjC(http://macosxautomation.com/applescript/apps/index.html), which should quickly get you up to speed plugging AppleScript into Cocoa NSViews.
>
> Best
>
>
> Phil
>
>
>
>
> _______________________________________________
> 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


 _______________________________________________
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


References: 
 >Picking your brains about dates and times (From: "Stockly, Ed" <email@hidden>)
 >Re: Picking your brains about dates and times (From: Phil Stokes <email@hidden>)

  • Prev by Date: Re: Picking your brains about dates and times
  • Next by Date: Re: Script Editor bug - any workaround?
  • Previous by thread: Re: Picking your brains about dates and times
  • Next by thread: Re: Picking your brains about dates and times
  • Index(es):
    • Date
    • Thread