home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
MultiShortcut
Improvements discussion
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="framug" data-source="post: 606204" data-attributes="member: 19448"><p><strong>Re : MultiShortcut plugin.</strong></p><p></p><p></p><p>Hi SilentExcept,</p><p><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> hope yours were as fine as mine. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p></p><p></p><p>Some news :</p><p></p><p>I uploaded MultiShortcut plugin V2.0 on first post wich should answer your need.</p><p>Don't forget to copy also modified language files.</p><p></p><p>Some rules :</p><p></p><p>1/ Because of internal MP handling :</p><p></p><p>[code]</p><p> /// <summary></p><p> /// This method returns the value for a given property</p><p> /// </summary></p><p> /// <param name="tag">property name</param></p><p> /// <returns>property value</returns></p><p> public static string GetProperty(string tag)</p><p> {</p><p> string property = string.Empty;</p><p> if (tag != null && tag.IndexOf('#') > -1)</p><p> {</p><p> lock (_properties)</p><p> { </p><p> _properties.TryGetValue(tag, out property); </p><p> }</p><p> }</p><p></p><p> return property;</p><p> }</p><p>[/code]your GUIProperty (defined in MultiShortcut Configuration) has to contains a "#" for it works.</p><p></p><p>2/ When boolean is true (blue surrounded in attached screenshot) :</p><p>you can use GUIproperty as Arguments.</p><p>And, you can also mix GUIproperty and constant values in Arguments.</p><p></p><p>3/ As usual, both GUIproperty and constants need a blank (space) as separator.</p><p></p><p>4/ If I take your example :</p><p>Configure MultiShortcut with "#TestingStartPage #TestingZoom"</p><p>- Your .exe should be called by MultiShortcut with "www.google.com 100" if you had filled them in infoservice.</p><p>- If GUIproperty are not filled, no argument will be passed (ie : "").</p><p></p><p>5/ If I take another example (red surrounded in attached screenshot) :</p><p>Configure MultiShortcut with "toto #TestingStartPage tata #TestingZoom titi"</p><p>- Your .exe should be called by MultiShortcut with "toto <a href="http://www.google.com" target="_blank">www.google.com</a> tata 100 titi" if you had filled them in infoservice.</p><p>- If GUIproperty are not filled, your .exe should be called with "toto tata titi"</p><p></p><p>Hope it can help you and, if you can send feedback...</p><p>the ball is in your court. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Regards.</p><p>Franck</p></blockquote><p></p>
[QUOTE="framug, post: 606204, member: 19448"] [b]Re : MultiShortcut plugin.[/b] Hi SilentExcept, :thx: hope yours were as fine as mine. :) Some news : I uploaded MultiShortcut plugin V2.0 on first post wich should answer your need. Don't forget to copy also modified language files. Some rules : 1/ Because of internal MP handling : [code] /// <summary> /// This method returns the value for a given property /// </summary> /// <param name="tag">property name</param> /// <returns>property value</returns> public static string GetProperty(string tag) { string property = string.Empty; if (tag != null && tag.IndexOf('#') > -1) { lock (_properties) { _properties.TryGetValue(tag, out property); } } return property; } [/code]your GUIProperty (defined in MultiShortcut Configuration) has to contains a "#" for it works. 2/ When boolean is true (blue surrounded in attached screenshot) : you can use GUIproperty as Arguments. And, you can also mix GUIproperty and constant values in Arguments. 3/ As usual, both GUIproperty and constants need a blank (space) as separator. 4/ If I take your example : Configure MultiShortcut with "#TestingStartPage #TestingZoom" - Your .exe should be called by MultiShortcut with "www.google.com 100" if you had filled them in infoservice. - If GUIproperty are not filled, no argument will be passed (ie : ""). 5/ If I take another example (red surrounded in attached screenshot) : Configure MultiShortcut with "toto #TestingStartPage tata #TestingZoom titi" - Your .exe should be called by MultiShortcut with "toto [url]www.google.com[/url] tata 100 titi" if you had filled them in infoservice. - If GUIproperty are not filled, your .exe should be called with "toto tata titi" Hope it can help you and, if you can send feedback... the ball is in your court. ;) Regards. Franck [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
MultiShortcut
Improvements discussion
Contact us
RSS
Top
Bottom