I’ve been writing Applescript for years in various forms and I also know quite a bit of PHP/MySQL and have recently started building AS Studio apps for various things that need to be done.
I am working on a tool right now that I would like to have a variable amount of labels and check boxes in based on some preferences. I have figured out how to reliably read/write the plist files I need in AS Studio, but I can’t figure out how to have these impact the interface dynamically.
Essentially this app reaches out over Remote Apple Events to other machines and fires some basic processes in an app. The interface as it stands now just has a checkbox that includes the machine in the group of machines to run the remote apple event on. For round one and proof of concept, I hard coded in the addresses of the machines because I knew exactly what their IPs were and how many there were.
Now I need to be able to make a new window that is driven solely by a plist and can have as few as 1 remote machine and as many as the user needs (within reason).
Right now my prefs provide for the IP address, username, and pass of the remote machine as well as a label/name of the machine.
The only fields I need in the interface are labels (gotten from plist) and checkboxes (for enabling the command to run). At the bottom there is a “go” button that starts a running loop on remote machines and then a “stop” button that sends a stop looping command to the same machines.
Am I speaking gibberish here or is this even possible with InterfaceBuilder/AS Studio? It would be a snap if I was doing it in PHP - but alas this won’t quite work well as a web app :D.