Search found 5 matches

by exnova
Wed May 27, 2020 2:45 am
Forum: Get Help
Topic: Go to specified panel position action
Replies: 6
Views: 9010

Re: Go to specified panel position action

Thanks, now it works!
I did need to add getActiveScreen() at the beginning, otherwise I got: "getItemById" is not defined"
so

Code: Select all

getActiveScreen().getItemById(0x<panel item id>).getContainer().setPosition(0,0)
I guess I just incorrectly assumed the Panel's id in the hierarchy is the container id.
by exnova
Tue May 26, 2020 1:14 am
Forum: Get Help
Topic: Go to specified panel position action
Replies: 6
Views: 9010

Re: Go to specified panel position action

I only managed to move the panel, not scroll it. Using: getActiveScreen().getItemById(<your panel container id>).setPosition(0,0) Can setPosition be used to scroll as well? Or do I need to create 3 panels, instead of having one that's 3 pages wide? Also I had to add "0x" to the start of panel ID, ta...
by exnova
Sat May 16, 2020 11:40 pm
Forum: Get Help
Topic: Go to specified panel position action
Replies: 6
Views: 9010

Re: Go to specified panel position action

Thanks!
Although the script doesn't make my panel scroll, I should probably figure it out, now that I know the correct approach.

edit: can't get it to work after all :(
by exnova
Fri May 15, 2020 4:06 pm
Forum: Get Help
Topic: Go to specified panel position action
Replies: 6
Views: 9010

Re: Go to specified panel position action

Did I really discovered something this Launcher can't do? Even with a script?
To be clear, I just want to replicate the "Go to home desktop" action, but for a panel instead of the desktop.
by exnova
Sat May 09, 2020 8:42 pm
Forum: Get Help
Topic: Go to specified panel position action
Replies: 6
Views: 9010

Go to specified panel position action

Hello,

I have a panel that is 3 desktops wide, scrollable.
I'd like to assign Home key to scroll it back to the middle section.
I was looking into Bookmarks, but can't see how one can be launched with an action, only a shortcut.