• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
TextField to Command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: TextField to Command line
      • From: Emmanuel <email@hidden>
    • Do shell script
      • From: Richard Rönnbäck <email@hidden>
  • Prev by Date: Re: Get every file of the entire contents of a folder. Quickly.
  • Next by Date: Re: Illustrator Scripting Help Needed
  • Previous by thread: 'help'
  • Next by thread: Do shell script
  • Index(es):
    • Date
    • Thread