asked Aug 13 '18 at 14:25 by einfachfelix (21)

hey, does someone of you know how to select a preset in the browser through scripting ? I mean its easy to open the browser:

var deviceBrowser = cursorDevice.createDeviceBrowser(1, 1); deviceBrowser.activateSession(deviceBrowser.getSampleSession()); deviceBrowser.startBrowsing();

but I cant seem to access the next item in the browser. can someone of you help me ?

ok I´m dumb. Found it out myself :D when the browser is opened you can just call: var application = host.getApplication(); ... application.arrowKeyDown(); or application.arrowKeyUp();

to navigate through the browser presets.

maybe for someone in the future this is helpful :D

link

answered Aug 13 '18 at 16:36 by einfachfelix (21)

Is it possible to trigger next and previous presets without bringing up the browser though?

link

answered Aug 14 '18 at 04:14 by Veiss (97)

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×54
×7

Asked: Aug 13 '18 at 14:25

Seen: 303 times

Last updated: Aug 14 '18 at 04:14