
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
Open a program, and it goes to screen (#)
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351
-
- Site Admin
- Posts: 305
- Joined: July 23rd, 2010, 8:32 pm
- Location: Las Vegas, NV USA
- Contact:
Open a program, and it goes to screen (#)
Is there a string of "if and than" code that I can type into Smartie to make it to where, for instance, I open Winamp, and the screen goes to the winamp screen?
Like IF winamp.exe is open, = 1 THAN go to screen 1. Thanks ahead of time.

-
- Forum Supporter
- Posts: 590
- Joined: March 8th, 2006, 1:58 pm
- Location: Scotland
Re: Open a program, and it goes to screen (#)
There's a process lister/checker plugin that you can use to test if a particular program is running. See http://forums.lcdsmartie.org/viewtopic.php?f=8&t=558 I have a feeling there's another similar plugin mentioned somewhere - try a search...
For Winamp specifically, you can use $WinampStat in a screen/action to get/test the status of Winamp (but it doesn't tell you if Winamp is open or not). This will return "playing", "paused" or "stopped". I use it to switch between system and winamp screens depending on whether Winamp is playing or not:
Theme 3 has my Winamp screens and theme 1 has system screens.
For Winamp specifically, you can use $WinampStat in a screen/action to get/test the status of Winamp (but it doesn't tell you if Winamp is open or not). This will return "playing", "paused" or "stopped". I use it to switch between system and winamp screens depending on whether Winamp is playing or not:
Code: Select all
IF $WinampStat = playing THEN GotoTheme(3)
IF $WinampStat <> playing THEN GotoTheme(1)
-
- Site Admin
- Posts: 305
- Joined: July 23rd, 2010, 8:32 pm
- Location: Las Vegas, NV USA
- Contact:
Re: Open a program, and it goes to screen (#)
That is awsome, I'll give it a try when I get back from Arizona!!! Thanks for the reply and all the help!!!!



