• 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: Problem logging a resulting list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem logging a resulting list?


  • Subject: Re: Problem logging a resulting list?
  • From: Adam Bell <email@hidden>
  • Date: Mon, 21 Aug 2006 20:28:20 -0300

At 3:10 PM -0500 8/21/06, T.J. Mahaffey wrote:
For some reason, I'm having trouble logging a resulting list.
This code errors in Script Editor. Does anyone know why? This hasn't always been the case.


set myHFPath to (choose folder) as string
tell application "Finder"
	set myList to (every folder in folder myHFPath)
end tell
log myList

put 'log mylist' inside the tell block


I can, however, log a hand-written list like this:

set myList to {"cat", "dog"}
log myList

--
T.J. Mahaffey
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:
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:
This email sent to email@hidden


References: 
 >Problem logging a resulting list? (From: "T.J. Mahaffey" <email@hidden>)

  • Prev by Date: Global Script Menu?
  • Next by Date: Re: Global Script Menu?
  • Previous by thread: Problem logging a resulting list?
  • Next by thread: QuarkXPress Print Styles
  • Index(es):
    • Date
    • Thread