Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Skip fGetSelectedObjects(Module in_mod)
- {
- Skip skpObjects = create() // Return KEY and DATA both 'Object'
- if (null in_mod) return(skpObjects)
- Object oCurr = current,
- o
- for o in entire (in_mod) do
- { if (isSelected(o) or
- o == oCurr) put(skpObjects, o, o)
- }
- return(skpObjects)
- } // end fGetSelectedObjects()
- Skip skpObjects = fGetSelectedObjects(current Module)
- Object o
- for o in skpObjects do
- { // deal with the selected o
- string s = o."Object text"
- // I don't know the way to activate the object text attribute instead of manual click. Thus it loops through selection and pastes the clipboard contents.
- pasteToEditbox
- //For Single Indentation use 360 points, double indentation 720 points and so on...
- o."Object text" = richText (applyTextFormattingToParagraph(richText s,false,360,0))
- }
- delete(skpObjects)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement