Welcome Guest.   Make a donation to an author on the site July 30, 2014, 06:09:10 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 2012! 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: [1] 2 3 4 5 6 ... 29 Next
1  DonationCoder.com Software / Find And Run Robot / Re: help searching recipes.docx from farr? on: July 12, 2014, 05:05:29 AM
I like this idea ottenm, I hope you share whatever solution you end up with.  Thmbsup I'd like to add a third possible method: write a script that exports a link/URL to each recipe as separate .lnk files in some special folder. That is useful if you alternate between searching with FARR and some other tool like Everything, since both will find the recipe named .lnk files. I did something like that for Firefox bookmarks some years back here http://nod5.dcmembers.com/ffbookmarkunpacker.html Maybe the general approach and some code bits can be reused if you like that method.
2  DonationCoder.com Software / DC Member Programs and Projects / QuickPicZone - tool to quickly make Scan Tailor picture zone on: June 25, 2014, 03:46:29 AM
I made a small, specialized tool that speeds up some manual steps when using the book scanning postprocessing software Scan Tailor Enhanced. I don't expect a boatload of users but here is a discussion/questions thread for those who find use for it or find bugs.

QuickPicZone is a helper tool for Scan Tailor Enhanced to make picture zones quickly.

[attachimg=1]

How to use
1. Drag and drop a Scan Tailor black and white mode output file.tif
QPZ displays the matching file.jpg
2. Click and draw a rectangle to set a mixed mode picture zone
3. QPZ saves picture zone data to project file.jpg.scantailor
4. QPZ processes saved project file to output new .tif

Setup
Download and unzip QuickPicZone.
Requires Scan Tailor Enhanced
On first run QPZ ask you to set the path to scantailor-cli.exe

More details on the help page within the program.

Made in Autohotkey by nod5 as Free Software GPL3
Tested in Win7 x64. The zip contains binary and source.

v140624: first version
3  Main Area and Open Discussion / General Software Discussion / Re: Capslock on: May 28, 2014, 03:13:30 PM
Nice improvement eleman! I didn't think of setting the volume.
4  Main Area and Open Discussion / General Software Discussion / Re: pdf tool for search and removal of batches of elements in pdf on: May 28, 2014, 07:46:00 AM
Curt, thanks for continuing to help track down the app. But it is not the pdffill tools. The program I'm looking for could remove elements (like headers with a certain text string), in contrast to adding headers/footers.
5  DonationCoder.com Software / Find And Run Robot / Re: Caps Lock on: May 27, 2014, 10:17:18 AM
Hi telephonics, joiwind linked to programs that do what you want. But let me reinvent the wheel here and attach a new working application. I have tested it in Windows 7.

Download CapsOnOff.exe and doubleclick to start using it. If you want CapsOnOff.exe to start automatically every time you power on Windows, make a link to it in the Startup folder. In Windows 7 press Windows > click all programs > right click the folder startup and click "open". Right click CapsOnOff.exe and click "create shortcut". Drag and drop the shortcut to the startup folder.

Here is the source code of the application (written in the autohotkey language)
[copy or print]
#NoEnv
#SingleInstance force
~CapsLock::
KeyIsDown := GetKeyState("CapsLock", "T")
if KeyIsDown
 ComObjCreate("SAPI.SpVoice").Speak("caps on")
else
 ComObjCreate("SAPI.SpVoice").Speak("caps off")
 return

And a reference on the command used is here http://www.autohotkey.com...mples-for-autohotkey-v11/
6  Main Area and Open Discussion / General Software Discussion / Re: pdf tool for search and removal of batches of elements in pdf on: May 26, 2014, 01:09:14 PM
No, the program had a GUI, unlike PDFtk Server. I earlier tried searching my posting history here for pdf something something but didn't find what I am looking for.
7  Main Area and Open Discussion / General Software Discussion / Re: pdf tool for search and removal of batches of elements in pdf on: May 26, 2014, 09:33:43 AM
Thanks for suggestions, but none of them (PDFedit, A-pdf tools, pdfmagus tools). is the one I'm afraid. Any more ideas?
8  Main Area and Open Discussion / General Software Discussion / pdf tool for search and removal of batches of elements in pdf on: May 25, 2014, 04:56:35 AM
A few years back I used a small GUI pdf tool for Windows to search and remove batches of elements in pdf, for example recurring headers with a specific text string. But I don't have it anymore! What is worse, I don't remember the name of the tool. IIRC it let you load a pdf and visualised the pages with only the element boxes (it didn't render the pages like a regular pdf viewer). There was a search feature for types of elements including search for text strings. It also had a sort of tree structure to browse through.

Help me find it! Any suggestions welcome. It is not Acrobat, Briss, PDFCrop, PDFMasher  (I will keep this "rule these out" list updated)
edit: And not PDFedit, A-pdf tools, pdfmagus tools, Govert's tools, pdfscissors, PDF Mod, PoDoFo-Tools, Pdfvole.
edit2: And not pdftk server, pdffill tools or PDFCosEdit.
9  DonationCoder.com Software / Find And Run Robot / Re: [Suggestion] Secondary mode with execute on first unique match on: May 14, 2014, 05:06:18 PM
Bending_Unit, here is a sample alias that let you type fff in FARR to launch firefox immediately.
Go to options > alias > alias/keywords/groups > myaliases.alias
Click add new
In the keyword/trigger field type firefox
Under Regular Expression Pattern, enter
In the results box, enter
[copy or print]
dolaunch C:\Program Files (x86)\Mozilla Firefox\firefox.exe

I find aliases that use repetition of a single key quick to type and easy to memorize. If you like me want this immediate launch only for a few programs/folders then it won't take much time to set it up.
10  Main Area and Open Discussion / General Software Discussion / Re: notepad2-mod: custom code folding for txt files? on: March 07, 2014, 05:38:27 AM
I'm late on the ball with a reply but here goes: by modifying the YAML syntax in notepad2-mod you can simply use tab indentation. Write a header line without indentation, press enter, press tab, start typing. There is the fold point for you. Notepad2-mod then autoindents to the same tab level on each enter. To end the fold just start a new line without indentation. This is very easy to do and remember and avoids cluttering the text with extra tags/code. Very usful for notes that that fit well in a nested format. Fold all to get a zoomed out view. Unfold for details.
11  DonationCoder.com Software / Find And Run Robot / Re: double keypress for hotkey on: March 04, 2014, 05:15:56 PM
Do you really want to spend as much as three keyboard presses each time you load FARR? I'd say it is useful enough to deserve a one press hotkey!  Grin But if you still want it a short Autohotkey script can be used to launch FARR with such custom hotkeys.

Doubletap:
[copy or print]
F4::
if (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
 send {pause}   ;the command that launches FARR
return
Tripletap:
[copy or print]
F5::
if (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
if triple = 1
send {pause} ;the command that launches FARR
else
 triple = 1
else
 triple = 0
return

If you want to use the Control key alone as a tripletap hotkey we better prevent holding down of the button for a longer time from triggering a lot of open and close actions in FARR. This seems to work.
[copy or print]
Control::
if (A_TimeSincePriorHotkey > 10) and (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
if triple = 1
send {pause} ;the command that launches FARR
else
 triple = 1
else
 triple = 0
return
12  DonationCoder.com Software / Find And Run Robot / Re: possible to re-attach 'options' to Alt-O? on: February 21, 2014, 05:06:10 AM
Go to options > hotkeys. Right click to add a new hotkey. Choose hotkey trigger, for example alt+O. In the "Text for Search Edit Box" field, enter this: gooptions

You can also make a shorter alias, which I find easier to remember compared to hotkey combinations. Create a new alias. Set the trigger text to "opt" and in the results box enter "dosearch gooptions". You can now type "opt" in FARR to immediately open the options.
13  DonationCoder.com Software / Screenshot Captor / Re: LATEST MiniCap VERSION INFO THREAD - v1.28.01 - Nov 29, 2013 on: December 09, 2013, 11:57:36 AM
No need. Because I can't reproduce the problem myself now. The culprit earlier was likely something else I had running at the same time. Will post back if it happens again.
14  DonationCoder.com Software / Screenshot Captor / Re: LATEST MiniCap VERSION INFO THREAD - v1.28.01 - Nov 29, 2013 on: December 05, 2013, 05:12:39 AM
Hi mouser. In v1.28 the red caption bar flickers quickly on my Win7 X64 system even when the mouse pointer does not move.
15  DonationCoder.com Software / Find And Run Robot / Re: Aliases calling aliases on: November 22, 2013, 06:19:27 PM
I think that frontslash may trip up runcap. The command works if you take the commands from the runcap alias and use them directly in a new alias:
[copy or print]
showmemo ;;;appcapappendmemo ipconfig /flushdns
16  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 20, 2013, 02:53:08 PM
Thanks kyrathaba!

v131120 new db format; works with pdf files with complex pagelabels (1,2,i,ii,iii,1.1,1.2,3,4,5...)

ewemoa: I found a workaround that doesn't need pdftk. The grid should now work with any file. If a page is earmarked that has a pagelabel other than a roman or arabic number s_e uses "pagecount" (the position of the page in the pdf file) in the grid for that pdf. This update breaks the database format in the .txt so all earmarks must be created anew manually.
17  DonationCoder.com Software / Find And Run Robot / Re: FARR V3 Discussion on: November 19, 2013, 10:41:51 AM
The powerful alias system is one of FARR's greatest features. Here are a few requests to ease use/setup of aliases:
1. Allow FARR searching while options windows are open. This makes testing easier.
2. Make myaliases.alias (i.e. the user custom alias group) default in the alias section of options
3. Inside myaliases.alias: add right click option to export/import an individual alias (same format as for export/import all, but only the string for the selected alias)
4. Inside myaliases.alias: in the export/import popup window: let ctrl+a select all text
5. Alias edit window: add an onmouseover popup for the results/command box header. The popup would summarize some more tips on commands and syntax from the helpfile

mouser: making all plugins python seems like a good move. Then help instructions and examples can be more unified. Besides, it is still possible to do "plugin like" things anyway using the aliases plus external scripts. For example, I have some aliases that trigger two commands in series: (1) first an autohotkey script that takes the FARR input as parameter, operates on it in various ways and then outputs a .html file and (2) the second command then displays said .html in the FARR window.
18  DonationCoder.com Software / Find And Run Robot / Re: FARR V3 Discussion on: November 17, 2013, 06:01:01 PM
It shouldn't be hard to make a plugin that will open the bookmarks file on demand (plain old json file) and display the bookmarks in FARR
Right, that would be cleaner. But an "unpacker" could have the advantage of easy searching of both bookmarks and regular files simultaneously. E.g. a regular FARR search for "football" displays football.url as well as football.txt, while a plugin that searches only bookmarks would only display the football bookmark and not the .txt.

... FARR v3, which I am strongly considering doing for NANY ...
Awesome! Thmbsup
19  DonationCoder.com Software / Find And Run Robot / Re: FARR V3 Discussion on: November 17, 2013, 03:15:09 AM
5. Read/launch Chrome Bookmarks (Chrome Portable version)
A script could give you that with the current FARR I think. Like my ffbookmarkunpacker but for Chrome.
The script would run on each computer boot and make all Chrome bookmarks made before that day searchable in FARR.
Steps needed in such a script: Loop parse the JSON file ...\GoogleChromePortable\Data\profile\Default\Bookmarks to extract each URL and page title into a .url file and save it to a named subfolder. There are libraries for parsing JSON in ahk and some of my ffbookmarkunpacker code could be reused. But I don't have time to do make it right now. You could post it in the N.A.N.Y. ideas thread and see if there are any takers.
20  DonationCoder.com Software / Find And Run Robot / Re: FARR V3 Discussion on: November 16, 2013, 11:37:49 AM
FARR is really great as it is. I can mostly think of some small tweaks here and there. But if forced to think of bigger ideas here are thoughts:
1. If FARR does add indexing then it would be useful to also make search results possible to detach into a separate window with column sorting (time created, filetype, filename, ...) where files can be bulk selected and operated on. Similar to how Everything works. Being able to add shortcuts to such "search views" could also be useful. The short cut would pop up a windows that show all files that match some (perhaps complex) FARR search formula.

2. Many new Windows 8 devices come with touchscreens. I'd like to continue to use FARR once I move to such devices, but I'm not sure what the fastest way to interact with FARR using touch input would be.
21  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 12, 2013, 09:54:07 AM
What I see with 131108 is:
i5
i7
 i (preceded by space?)

For each case, the grey area of the popup shows:
v i5
vii i7
1.1 i

This is as planned, except for the page numbered "1.1". s_e doesn't recognize that format. That pdf has page numbering in the following order: 1 2 i ii iii ... xiv 1.1 2.1 3 4 5 6 7 ... 229
I may tweak s_e to handle the 1.1 pages better. But the 1 and 2 at the start is a challenge.

Coding background: I've indexed pagenumbers with roman numerals as the numeral value minus 100. E.g. xii --> 7 - 100 = -93. That gets the ordering right for the next/prev jumps. Earmarks at i, xii, 2, 6, 12 would make up the index -99, -93, 2, 6, 12. So If I'm at page i (-99) and jump to next earmark s_e would correctly jump to xii (-93) which is the next item to the right in the index. I think I can index 1.1 as 0.1 and get the right ordering. But fitting the first 1 in that pdf into this way of doing things is trickier. A more general worry is that people may in practice use various different page naming schemes. A general fix would have to for each pdf first read *all* its page numbers to an index/array in order and, when the user earmarks a page, mark that page in the index. For that I'll first need to find a way to read all page numbers of any pdf using autohotkey.

edit: the pdftk command "dump_data" gives useful output. The relevant bit for faif-2.0.pdf :
[copy or print]
PageLabelNewIndex: 1
PageLabelStart: 1
PageLabelNumStyle: DecimalArabicNumerals
PageLabelNewIndex: 3
PageLabelStart: 1
PageLabelNumStyle: LowercaseRomanNumerals
PageLabelNewIndex: 17
PageLabelStart: 1
PageLabelNumStyle: DecimalArabicNumerals
But to work with this I'd have to recode much of s_e and add pdftk.exe as a dependancy. And I'm not sure if pdftk dump_data would work on all pdf files. And pdftk cannot handle djvu files. So I hesitate to go there.

I choose to translate the roman i ii iii ... xii into a made up format i1 i2 i3 ... i7 to avoid a lot of column spacing in the grid view if someone earmarks xxviiii.
22  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 09, 2013, 04:48:26 AM
Yes, there can be two mismatches I think:
1. page numbers in the pdf page margins (like on a physical book page) differs from the Sumatra toolbar page number edit box.
2. the Sumatra toolbar page number edit box page differs from the "count number" of the current page within the pdf file (first number in the parenthesis after the edit box in my screenshot below).

s_e uses whatever is in the toolbar edit box. The latest update handles earmarks for pages like this.
[attachimg=1]
The spec you linked also shows a special appendix page number format (A-1 ...). But I haven't seen that in any pdf file yet.
23  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 08, 2013, 01:18:52 PM
New update
v131108 handles roman numeral pagenumbers; clarified help window
Background: I came across some pdf files with roman numerals in the first few pages which tripped up the next/prev jumping. Fixed now.
24  DonationCoder.com Software / Find And Run Robot / Re: Multiple parameters to URL? on: November 03, 2013, 04:17:44 PM
Make a new alias called "car"
Under Regular Expression Pattern put
[copy or print]
^car (.*)$
and under results put
[copy or print]
car $$1|http://www.car.com/q=$$1
Then click Ok.

Type "car ford fusion:2007" in FARR to launch http://www.car.com/q=ford fusion:2007
Spaces isn't replaced with plus signs in the search but it may still work.
25  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 02, 2013, 10:40:05 AM
Yeah, that is a bit misleading in the help popup. Will update it for the next version. I've clarified on the download site and in the first post here.
Pages: [1] 2 3 4 5 6 ... 29 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.037s | Server load: 0.08 ]