TextField to Command line
TextField to Command line
- Subject: TextField to Command line
- From: Ian Mcginley - Systems Support Engineer <email@hidden>
- Date: Wed, 15 Oct 2003 12:49:30 +1000
Hi all,
Just let me preface this that i'm very very new to Applescript :)
What i'm currently attempting to do is have a gui developed with Project
Builder/Interface Builder with a stack of text fields that will get
populated and then the user clicks a button to commit the information.
What I want to happen is something like this (explained in 1/2 english
1/2 applescript):
on clicked theObject
read TextField1;
read TextField2;
do shell script "/bin/bash export TextField1; /bin/bash export
TextField2; /bin/bash /usr/local/bin/jstart.bash"
end clicked
Basically i'm after proper syntax examples about how to read in data
from my textfields and set them as shell variables. Does anyone know of
a good book/online reference which explores this sort of associativity
with the shell and shell scripts in general? Also a comprehensive guide
to applescript/applescript studio would be nice :)
Is what i'm trying to do even remotely possible?
Many thanks,
--
Ian McGinley
Systems Support Engineer
Sun Microsystems Australia
476 St Kilda Road - Melbourne - Australia - 3004
Ph: (03) 8866 6360 Email: email@hidden
UNIX is user-friendly, it is just picky about its friends
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.