• 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: A question on technique
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question on technique


  • Subject: Re: A question on technique
  • From: "Stockly, Ed" <email@hidden>
  • Date: Mon, 16 Mar 2015 15:40:27 +0000
  • Thread-topic: A question on technique

Also, one more thing to point out is that the advantage of this version is you can keep the list in a tab delimited file, like a spreadsheet, easy for you or a non-scripted to update, and then just read the file in at runtime.


On Mar 16, 2015, at 7:53am, Stockly, Ed <email@hidden> wrote:

> on MnemonicOfText(aCode, pairText)
> 	set saveTID to AppleScript's text item delimiters
> 	set AppleScript's text item delimiters to {return & aCode & tab}
> 	try
> 		set thisMnemonic to word 1 of text item 2 of pairText
> 	on error
> 		set thisMnemonic to false
> 	end try
> 	set AppleScript's text item delimiters to saveTID
> 	return thisMnemonic
> end MnemonicOfText



 _______________________________________________
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


  • Follow-Ups:
    • Re: A question on technique
      • From: Thomas Fischer <email@hidden>
References: 
 >A question on technique (From: Gil Dawson <email@hidden>)
 >Re: A question on technique (From: Deivy Petrescu <email@hidden>)
 >Re: A question on technique (From: Deivy Petrescu <email@hidden>)
 >Re: A question on technique (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: A question on technique
  • Next by Date: How do I search the archives?
  • Previous by thread: Re: A question on technique
  • Next by thread: Re: A question on technique
  • Index(es):
    • Date
    • Thread