Notifications
Clear all

Screens

12 Posts
6 Users
4 Reactions
21.4 K Views
(@manu47)
Active Member
Joined: 5 years ago
Posts: 3
Topic starter  

Hello, I love dashstudio but I can't do certain things that seem very useful to me.

Is there a way by a button to go to a specific screen other than previous or next ?

May be javascript but i dont find by myself.

I found the function [GraphicalDashPlugin.NextScreen] but when I apply it to a button nothing happens.

Do you have an idea ?

 

Thank you in advance.


   
Super71962 reacted
Quote
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

Hi.
GraphicalDashPlugin.NextScreen should work as a mapped action.
Make sure your buttons are visible and unlocked.
And that there is nothing on top of them. Even a transparent layer.


   
ReplyQuote
(@super71962)
Active Member
Joined: 4 years ago
Posts: 5
 

Hi Manu47, did you ever get your requirement fixed? I have the exact same issue of wanting to trigger specific screens in a Dash from events or buttons.

Hope to hear!

Regards, G

 

 


   
ReplyQuote
(@judgie)
Active Member
Joined: 3 years ago
Posts: 5
 

I found a small workaround for myself using autohotkey.

You have to know the order of your screens and assign keyboard keys to first and next screen.

Your button in the dashboard then triggers an autohotkey script for the key combination for the screen you want to go to.

e.g. You have four screens and you want a button to directly go to the 3rd. The autohotkey script would send "key to first screen" and then two keys to go to the third screen.

 

Not perfect, but it works for my current use case.


   
NigeUK reacted
ReplyQuote
(@syntryx)
New Member
Joined: 5 years ago
Posts: 1
 

Whilst we are on the topic of screens, Is there a way to delete a screen? 


   
ReplyQuote
(@manu47)
Active Member
Joined: 5 years ago
Posts: 3
Topic starter  

I have found a solution. I use 'trigger', 'keymapping' and widget to change screen.


   
ReplyQuote
(@super71962)
Active Member
Joined: 4 years ago
Posts: 5
 

Thanks for this Manu47. Recent versions of SimHub have a feature to allow you to do this directly in the DashStudio... this how I resolved it. 

I did a screen shot, but dont know how to post it!

Regards,

G

 


   
ReplyQuote
(@kimi-172)
New Member
Joined: 2 months ago
Posts: 2
 

@super71962 how did you do it? I#m still struggling and dont find any trigger that says keymapping


   
ReplyQuote
(@super71962)
Active Member
Joined: 4 years ago
Posts: 5
 

@kimi.172 I'll reply later- not at my Simhub machine atm 😉 


   
ReplyQuote
(@super71962)
Active Member
Joined: 4 years ago
Posts: 5
 

@kimi-172 I have attached a screenshot of one of my dashboards. Simply add a 'button' from the toolbox, choose the graphic files you want to use for pressed/unpressed, and then on the right of the page navigate to 'predefined behaviour' and select 'navigate to a specific screen'.

I hope that kelps Kimi.

 


   
kimi.172 reacted
ReplyQuote
(@kimi-172)
New Member
Joined: 2 months ago
Posts: 2
 

@super71962 thank you so much 🫶🫶


   
ReplyQuote
(@super71962)
Active Member
Joined: 4 years ago
Posts: 5
 

@kimi-172 You're welcome mate


   
kimi.172 reacted
ReplyQuote
Share: