Access to window info via UserTalk

21 views
Skip to first unread message

Oliver Wrede

unread,
May 8, 2018, 6:02:31 PM5/8/18
to frontier-user
Hello.

Is there a way to access information about application windows via UserTalk (using OMPL Editor on a Mac)?

I am interested in following infos:
— font & font sizes
— with tables: Column width
— position of the cursor/marker
— a way to set the focuse to a node
— with tables and outlines: state of expanded nodes

It seems only some features are exposed to be used by UserTalk...

Regards,
OW

Jake Savin

unread,
May 8, 2018, 8:05:06 PM5/8/18
to fronti...@googlegroups.com, Oliver Wrede
Hi Oliver,

Most of these are possible, and are documented on http://docserver.userland.com/ – see inline below...

Cheers,
-Jake
May 8, 2018 at 2:56 PM
Hello.

Is there a way to access information about application windows via UserTalk (using OMPL Editor on a Mac)?

I am interested in following infos:
— font & font sizes
See font- and style-related verbs under editMenu:
http://docserver.userland.com/editMenu/
— with tables: Column width
Column widths are not exposed as far as I know.
— position of the cursor/marker
The selection range and contents are implemented with wp verbs:
http://docserver.userland.com/wp/

— a way to set the focuse to a node
You can use op.go to navigate around an outline, or the ODB tree:
http://docserver.userland.com/op/go

... or use op.getCursor and op.setCursor to get/set the cursor position (make sure to read the notes):
http://docserver.userland.com/op/getCursor

— with tables and outlines: state of expanded nodes
For this you want op.subsExpanded, op.getExpansionState, op.setExpansionState, op.expand, op.collapse, etc:
http://docserver.userland.com/op/

It seems only some features are exposed to be used by UserTalk...

Regards,
OW
--
You received this message because you are subscribed to the Google Groups "frontier-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frontier-use...@googlegroups.com.
Visit this group at https://groups.google.com/group/frontier-user.
For more options, visit https://groups.google.com/d/optout.

Oliver Wrede

unread,
May 9, 2018, 9:15:39 AM5/9/18
to frontier-user
This is perfect!

Thank you very very much, Jake!

OW
Reply all
Reply to author
Forward
0 new messages