• 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: List in AppleScript passed to FMPro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List in AppleScript passed to FMPro


  • Subject: Re: List in AppleScript passed to FMPro
  • From: David Crowe via AppleScript-Users <email@hidden>
  • Date: Fri, 25 Oct 2019 19:56:03 +0900

John;

The first question would be why you want to write a list of lines to a field in
FM rather than one text item per record, for which you could use native
FileMaker sorting.

Regarding the sort, I don’t know where you’re getting the quick sort from, but
is it possible it doesn’t recognize the line feeds so it just sees one line,
and therefore does nothing?

- David Crowe


> Date: Fri, 25 Oct 2019 21:29:08 +1100
> From: john Mitchell <email@hidden
> <mailto:email@hidden>>
> To: email@hidden
> <mailto:email@hidden>
> Subject: Re: List in AppleScript passed to FMPro
> Message-ID: <email@hidden
> <email@hidden">mailto:email@hidden>>
> Content-Type: text/plain; charset="utf-8"
>
> I am confused trying to pass a list to FMPro as a return separated text
> string.
>
> For example I make in a list as below
>
>               tell application "Calendar"
>                       set calendarNames to title of every calendar as list
>                       quickSort(calendarNames) of me
>               end tell
>
> i.e.
> {"Akkadian", "Australian Holidays", "Birthdays", "CQR", "Found in Mail",
> "Home@Pinnacle", "JM Personal", "JM Travel", "OFF", "Pinnacle", "PRO",
> "Unreconciled Events", "UNSW", "UTS", "XK120"}
>
> How do I pass this to a FMPro field as a return separated text string?
> as this result in FMPro does not work using 24U SDialog menu command.
>
>
> I can make that format in applescript using
>
>                       set AppleScript's text item delimiters to return
>                       set calendarNames to title of every calendar as list
>                       quickSort(calendarNames) of me
>
> "Home@Pinnacle
> UTS
> JM Travel
> Pinnacle
> JM Personal
> UNSW
> OFF
> Akkadian
> CQR
> PRO
> Unreconciled Events
> XK120
> Birthdays
> Australian Holidays
> Found in Mail"
>
> but the QuickSort fails!
>
> Any advice welcomed
>
>
>
> regards
>
>
> John
>
> CQR Pty Ltd
> 1005/2 Dind Street, Milsons Point, NSW 2061 Australia
> ABN: 45 001 785 191
> Email:  email@hidden <mailto:email@hidden> ? Mob: +61
> 410 318 131
> Skype: jrmitchell
>

Attachment: signature.asc
Description: Message signed with OpenPGP

 _______________________________________________
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

  • Prev by Date: Re: List in AppleScript passed to FMPro
  • Next by Date: Re: sdef with images
  • Previous by thread: Re: List in AppleScript passed to FMPro
  • Next by thread: [ANN] Library updates
  • Index(es):
    • Date
    • Thread