Latest posts of: Nod5 - DonationCoder.com
Welcome Guest.   Make a donation to an author on the site August 02, 2015, 05:24:12 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2015! Download dozens of custom programs!
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: Prev 1 2 3 4 5 6 [7] 8 9 10 11 12 ... 33 Next
151  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.  Thmbsup

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.
152  DonationCoder.com Software / Find And Run Robot / Re: possible regex search alias bug on: May 09, 2013, 01:09:05 PM
Aha! The problem is a space in the dosearch command string. If I change
[copy or print]
aa | dosearch C:\test\ $$1
into
[copy or print]
aa | dosearch C:\test\$$1
the problem is solved.
153  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
[copy or print]
^aa(|.+)$
to
[copy or print]
^testing(|.+)$
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
[copy or print]
^aa(| .+)$
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
[copy or print]
^aa(|.+)$
aa | dosearch C:\test\ $$1

[copy or print]
^(.*)\s\s$
dolaunch copyclip $$1 ;;; C:\ev2.exe
where ev2.exe is my workaround autohotkey script that passes a search to everything
154  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.
[copy or print]
^aa( .*)$
edit:
hm, if I use this the problem also occurs
[copy or print]
^aa(|.+)$
but if I use this there is no problem
[copy or print]
^aa(| .+)$
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.
155  DonationCoder.com Software / Find And Run Robot / possible regex search alias bug on: May 09, 2013, 09:05:23 AM
Hi, I have a conflict with two aliases. To reproduce, make these two regex aliases:
[copy or print]
^(.*)\s\s$

and
[copy or print]
^aa((?: .*|))$
If I type "aa[space]" in FARR the first alias is mistakenly triggered. Is that a bug?
156  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.
157  DonationCoder.com Software / Find And Run Robot / Re: [solved] FARR freeze after quick repeat of dolaunch appcap alias on: January 10, 2013, 10:44:40 AM
Ok. It is no problem really, I was just curious. I added a string of random letters at the end in that box. Then there's no unwanted matching and browsing is not impeded.
158  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:
[copy or print]
1000>>>x>->dolaunch showmemo $$1>+>^x(\w+)$
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.
159  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:
[copy or print]
1000>>>x>->dolaunch appcap C:\test.exe>+>^x(\d*)
2. compile this autohotkey code into C:\test.exe
[copy or print]
test = 1
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  Thmbsup
[BugFix] AppCap function could hang FARR if it was repeatedly invoked many times per second.
160  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
161  Main Area and Open Discussion / General Software Discussion / Re: Everything is back -- with 1.3 beta on: January 05, 2013, 10:08:30 AM
This is what the GUI looks like now.
[attachimg=1]

The developer also writes that he/she wants to make Everything open source.

162  Main Area and Open Discussion / General Software Discussion / Everything is back -- with 1.3 beta on: January 05, 2013, 09:06:06 AM
The free and amazingly quick search tool Everything has a new beta out - the first new release in around 4 years I think.  Thmbsup
http://forum.voidtools.co...wtopic.php?f=9&t=1552
163  Special User Sections / 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.
164  Special User Sections / N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop on: December 23, 2012, 04:12:12 AM
If the book tray of the scanner is constructed to automatically adjust sideways (drawer slides/ball bearings) then that won't be a big problem I think.
165  Special User Sections / 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!  smiley

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.
166  Special User Sections / 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.
167  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.
168  Main Area and Open Discussion / General Software Discussion / Re: Video rant against Windows 8 on: December 21, 2012, 01:15:04 PM
I like the energy in that video cheesy

That said, I still feel that a well designed service pack could do wonders for Win 8. If they put options to effectively disable the Metro stuff I'd probably go for it.
169  Special User Sections / N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop on: December 09, 2012, 01:50:59 PM
Phil, use the installer and install to any folder you want. BookCrop then reads the GraphicsMagick binary path from the registry. But jpegtran.exe on the other hand must be manually placed in the BookCrop folder. I will clarify that in the OP.
170  Special User Sections / N.A.N.Y. 2013 / N.A.N.Y 2013 Submission - BookCrop on: December 08, 2012, 12:51:06 PM
NANY 2013 Entry Information

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
Description1. Drag and drop a folder of jpeg or tif 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]
InstallationUnzip BookCrop.
Download and install the latest GraphicsMagick (Q8 version is faster) to any folder, BookCrop automatically finds it.
Download libjpeg-turbo-1.3.0-gcc.exe (for 64bit get gcc64.exe) or newer and unzip the exe (with 7-zip) and browse to the \bin subfolder and copy jpegtran.exe and libjpeg-62.dll and place next to BookCrop.exe
Run BookCrop.exe
UninstallationDelete 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).

edit 2013-06-22: updated the instruction above to fit new files and features
edit 2014-11-14: updated version with split batch job (left right) and rotation
171  Main Area and Open Discussion / General Software Discussion / Re: Strategies to stay with Windows 7 as long as possible on: November 09, 2012, 11:22:47 AM
I just want to keep Win7 because I have some unsupported old software that already has trouble running on Win7, so I'd imagine it's unlikely those software would suddenly run better on Win8...
What software? Maybe someone here is familiar with it and can say if it works on Windows 8. I have so far only tried Windows 8 in virtualization but everything I've tried to installed has worked fine.
172  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.
173  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.
174  DonationCoder.com Software / Finished Programs / Re: [DONE] lightweight pdf viewer and editor on: November 05, 2012, 04:00:10 PM
Glad you like it. I updated the code with a small improvement.
175  DonationCoder.com Software / Finished Programs / Re: [DONE] lightweight pdf viewer and editor on: November 05, 2012, 01:16:31 PM
I think this Autohotkey script will do what you want. Run it and then press F4 (or change it to some other hotkey) when Sumaptra is active to open the same document in nitro. You only need to change [path_to_nitro_folder] to whatever folder you have nitropdf installed in.
[copy or print]
#IfWinActive, ahk_class SUMATRA_PDF_FRAME
F4::
clipsave := ClipBoardAll
clipboard =
send ^d  ;open file properties
winwaitactive, Document Properties
send ^c  ;copy properties
clipwait
send {esc}
RegExMatch(clipboard, "U)File: (.*\.pdf)\R",xpath)  ;put pdf file path in variable
if xpath1 !=
 run [path_to_nitro_folder]\NitroPDF.exe "%xpath1%"
clipboard := clipsave
return
#IfWinActive
edit: fixed regex code and made run conditional on finding a matching pdf file (not epub or any other file type that Sumatra also supports)
Pages: Prev 1 2 3 4 5 6 [7] 8 9 10 11 12 ... 33 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.047s | Server load: 0.08 ]


Share on Facebook
submit to reddit