topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday November 11, 2025, 1:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 14 15 16 17 18 [19] 20 21 22 23 24 ... 47next
451
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.
452
Find And Run Robot / Re: Caps Lock
« Last post by Nod5 on May 27, 2014, 10:17 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)
#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.autohotke...-for-autohotkey-v11/
453
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.
454
Thanks for suggestions, but none of them (PDFedit, A-pdf tools, pdfmagus tools). is the one I'm afraid. Any more ideas?
455
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.
456
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
^fff$
In the results box, enter
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.
457
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.
458
Find And Run Robot / Re: double keypress for hotkey
« Last post by Nod5 on March 04, 2014, 05:15 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!  ;D But if you still want it a short Autohotkey script can be used to launch FARR with such custom hotkeys.

Doubletap:
F4::
if (A_TimeSincePriorHotkey < 500) and (A_PriorHotkey == A_ThisHotkey)
 send {pause}   ;the command that launches FARR
return
Tripletap:
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.
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
459
Find And Run Robot / Re: possible to re-attach 'options' to Alt-O?
« Last post by Nod5 on February 21, 2014, 05:06 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.
460
Screenshot Captor / Re: LATEST MiniCap VERSION INFO THREAD - v1.28.01 - Nov 29, 2013
« Last post by Nod5 on December 09, 2013, 11:57 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.
461
Screenshot Captor / Re: LATEST MiniCap VERSION INFO THREAD - v1.28.01 - Nov 29, 2013
« Last post by Nod5 on December 05, 2013, 05:12 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.
462
Find And Run Robot / Re: Aliases calling aliases
« Last post by Nod5 on November 22, 2013, 06:19 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:
showmemo ;;;appcapappendmemo ipconfig /flushdns
463
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 20, 2013, 02:53 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.
464
Find And Run Robot / Re: FARR V3 Discussion
« Last post by Nod5 on November 19, 2013, 10:41 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.
465
Find And Run Robot / Re: FARR V3 Discussion
« Last post by Nod5 on November 17, 2013, 06: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:
466
Find And Run Robot / Re: FARR V3 Discussion
« Last post by Nod5 on November 17, 2013, 03:15 AM »
5. Read/launch Chrome Bookmarks (Chrome Portable version)
-Filipe Meira Castro (November 05, 2013, 02:08 PM)
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.
467
Find And Run Robot / Re: FARR V3 Discussion
« Last post by Nod5 on November 16, 2013, 11:37 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.
468
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 12, 2013, 09:54 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 :
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.
469
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 09, 2013, 04:48 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.
roman.png
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.
470
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 08, 2013, 01:18 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.
471
Find And Run Robot / Re: Multiple parameters to URL?
« Last post by Nod5 on November 03, 2013, 04:17 PM »
Make a new alias called "car"
Under Regular Expression Pattern put
^car (.*)$
and under results put
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.
472
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 02, 2013, 10:40 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.
473
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 02, 2013, 04:15 AM »
That is exactly as planned. I set the mouse commands to work only if there is at least one earmark and a grey/blue square visible to avoid accidental earmarking. I'm glad things are working now. Thank you for the troubleshooting!
474
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on November 01, 2013, 06:51 AM »
Aha! The click detection code didn't take bookmarks sidebar into account. Fixed in latest version.
475
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 31, 2013, 12:02 PM »
I changed the code that detects the rclick on the square. Test this:
[removed]
Pages: prev1 ... 14 15 16 17 18 [19] 20 21 22 23 24 ... 47next