[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum :: View topic - Command Line Interface
XWidgetSoft Forum
https://bbs.xwidget.com/

Command Line Interface
https://bbs.xwidget.com/viewtopic.php?f=7&t=6357
Page 1 of 1

Author:  JamesHarper [ June 16th, 2016, 10:41 pm ]
Post subject:  Command Line Interface

Hi all,

I'm often switching Audio Output between PC Speakers and Headphones and for the change to be reflected with the Volume Widget I'm using I use ..\xwidget.exe - Restart which restarts application itself with all the widgets. Is there a way to Reload a specific ("Volume" in that case) Widget without restarting the whole program? Also if there exists a list of CLI commands.

Many Thanks for help.

Author:  Jimking [ June 16th, 2016, 10:52 pm ]
Post subject:  Re: Command Line Interface

The volume core updates and read data every second so I don't think that you will have problems with it. In any case the fast way is to click once on the widget and press F5.
Works like windows reload.

Author:  JamesHarper [ June 16th, 2016, 11:33 pm ]
Post subject:  Re: Command Line Interface

Thank you for quick reply. Unfortunately Refreshing only refreshes the Widget and I just noticed that even RightClick-Window-Reload doesn't reflect the fact that the Default Playback Device has changed so that if I change Volume it changes it on the inactive Playback Device. I guess Restarting the whole program is the only option...

Author:  Jimking [ June 17th, 2016, 12:33 am ]
Post subject:  Re: Command Line Interface

I need to test it.. The volume core reads the MAIN system volume percentage. Question: When you put the headphones the volume widget stop working..? Or this happens after plug them out ..
I'm not the developer but I'm asking you more details to understand where exactly is the issue..

Author:  JamesHarper [ June 17th, 2016, 1:07 am ]
Post subject:  Re: Command Line Interface

The Headphones use Xonar U3 USB DAC while PC Speakers play through onboard Realtek, Headphones are always plugged in so I just switch devices with the help of nircmd.exe (NirCmd). I just added "..\xwidget.exe RESTART" at the end of the Autohotkey script that does the switching...

Author:  Jimking [ June 17th, 2016, 1:24 am ]
Post subject:  Re: Command Line Interface

In this case the things become more complicated..! :)
And I don't know if there is a solution for this or if there is a trick with a script that there volume core can read more data than the main volume.
Wait to see if someone else can find a solution.
Personally I think that it's not possible.

Author:  JamesHarper [ June 17th, 2016, 1:29 am ]
Post subject:  Re: Command Line Interface

Yeah, I kinda thought so too. It's no biggy though, Just been wondering if it's possible without restarting all the Widgets needlessly. Thnx for you help :)

Author:  Jimking [ June 17th, 2016, 4:40 am ]
Post subject:  Re: Command Line Interface

You're welcome. :)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/