• 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: Script that "Tells" Finder just Focuses on Finder instead of running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script that "Tells" Finder just Focuses on Finder instead of running


  • Subject: Re: Script that "Tells" Finder just Focuses on Finder instead of running
  • From: Alex Hall <email@hidden>
  • Date: Sat, 03 Jan 2015 21:09:00 -0500


On Jan 3, 2015, at 9:02 PM, Shane Stanley <email@hidden> wrote:

On 4 Jan 2015, at 12:44 pm, Alex Hall <email@hidden> wrote:

As to formatting, this guy is visually impaired, so pretty formatting and indenting isn't necessary, the important thing is logical layout. I can play with the finer points once I get a working model.

Right, but what I mean is this -- your sample was:

/users/alexhall contains 1 file and 16 folders

Files:
someFile.pages

Documents contains 3 files:
1.txt
2.rtf
3.numbers

Downloads contains 85 files:

That gives no real indication of how you'd want subfolders of Documents and their contents to appear, and the subfolders of them, etc. To some extent, how you want it to appear drives the design of the code -- the format dictates whether you get all the data recursively and then format it, or whether you traverse each folder and format the results as you go.

Ah, gotcha. I actually like how the ls command does it, now that I see it:

main folder:
file1
file2

main folder/sub1:
file3
file4

main folder/sub1/sub1A
file5

main folder/sub2
file6

and so on. I'm not set on any particular template at this point, and I wouldn't mind, one day, letting the user define the layout. I already have a basic template framework in place, in pure AS so it'll work on 10.8. Anyway, one step at a time I guess. :)

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

--
Have a great day,
Alex Hall
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: 
 >Script that "Tells" Finder just Focuses on Finder instead of running (From: Alex Hall <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Deivy Petrescu <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: 2551 <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Alex Hall <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Deivy Petrescu <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Alex Hall <email@hidden>)
 >Re: Script that "Tells" Finder just Focuses on Finder instead of running (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Script that "Tells" Finder just Focuses on Finder instead of running
  • Next by Date: Re: Script that "Tells" Finder just Focuses on Finder instead of running
  • Previous by thread: Re: Script that "Tells" Finder just Focuses on Finder instead of running
  • Next by thread: Re: Script that "Tells" Finder just Focuses on Finder instead of running
  • Index(es):
    • Date
    • Thread