• 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: set selection of a SD document to end?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set selection of a SD document to end?


  • Subject: Re: set selection of a SD document to end?
  • From: Mitchell L Model <email@hidden>
  • Date: Fri, 17 Jun 2016 18:57:07 -0400

Missed that. Thanks.

On Jun 17, 2016, at 6:24 PM, Stan Cleveland <email@hidden> wrote:

The code below does what you're asking, if I understand correctly.

Regards, 
Stan C.

tell application "Script Debugger"
tell script window "my_special_script.applescript"
set sourceText to source text of document 1
set len to length of sourceText
set character range of selection to {len + 1, 0}
end tell
end tell



 _______________________________________________
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

  • Prev by Date: Re: PDF vs. HTML documentation
  • Next by Date: Re: Script Debugger 6 Officially Released
  • Previous by thread: Re: PDF vs. HTML documentation
  • Next by thread: en-dash, em-dash, and the like obtained from Safari tab names
  • Index(es):
    • Date
    • Thread