• 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
text manipulation in a script?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

text manipulation in a script?


  • Subject: text manipulation in a script?
  • From: "Kinsella, John R." <email@hidden>
  • Date: Sat, 14 Sep 2002 17:13:46 -0500

Can I manipulate a user defined variable (much like I would manipulate text
in a document. What I mean is, if a user gives me a variable like "left,
right, up, down" can I manipulate that an set it as a new variable for use
later in the script. In this example, maybe I'd manipulate it by taking
this variable, converting all the comma's to "-" and setting a new variable
of "left - right - up - down"
Now, I know I could write the user variable to a file, manipulate it and
then copy the result to a new variable, but I'm hoping this might be
possible without that step, just be able to do simple replaces within the
script
I'm not sure if I can even do this, so I thought I'd ask before I spent
hours on it.
Ideas? Suggestions?
John Kinsella
IRT-CS
University of St. Thomas
-------------
"The surest way to corrupt a youth is to teach him to hold in higher regard
those who think alike rather than those who think differently."
--Nietzsche
_______________________________________________
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.

  • Prev by Date: Re: Scripting Sherlock engine
  • Next by Date: Shut down computer running 10.1.3
  • Previous by thread: re. paragraphs in unicode (was: Re: Sorting? [sorted])
  • Next by thread: Re: text manipulation in a script?
  • Index(es):
    • Date
    • Thread