|
2
|
DonationCoder.com Software / Find And Run Robot / Re: possible regex search alias bug
|
on: May 10, 2013, 10:32:46 AM
|
mouser & skajfes: you are right, thank you for the explanation.  skajfes: good practice in general - agreed! But in this particular case I wanted the alias to trigger first on "aa" (show all files in a folder) and on "aa somephrase" (show files in the folder matching "somephrase") *and* not switch back to a regular FARR search inbetween that. For that I needed the first space included in the match pattern.
|
|
|
|
|
4
|
DonationCoder.com Software / Find And Run Robot / Re: possible regex search alias bug
|
on: May 09, 2013, 12:46:23 PM
|
"bb " does nothing. But what makes me think there is some issue with FARR here is that if I change the second alias from to I still have the problem i.e. "testing " triggers the first alias. I have checked my list of aliases and found no third alias triggering on "aa" (nor on "testing"). Could this be related to the fact that the aa-alias is designed to trigger both on "aa" and on "aa whatever"? Anyway, since works good enough I'm by now just curious why there is a difference. edit: Let me add that the two aliases are used to launch these actions where ev2.exe is my workaround autohotkey script that passes a search to everything
|
|
|
|
|
5
|
DonationCoder.com Software / Find And Run Robot / Re: possible regex search alias bug
|
on: May 09, 2013, 12:28:25 PM
|
No this reproduces whatever name I set for it. More testing: if I open the "edit group alias" window for the first alias and enter "aa " in the test box it (correctly) says "no match" in red text. But I enter "aa " (without quotation marks) in the regular FARR inputbox the first alias runs. Weird! I tried tweaking the second alias into the below, but the problem is still there. edit: hm, if I use this the problem also occurs but if I use this there is no problem A drawback is that with this last regex the alias first runs on "aa", then a regular FARR search is shown on "aa " and then the alias runs again on "aa test". I use this alias to on "aa" list all files in a folder and on "aa test" list all files in that folder matching the phrase test. Anyway, I don't understand why the problem appears in all but the last version of the regex.
|
|
|
|
|
7
|
DonationCoder.com Software / Find And Run Robot / Re: Run a program with file(s) selected in Explorer
|
on: March 26, 2013, 03:37:49 AM
|
I don't have a general solution. I wish it was possible to drag and drop files onto FARR search result items in the same way you can drag a drop a file (file.txt) on a shortcut to a program (firefox) to start that program with the file as command line parameter. A quick way to open a file in explorer in a program that is not default for that filetype can be had through autohotkey: [ copy or print] #IfWinActive, ahk_class CabinetWClass #Enter:: #Lbutton:: send ^c clipwait run notepad.exe "%clipboard%" #IfWinActive Replace notepad.exe below with your VIM path. Then win+click a file in Explorer. Or select the file in Explorer and press win+Enter.
|
|
|
|
|
9
|
DonationCoder.com Software / Find And Run Robot / Re: [solved] FARR freeze after quick repeat of dolaunch appcap alias
|
on: January 09, 2013, 02:20:04 PM
|
As a follow up, while troubleshooting I also discovered a tiny issue that I hadn't run into before: when you make a regex alias any string in the first editbox in the Edit Group Alias window is still active in FARR. That can give unexpected effects when using dolaunch and regex subpatterns. To see it, try this: type: x FARR displays: $$1 <--- caused by the non regex alias type: xa FARR displays: a type: xabc FARR displays: abc Is it by design or unintended that the non-regex alias is used even after a regex alias has been set up? Clearing the first editbox removes the effect of course. But putting text in that editbox is handy as a name the alias, for easy browsing through the list of aliases later on.
|
|
|
|
|
10
|
DonationCoder.com Software / Find And Run Robot / [solved] FARR freeze after quick repeat of dolaunch appcap alias
|
on: January 08, 2013, 02:01:27 PM
|
I'm trying to make an alias that continuously pipes the FARR alias regex match text to an autohotkey script, the script processes that input and outputs a html file that in turn is after save refreshed in FARR. But I've run into a freeze problem. Here is an easy way to reproduce it: 1. make this alias: 2. compile this autohotkey code into C:\test.exe 3. open FARR and type x and then quickly type a string of numbers (with multiple keypresses). FARR will now maximize its CPU (for one core) and no new commands are possible. To break the freeze a shutdown from the task manager is needed. I've tried a few other alias designs using alternative commands but didn't find one that did all the things in the first sentence above. I tried the below alias command chain together with an autohotkey line that saves the command line input to C:\test.html but the html doesn't reliably refresh after each run. I want to avoid adding delay/sleep times if possible. [ copy or print] dolaunch showhtml . ;;; C:\test.exe "$$1" ;;; showfilehtml C:\test.html Edit: Mouser has fixed it in Version 2.206.01  [BugFix] AppCap function could hang FARR if it was repeatedly invoked many times per second.
|
|
|
|
|
11
|
Main Area and Open Discussion / General Software Discussion / Re: Everything is back -- with 1.3 beta
|
on: January 05, 2013, 11:05:16 AM
|
Ok. It is still possible to filter out folders from the matches using the ! command when match path is active. For example, the search "football !E:" excludes "E:\football.txt" and "E:\folder\football.txt" but includes "C:\football.txt" in the match list. I use autohotkey to quickly toggle such "filters" on/off. Here it is if anyone has use for it. update: I improved the script. [ copy or print] #IfWinActive, ahk_class EVERYTHING F12:: string = !"E:\test folder\" toggle() return F11:: string = "ext:mp3" toggle() return toggle() { global ControlGetText, x, Edit1, A if x contains %string%%A_space% StringReplace, x, x, %string%%A_space%,, else if x contains %string% StringReplace, x, x, %string%,, else x = %string% %x% ControlSetText, Edit1, %x%, A ControlFocus, Edit1, A send {end} } #IfWinActive
|
|
|
|
|
14
|
DonationCoder.com Software / N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop
|
on: January 03, 2013, 02:41:24 AM
|
|
Yes, single image mode is only for quick pretuning of the threshold before dropping a folder with many images. BookCrop is made only to do batch cropping as quickly and simply as possible. Good and fast single image cropping tools already exist in most image viewers/editors.
|
|
|
|
|
16
|
DonationCoder.com Software / N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop
|
on: December 22, 2012, 11:45:14 AM
|
I'm glad you have use for it!  You can uncheck "show on startup" in side panel settings. Once the side panel is open you can close it by clicking the "?" again or pressing "esc" or "tab". Readjusting as in drag and drop of a drawn rectangle doesn't work. But you can simply draw a new rectangle and the old one is replaced.
|
|
|
|
|
17
|
DonationCoder.com Software / N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop
|
on: December 22, 2012, 05:43:43 AM
|
|
Hi akinomento,
For BookCrop to work you also need to install GraphicsMagick (using the installer, install it to whatever folder you want) and to download and place Jpegtran.exe (no installation needed) in the same folder as BookCrop. See under "installation" in the original post above for links or click the "?" in the lower corner inside BookCrop and you'll find the links there too.
There is no quality loss. Jpegtran does lossless jpg cropping.
|
|
|
|
|
18
|
Main Area and Open Discussion / General Software Discussion / Re: Video rant against Windows 8
|
on: December 21, 2012, 02:37:17 PM
|
Beneath the hood it's quite nice. I don't even have a problem with a flat look. (I actually prefer it. All my personal Nix boxes are set up with minimalist themes and flat icons.)
Just give us the option to permanently disable Metro - and ditch all the cloud nonsense they try to steer you into during the installation - and I'd recommend it without hesitation.
Yeah, the flat more minimal look is great, functional. If Metro was removed then it would basically be Win7 plus. I wish Microsoft would have taken the boatload of money likely spent on Metro and instead given it all to... Mouser! MS should have simply brought in FARR and used it as start menu replacement.
|
|
|
|
|
21
|
DonationCoder.com Software / N.A.N.Y. 2013 / N.A.N.Y 2013 Submission - BookCrop
|
on: December 08, 2012, 12:51:06 PM
|
| Application Name | BookCrop | | Short Description | BookCrop quickly batch crops many jpeg photos of book pages | | Supported OSes | tested in Win7 | | Web Page | http://nod5.dcmembers.com/bookcrop.html | | Download Link | http://nod5.dcmembers.com/downloads/bookcrop.zip | | Author | nod5 | | Description | 1. Drag and drop a folder of jpeg images. 2. BookCrop overlays them all into one preview. 3. Draw a rectangle and click "crop" to lossless crop all images. (4. or Ctrl+draw another rectangle to the right of the first to crop split each image to two files) Use BookCrop on folders with right and left pages before ScanTailor when book scanning. BookCrop is like Briss but for jpeg files. See the application web page for more details and usage tips.
| | Screenshots | [attachthumb=3][attachthumb=1][attachthumb=2]
| | Installation | Unzip BookCrop. Download Jpegtran.exe and place next to BookCrop.exe. Download and install the latest GraphicsMagick (Q8 version is faster) to any folder, BookCrop autofinds it. Run BookCrop.exe
| | Uninstallation | Delete the BookCrop application folder.
|
Help me out with this: - test it in Win xp, Vista and Win7 32bit - let me know if you find any bugs added updates: - preview height now adapts to screen height. - new option: crop to subfolder (keep originals).
|
|
|
|
|
23
|
DonationCoder.com Software / Finished Programs / Re: [DONE] lightweight pdf viewer and editor
|
on: November 08, 2012, 09:27:55 AM
|
Extremely useful, since Sumatra doesn't lock in .pdf files, allowing editing and viewing at the same time.
Nice! I just tested it with a pdf in Sumatra and editor side by side. And indeed as soon as changes are saved in the editor they immediately appear in Sumatra. If some pdf editor can be set to autosave on any change then we could have real-time updates in Sumatra.
|
|
|
|
|
24
|
DonationCoder.com Software / Finished Programs / Re: [DONE] lightweight pdf viewer and editor
|
on: November 07, 2012, 03:30:11 PM
|
Try this tomos (I have tested it in Acrobat but not Acrobat Reader) [ copy or print] #IfWinActive, ahk_class AcrobatSDIWindow F12:: send ^d ;open file properties winwaitactive, Document Properties ControlGetText, xname, Static2, Document Properties ControlGetText, xpath, Static18, Document Properties send {esc} ifexist %xpath%%xname% run [full path to pdf-xchange here] "%xpath%%xname%" return #IfWinActive If it doesn't work, open Document Properties in Acrobat Reader and also open AU3_Spy that comes with Autohotkey. Hold the mouse over the filename in the properties window and check the ClassNN value in AU3_Spy. Replace Static2 above with that value. Repeat for the file path part of the properties window.
|
|
|
|
|