• 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: Script Debugger 5: Duplicate Selection Handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Debugger 5: Duplicate Selection Handler


  • Subject: Re: Script Debugger 5: Duplicate Selection Handler
  • From: Christopher Stone <email@hidden>
  • Date: Wed, 12 Sep 2012 13:57:44 -0500

Hey Folks,

I just realized I posted the last script that uses the Satimage.osax without a needed handler.  It's in a library on my system and automatically added to every script I create in Script Debugger.

--
Best Regards,
Chris

-------------------------------------------------------------------------------------------
--» fndUsing()
-------------------------------------------------------------------------------------------
# Modified: 2011-08-31 : 20:16
# Satimage.osax --> 'Find Text' with Capture
-------------------------------------------------------------------------------------------
on fndUsing(fndStr, returnStr, srcData, caseSensitive, regExFlag, wholeWord, allOccurrences, stringResult)
  try
    set findResult to find text fndStr ¬
      in srcData ¬
      case sensitive caseSensitive ¬
      regexp regExFlag ¬
      whole word wholeWord ¬
      using returnStr ¬
      all occurrences allOccurrences ¬
      string result stringResult
    return findResult
  on error # errMsg number errNum
    return false
  end try
end fndUsing
-------------------------------------------------------------------------------------------

fndUsing("()", "\\1", srcData, false, true, false, false, true) of me

 _______________________________________________
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: 
 >Script Debugger 5: Duplicate Selection Handler (From: Christopher Stone <email@hidden>)
 >Re: Script Debugger 5: Duplicate Selection Handler (From: Shane Stanley <email@hidden>)
 >Re: Script Debugger 5: Duplicate Selection Handler (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Script Debugger 5: Duplicate Selection Handler
  • Next by Date: Script Debugger 5: Select Current Line (was Duplicate Selection Handler)
  • Previous by thread: Re: Script Debugger 5: Duplicate Selection Handler
  • Next by thread: Script Debugger 5: Select Current Line (was Duplicate Selection Handler)
  • Index(es):
    • Date
    • Thread