• 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
Re: Reformatting a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reformatting a string


  • Subject: Re: Reformatting a string
  • From: Stan Cleveland <email@hidden>
  • Date: Fri, 27 Jan 2012 11:26:20 -0800

On Jan 27, 2012, at 10:07 AM, Angelo wrote:

> ...one of you guys could craft a script in a few minutes that would take me a few hours to create.

Yes, but in those hours you'd be gaining knowledge of AS that can help you later.

> Is it possible to copy the string and then do the reformatting to the contents of the Clipboard so that I can just copy -> run script -> paste where it needs to go?

Yes, very possible. Here are a couple of hints:
	set theText to the clipboard
	-- remove colons and upcase the text here
	set the clipboard to fixedText

Do your best and, if you get stuck, post your code and questions. We'll be happy to help.

Stan C.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


References: 
 >Reformatting a string (From: Angelo <email@hidden>)

  • Prev by Date: Re: Reformatting a string
  • Next by Date: Re: Reformatting a string
  • Previous by thread: Re: Reformatting a string
  • Next by thread: Re: Reformatting a string
  • Index(es):
    • Date
    • Thread