I am new to Applescript. Though I’ve had my mac for more than 5 years,
just started learning Applescript studio.
I have a question about using XML with Applescript.
I have a GUI designed using Applescript studio and wanted to get the interface change based on a script as it parses an XML document. if the script parses another XML document, the interface elements should change according to what is defined in the XML document. Do I need anything special to parse an XML document using Applescript?
Yes, an XML parser. If you want a specific recommendation, you’ll need to supply more information about the type of XML data being processed, how it’s being used, and what OS(es) you need to support.
I would like to tag in on this. I need to parse a few variables out of xml.
ftp server, username, password and directory. These variable will then be used in a script to ftp a folder.
In addition if you can give me information on how to also GUI the ftp status and the progress of the upload.
I am basically new to applescripting I would appreciate some help.
The opporating systems that it will need to be available in is Mac OS 10.3 & 10.4
Hmm… are you using the URL Access Scripting OSAX for the FTP Upload? If so, I think it offers an option to display a progress bar in the ‘upload’ command…
Model: iBook (g3/800, 14,1")
AppleScript: 1.9.3
Browser: Safari 312
Operating System: Mac OS X (10.3.9)
The posting’s a bit old, but it says that the progress bar never worked in OS X - seems that you’re right… I haven’t used URL Access Scripting since MacOS 8.something, so I didn’t know this bug.
Model: iBook (g3/800, 14,1")
AppleScript: 1.9.3
Browser: Safari 312
Operating System: Mac OS X (10.3.9)