• 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
Value of insertion point as integer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Value of insertion point as integer


  • Subject: Value of insertion point as integer
  • From: Jan Bultereys <email@hidden>
  • Date: Mon, 17 Aug 2009 16:06:17 +0200
  • Thread-topic: Value of insertion point as integer

Title: Value of insertion point as integer
Hi all,

---script---
tell application "QuarkXPress"
    activate
   set theselection to selection
   set selection to insertion point before theselection
   properties of selection
end
tell
---script---

---output--
   
get properties of selection
       {class:selection-object, object reference:insertion point after character 295 of text flow 1 of text box 1 of layout space "Layout 1" of project "Project2"}
---output--

Does anyone know the syntax to get the value of the insertion point?

So basically in this case I just need the number 295

Many thanks,jan

 _______________________________________________
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: System Events duplicate command
  • Next by Date: Indesign CS4 question
  • Previous by thread: System Events duplicate command
  • Next by thread: Indesign CS4 question
  • Index(es):
    • Date
    • Thread