|
Register | Blogging | Today's Posts | Search |
![]() |
|
Thread Tools | Display Modes |
|
![]() |
#1 (permalink) |
I sleep in your hat
Join Date: Mar 2011
Location: Melbourne, Vic. Aus.
Posts: 1,850
|
![]()
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. |
![]() |
![]() |
![]() |
|