The Official Computer Tech Support Thread - Music Banter Music Banter

Go Back   Music Banter > Community Center > The Lounge
Register Blogging Today's Posts
Welcome to Music Banter Forum! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with over 70,000 other registered members. After you create your free account, you will be able to customize many options, you will have the full access to over 1,100,000 posts.

Reply
 
Thread Tools Display Modes
Old 02-15-2012, 05:22 PM   #1 (permalink)
I sleep in your hat
 
Stephen's Avatar
 
Join Date: Mar 2011
Location: Melbourne, Vic. Aus.
Posts: 1,850
Default

Ok not computer tech but programming question. Any AppleScript gurus on site? I need to read a text file into a list to automate ftp upload of a bunch of files. I know most of it but just don't know how to format the text file when I write it so the AppleScript can read it and parse it into a list for processing.

Something like

{site: 'www.musicbanter.com', user: 'fazstp', password: 'analbeads', file_list: {'Mac HD/Users/fazstp/Desktop/Files/0001.jpg', 'Mac HD/Users/fazstp/Desktop/Files/0002.jpg', 'Mac HD/Users/fazstp/Desktop/Files/0003.jpg'}}


Edit: Might give this XML format a try - Parse XML with AppleScript

Last edited by Stephen; 02-15-2012 at 06:02 PM.
Stephen is offline   Reply With Quote
Reply


Similar Threads



© 2003-2025 Advameg, Inc.