no prob, phitsc, TIMU has so many functions already that I have fun figuring out how to do stuff!
I think the most needed feature would currently be storing parameters between sessions and when changing between individual text manipulations.
That was a note to self by the way.

// ==UserScript==// @name Mouseover Popup Image Viewer// @namespace http://w9p.co/userscripts/// @description Shows images and videos behind links and thumbnails.// @version 2015.10.11.1// @author kuehlschrank// @homepage http://w9p.co/userscripts/mpiv/// @icon https://w9p.co/userscripts/mpiv/icon.png// @grant GM_getValue// @grant GM_setValue// @grant GM_xmlhttpRequest// @grant GM_openInTab// @grant GM_registerMenuCommand// @grant GM_setClipboard// ==/UserScript==// ==UserScript==
// @name Mouseover Popup Image Viewer
// @namespace http://w9p.co/userscripts/
// @description Shows images and videos behind links and thumbnails.
// @version 2015.10.11.1
// @author kuehlschrank
// @homepage http://w9p.co/userscripts/mpiv/
// @icon https://w9p.co/userscripts/mpiv/icon.png
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_xmlhttpRequest
// @grant GM_openInTab
// @grant GM_registerMenuCommand
// @grant GM_setClipboard
// ==/UserScript==using System;
public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
return text.Replace("\n","\r\n");
}
}It would seem in notepad carriage returns aren't being interpreted as carriage return+linefeed. if without edit, i press the output box Copy to Clipboard, the copy will still not have linefeeds when i paste it back into notepad.Notepad doesn't support linux-formatted text (line-feed only), so I'd reccommend using a decent editor (lots of free notepad replacements available), and forget notepad even exists.
<road>
<1>
<car color="red">car1</car>
<car color="blue">car2</car>
...
</1>
<2>
...
</2>
<3>
...
</3>
... till <39>
</road>Hey,
I have a question about the replace regex.
I have an XML file (simplified as example)Code<road> <1> <car color="red">car1</car> <car color="blue">car2</car> ... </1> <2> ... </2> <3> ... </3> ... till <39> </road>
Now I was hoping I could change the <1></1> till <39></39>
into <lane1></lane1> till <lane39></lane39>
I use <[0123456789]> as Search regular expression, and that selects the first tags correctly.
But I have no clue how to provide something from the searched text into the replacement text.
Could you explain a bit how to use the regex replace.
Thank you.

.
DeVamp, you can try with vers. 0.19 and use hamradio's regex, but use <\1lane\2> as replacement text. Then compare the output with what WildGem gives you and tell me if it's the same.
\1 will be replaced with what's captured for the first group (defined by the () in the regex), \2 by what's in the second group, etc.
Still glad someone finds TIMU useful!

DeVamp, you can try with vers. 0.19 and use hamradio's regex, but use <\1lane\2> as replacement text. Then compare the output with what WildGem gives you and tell me if it's the sameOw yeah....... This is awesome...... the possibilities.......
\1 will be replaced with what's captured for the first group (defined by the () in the regex), \2 by what's in the second group, etc.
Still glad someone finds TIMU useful!


This is also a nice tool to create the regex expression.
I am a user of both TIMU and WildGem so in the meantime while it gets worked on for this one...you can do it with WildGem which can be found on DonationCoder forum as well at: https://www.donationcoder.com/forum/index.php?topic=41103.0
I used <(/?)(\d+?)> for regex and for replacement text <$1lane$2>.
It worked with your example.

Hi there .o/
I found some sort of "bug", which is actually something I've seen in several applications so far.
Here are the steps to reproduce:
- have the program's window opened, but not maximized
- reduce it to the task bar
- close the program by right-clicking its button in the taskbar and selecting "Close this window"
When you run the program again, its window doesn't show, even if you click the button on the taskbar (which would normally restore the window).
From what another developer told me a while back, that is related to how Windows treats window reduction: it just moves the window to coordinates "far, far away" outside of the desktop's resolution. Thus when you close the program, it saves those coordinates... and when it runs again, its window is always at a position outside of the desktop.
You still can make it visible again by maximizing the window (using the system menu which you can bring up with Alt + spacebar), but it's kinda not cool having to do so.
You could also edit the coordinates in the user.config file somewhere under "%localappdata%\TextManipulationUtility" to have it back into the visible area of the desktop… but it would be much better if the program checked whether or not the coordinates specified in there are visible or not according to the current desktop's resolution, and if not, reset the window's position.
if (this.WindowState == FormWindowState.Maximized || this.WindowState == FormWindowState.Minimized)
{
SaveSettingsData.ClosedState.Left = this.RestoreBounds.Left;
SaveSettingsData.ClosedState.Top = this.RestoreBounds.Top;
SaveSettingsData.ClosedState.Width = this.RestoreBounds.Width;
SaveSettingsData.ClosedState.Height = this.RestoreBounds.Height;
if (this.WindowState == FormWindowState.Minimized)
{
SaveSettingsData.ClosedState.wasMaximized = false;
}
else
{
SaveSettingsData.ClosedState.wasMaximized = true;
}
}
else
{
SaveSettingsData.ClosedState.Left = this.Left;
SaveSettingsData.ClosedState.Top = this.Top;
SaveSettingsData.ClosedState.Width = this.Width;
SaveSettingsData.ClosedState.Height = this.Height;
SaveSettingsData.ClosedState.wasMaximized = false;
}this.Left = LoadSettingsData.ClosedState.Left;
this.Top = LoadSettingsData.ClosedState.Top;
this.Width = LoadSettingsData.ClosedState.Width;
this.Height = LoadSettingsData.ClosedState.Height;
if (LoadSettingsData.ClosedState.wasMaximized == true)
{
this.WindowState = FormWindowState.Maximized;
}
else if (LoadSettingsData.ClosedState.wasMaximized == false)
{
this.WindowState = FormWindowState.Normal;
}

Original address: https://www.donationcoder.com/forum/index.php?topic=36544.0