Welcome Guest.   Make a donation to an author on the site April 18, 2014, 11:48:01 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  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.
2  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
3  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.
4  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.
5  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.
6  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
7  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.
8  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.
9  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
10  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.
11  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.
12  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.
13  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.
14  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.
15  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.
16  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.
17  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 02, 2013, 04:15:57 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!
18  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: November 01, 2013, 06:51:18 AM
Aha! The click detection code didn't take bookmarks sidebar into account. Fixed in latest version.
19  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: October 31, 2013, 12:02:51 PM
I changed the code that detects the rclick on the square. Test this:
[removed]
20  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: October 31, 2013, 03:31:03 AM
Thanks. I think the issue is in the code making adjustments if a vertical scrollbar is present. Is the gray/blue square positioned over or to the left of the scrollbar? If to the left of the scrollbar, try doing a ctrl+right click the scrollbar up button instead. Does that cause the grid to display?
21  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: October 30, 2013, 12:15:33 PM
I've tested version 131029b on A Windows 7 Home computer and also in Windows 8 in Virtualbox and all commands worked. I tested using the latest Sumatra version 2.4. Maybe the bug only appears on earlier Sumatra versions?

If there is at least one earmark then the grey square is shown all the time. But you're right that a user may want to only see what and how many earmarks they have. However once the "click bug" is killed ctrl+rclick will do that for all users.

Here is version 131029b but with F4 added as a hotkey to open the grid, for testing:
[removed]

I should add that I hesitate to add more things to the grid. First, the grid was an afterthought, my primary aim was/is something like the temporary line bookmarks in text editors like notepad++ and notepad2. Sumatra already supports bookmarks (embedded in the pdf files) and user set favorites (through the menu bar, saved by Sumatra). So I won't add e.g. naming of earmarks. The main goal is to let users jump between a modifiable set of pages much quicker compared to the multi step procedure of the favorites in Sumatra.

Time to say this also: I appreciate the feedback!
22  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: October 29, 2013, 06:49:11 PM
- I have no clue why neither the ctrl+rclick nor rclick commands works on your system. I see no problem in the code. I hope someone with a non-virtualbox Windows jumps in and test runs it too. That way we'll see if the issues are virtualbox-specific.
- a grid hotkey wouldn't be of use since the grid will need a mouse click to jump to an earmark anyway (no way to key navigate with the grid construction I've used).
- Simply restarting S_E takes about as many/few clicks as clicking one more extra tray command. So I'll keep it as is.
23  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: October 29, 2013, 04:17:41 PM
v131029 reworked grid code; show current page below grid
v131029b easier hotkey customization

ewemoa: I reworked the grid code. Does the grid look on your system like in the (new) example image on the download page?
edit: clicking customize hotkeys in tray menu now autogenerates the .ini and opens it with instructions and example included.

kyrathaba: thanks!
24  DonationCoder.com Software / N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks on: October 28, 2013, 04:52:03 PM
Thanks for the feedback.

v131028: earmark positioned next to scrollbar; trayicon menu; customize hotkeys (see tray menu)

To fix: resize grid so all digits fit on different screen resolutions and scroll bar widths.

Not sure how yet. The grid is a listview control that I've fudged together. I need to resize it more exact or generate the grid some other way. Any ideas on how to best make a clickable grid resized to fit a variable array of data in autohotkey?
Was there a scrollbar in the popup where some digits where cut off? A screenshot would help.
25  Main Area and Open Discussion / General Software Discussion / Re: notepad2-mod: custom code folding for txt files? on: October 27, 2013, 09:42:05 AM
dr_andus: the changes are easy to do manually.

First click view > customize schemes...

Then in the popup window:
- Default text > associated filename editbox: remove txt
- YAML > associated filename editbox: add txt
- YAML >
comment: change to: bold; fore:#0A246A
identifier: change to: bold; fore:#0A246A;back:#D7D7FF
error: clear the style editbox

I think that is it. There are some settings left but I haven't seen them get triggered accidentally in any textfile so far. The popup has dialogs for quickly changing any color and there is a list of possible variables to use.
Pages: [1] 2 3 4 5 6 ... 29 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.032s | Server load: 0.11 ]