• 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: john Mitchell via AppleScript-Users <email@hidden>
  • Date: Fri, 25 Oct 2019 21:29:08 +1100

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 • Mob: +61 410 318 131
Skype: jrmitchell



 _______________________________________________
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: sdef with images
  • Next by Date: Re: List in AppleScript passed to FMPro
  • Previous by thread: Re: sdef with images
  • Next by thread: Re: List in AppleScript passed to FMPro
  • Index(es):
    • Date
    • Thread