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 Skins
Programmer help please to move all PosX/Y ?
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="vuego" data-source="post: 501128" data-attributes="member: 23741"><p>Here's the file.</p><p></p><p>It'll open all .xml files in its own directory and subdirectories and overwrite the files after the search and add is done. You probably want to do it in a temporary copy folder, just in case <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>The script is somewhat configurable. Here's what the current search/add looks like:</p><p>[CODE]Dim rxSearch(3, 1) ' First value sets number of searches (zero-based)</p><p>rxSearch(0, 0) = "<posX>(\d+)</posX>"</p><p>rxSearch(0, 1) = 40</p><p>rxSearch(1, 0) = "<posY>(\d+)</posY>"</p><p>rxSearch(1, 1) = 12</p><p>rxSearch(2, 0) = "<spinPosX>(\d+)</spinPosX>"</p><p>rxSearch(2, 1) = 40</p><p>rxSearch(3, 0) = "<spinPosY>(\d+)</spinPosY>"</p><p>rxSearch(3, 1) = 12</p><p>[/CODE]</p><p>If you, for example, like to change it to add 100 to all height tags, modify it to:</p><p>[CODE]Dim rxSearch([B]0[/B], 1) ' First value sets number of searches (zero-based)</p><p>rxSearch(0, 0) = "<height>(\d+)</height>"</p><p>rxSearch(0, 1) = 100</p><p>[/CODE]</p><p></p><p>I couldn't find any <spinPosX> in the Blue3 skin but I've verified that it works correctly on <PosX> and <PosY>.</p><p>Have fun <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="vuego, post: 501128, member: 23741"] Here's the file. It'll open all .xml files in its own directory and subdirectories and overwrite the files after the search and add is done. You probably want to do it in a temporary copy folder, just in case :) The script is somewhat configurable. Here's what the current search/add looks like: [CODE]Dim rxSearch(3, 1) ' First value sets number of searches (zero-based) rxSearch(0, 0) = "<posX>(\d+)</posX>" rxSearch(0, 1) = 40 rxSearch(1, 0) = "<posY>(\d+)</posY>" rxSearch(1, 1) = 12 rxSearch(2, 0) = "<spinPosX>(\d+)</spinPosX>" rxSearch(2, 1) = 40 rxSearch(3, 0) = "<spinPosY>(\d+)</spinPosY>" rxSearch(3, 1) = 12 [/CODE] If you, for example, like to change it to add 100 to all height tags, modify it to: [CODE]Dim rxSearch([B]0[/B], 1) ' First value sets number of searches (zero-based) rxSearch(0, 0) = "<height>(\d+)</height>" rxSearch(0, 1) = 100 [/CODE] I couldn't find any <spinPosX> in the Blue3 skin but I've verified that it works correctly on <PosX> and <PosY>. Have fun :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Programmer help please to move all PosX/Y ?
Contact us
RSS
Top
Bottom