• 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
Outline View in AppleScript Stuido
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Outline View in AppleScript Stuido


  • Subject: Outline View in AppleScript Stuido
  • From: Connor DiPietro <email@hidden>
  • Date: Mon, 31 Mar 2008 19:17:26 -0400

I have to questions for a project I'm working on in applescript studio. I have an outline view on my main window, and want to show all of the songs/artist in itunes. I wish to do this by setting the outline view to (typically) {Macintosh HD/Users/___/Music/iTunes Music . This way all of the music is already sorted. I need to know how to set this up.
i think its something along the lines of
set content of outline view 1 of scroll view 1 of window 1 to {"Macintosh HD","Users","Connor","Music","iTunes Music"}

but im not doing something right. How do i set the outline view to a folder?

Also, lets say i was sending this application to someone. There user name is not going to be "Connor". is there a generic file path to this folder, that doesnt have changing variables like the users name, or the name of the hard-drive? 
Please help!!
Connor
 _______________________________________________
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

  • Follow-Ups:
    • Re: Outline View in AppleScript Stuido
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Creating A Property List File
  • Next by Date: Applescript Studio Outline View
  • Previous by thread: Rep : Mail scripting…
  • Next by thread: Re: Outline View in AppleScript Stuido
  • Index(es):
    • Date
    • Thread