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, 12:10 pm
  • 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 ... 15 16 17 18 19 [20] 21 22 23 24 25 ... 47next
476
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 31, 2013, 03:31 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?
477
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 30, 2013, 12:15 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!
478
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 29, 2013, 06:49 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.
479
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 29, 2013, 04:17 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!
480
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 28, 2013, 04:52 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.
481
General Software Discussion / Re: notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on October 27, 2013, 09:42 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.
482
General Software Discussion / Re: notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on October 27, 2013, 09:34 AM »
Shades, it feels like the modified syntax scheme doesn't always stick. But I just retried and restarted Notepad2 and then it worked.

One more thing in the YAML syntax to make use of: three hypens ( --- ) at the start of a line triggers the "Document" syntax for YAML, which can be used as a colored horizontal line separator.
483
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 27, 2013, 06:08 AM »
Hm, I wonder what the cause was. S_E saves each new bookmark to a .txt file database. It also tracks the pdf window position/title/pagenumber to overlay the bookmark correctly. I have never used autohotkey (or SumatraPDF) in Wine.
484
General Software Discussion / Re: notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on October 27, 2013, 04:14 AM »
Jackpot! Thank you 4wd. Folding works. I specified the comment syntax (everything after #) as bold headings and any word suffixed with : gets color background. edit: three hypens ( --- ) at the start of a line triggers the "Document" syntax for YAML, which can be used as a colored horizontal line separator.
n2.png   n.png

This is a very useful intermediate between "plain plaintext" and markdown.
http://www.codinghor...ure-of-markdown.html

edit: I also got curious on markdown text editors. Turns out there are lots of them. But I'll stick to the newfound notepad2 formatting for now.
485
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: SoloCrop
« Last post by Nod5 on October 26, 2013, 05:30 PM »
ewemoa: definitely not in SoloCrop.

I saw multiple rectangle detection and crop in a video about the new ScanSnap, here. But that likely only works with their hardware. But is that the kind of functionality you're thinking of?

A useful tool for making a program with something like that is OpenCV. See these examples (last example uses opencv in python and is only 30 lines of code, adding cropping would not not take much more). But to work reliably it would probably need to be tailor made for the type of input images (photos? rectangle sizes? colors?...). I'll leave that for someone else to N.A.N.Y. pledge I think :P
486
General Software Discussion / Re: notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on October 26, 2013, 04:36 PM »
Thanks for testing Shades. I'm leaning towards 1. the cloning idea.

dr_andus: I really want to stick to plaintext .txt files. They just work, on any platform. With space/tab indentation the notes would still be nicely readable everywhere, only with some additional fold/unfold commands when reading in Notepad2-mod or other texteditors with folding.
487
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: SoloCrop
« Last post by Nod5 on October 26, 2013, 04:29 PM »
Thanks tomos. This is meant as a "good at one thing only" tool, so no rotating I think.
488
N.A.N.Y. 2014 / N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 26, 2013, 04:11 PM »
Use sumatra_earmarks to earmark any pdf page in SumatraPDF

sumatra_earmarks.png
Features
sumatra_earmark lets you earmark any pdf page in SumatraPDF
Each earmarked pdf page displays a blue square in the top right corner
Quickly toggle earmarks on/off with mouse or keyboard
Quicky jump to next/prev earmark page
Earmarks are autosaved to a textfile
Any pdf with at least one earmark shows a grey square in top right corner
Handy popup grid for quick jump to a specific earmark
Unique earmarks for different pdf files (based on file name)
The pdf files are not edited

Commands
Win+CapsLock = toggle earmark on/off for open pdf page
Win+PgUp/PgDn = jump to prev/next earmarked page in open pdf
Rightclick on blue/grey earmark square = toggle earmark on/off for open pdf page
Ctrl+Rightclick on blue/grey earmark square = popup grid for quick earmark jump
To customize hotkeys see tray icon menu

Download and details
http://nod5.dcmember...umatra_earmarks.html

v131120 new db format; works with pdf files with complex pagelabels (1,2,i,ii,iii,1.1,1.2,3,4,5...)
v131108 handles roman numeral pagenumbers; clarified help window
v131101 fixed mouse click bug (thanks you ewemoa!)
v131029b easier hotkey customization
v131029 reworked grid code; show current page below grid
v131028: earmark positioned next to scrollbar; trayicon menu; customize hotkeys (see tray menu)
v131026: first version

Please try it and report any bugs or issues.

Things to fix, features to maybe add:
- to fix: resize grid so all digits fit on different screen resolutions and scroll bar widths
489
N.A.N.Y. 2014 / N.A.N.Y. 2014 Submission: SoloCrop
« Last post by Nod5 on October 26, 2013, 03:26 PM »
Use SoloCrop to quickly manually crop many jpeg images one by one.

solocrop1.png
1. Drag and drop a jpeg image
2. Click and draw a rectangle
3. SoloCrop crops when you release the mouse button
4. SoloCrop then autoloads the next jpeg in the same folder
The cropped image is saved with the prefix "solocrop_"

Download and details here
http://nod5.dcmembers.com/solocrop.html
Made in Autohotkey by nod5 as Free Software GPL3
Tested in Win7 x64. The zip contains binary and source.

v131026b: preview in color (was: grayscale)
v131026: first version

Features to maybe add:
- a "skip" button to skip some autoloaded images (thanks mouser)
- if multiple files are dropped, cycle through only them (and only them) one by one (thanks mouser)
490
General Software Discussion / Re: notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on October 26, 2013, 05:25 AM »
Notepad2-mod is open source so I could attemp to modify this in the source (add a clone of the python syntax scheme that I can then in the UI remove coloring for and link to .txt files only while keeping the .py scheme as is). But that would take a lot of work. So I'll first look into repurposing one of the above throught the UI only. So the key question right now is: does anyone here spot a language in the list above that you know uses tabs/spaces at the start of lines as a separator instead of braces? Besides Python. Yes, I can research them one by one. But I hope someone here will spare me that by spotting one in the list immediately.
491
General Software Discussion / notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on October 25, 2013, 04:41 PM »
I want to use the notepad2-mod code folding feature for note outlining. I would write notes using tabbed indentation to mark each sub level. Then use the code folding action to hide/show sub level text.

notepad2-mod presently does folding in tab indented python (.py) files. But I want it for .txt files and I want it without any text highlighting/coloring effects. Does any notepad2 user here think that is doable? Do you even have some idea on how to do it?

(Note: I searched but found no talk of this for notepad2. However, someone back in 2007 had the same idea for UltraEdit. )

Edit: view > Customize schemes... lists types of code files that notepad2 supports highlighting/folding for. I can simply remove .txt from "Default text" and add it under "Python". But then I also get all the other python highlighting for all txt files. I tried to export the schemes settings, copied and renamed the python section to a new name in the settings file and there removed all color highlighting. But that new section does not appear if I import the edited exported settings. I don't want to disable highlighting for all python files either because I have use for it there. Maybe there is some other code language that can be folded at tab or space indentations? Can anyone see one in this list:

list.png
493
General Software Discussion / Re: Idea: File note
« Last post by Nod5 on October 12, 2013, 02:31 PM »
Great to hear vietnam rum  :Thmbsup: I still use filenoter a lot myself and I'm glad to here that others keep finding use for it.
494
N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop
« Last post by Nod5 on August 25, 2013, 03:32 AM »
I'm glad it's of use. Crop 'til you drop! :D
495
Living Room / Re: My Gadget Idea: "Timestamper Disc"
« Last post by Nod5 on August 22, 2013, 04:12 PM »
Mouser's idea has some advantages over paper stickers. You get served a countup time directly and don't have to calculate it from the date+clock stamp written on the paper sticker. You can very quickly reset the counter. If the device had a small LED it could notify you when time is up.

496
Find And Run Robot / Re: Amazon conifguration
« Last post by Nod5 on August 22, 2013, 04:00 PM »
Mouser is right, I just tested amazon alias from core-shopping.alias and it works all right. I did test it quickly before posting the above custom alias and it seemed broken then but now realized that t he "enable this alias/group file" checkbox was unchecked for core-shopping.alias. Maybe that was the cause of the problem in your setup too 2b6a81918f ?
497
Living Room / Re: My Gadget Idea: "Timestamper Disc"
« Last post by Nod5 on August 19, 2013, 11:15 AM »
Since my last post I got to thinking of more and more things around the household that the standalone hardware devices would be perfect for. This could be the type of product that once you find one use for it you'll soon find more uses and come back and buy more.

An obvious advantage with the devices (over app based solutions) is that anyone in a household can read them without the need for all household members (or their guests) to have a smartphone.

I really like the idea and I hope this gets done!  :Thmbsup:
498
Living Room / Re: My Gadget Idea: "Timestamper Disc"
« Last post by Nod5 on August 19, 2013, 03:33 AM »
Come to think of it, I think I might be equally happy with a setup that only uses regular NFC tags together with a new android app. You'd put NFC tags on the things you want to monitor. Hold the phone next to the tag (and, depending on your phone setup, press some button) to trigger the app. The app itself would be similar to your the progress bars of life. When a timer runs out the progressbar turns red and (optionally) the user is notified (notification field, sound alarm, email, etc). Longpress a timer to reset it. Press a timer for setup (name, duration, alarm). Keep it minimal and show all timers on the same screen without a need to scroll around.

I can see the drawback with getting the phone out. But I think many people, especially younger ones, have their phones out more often than not so...  :)  Furthermore there is much tech buzz about "smart watches" soon to be launched. They'd interface with your phone and show notifications. I bet many such watches, once they're out, would have the capabilities to interface with the NFC tags. So in that scenario you'd move the arm/watch near the tag and press a watch button. Your phone in your pocket could then read the timer data out loud.

Anyway, I think enough people would be interested in all these alternatives. Hundreds of millions of people aren't going to get a smartphone anytime soon and I bet many of them would have use for small smart hardware timers.
499
Living Room / Re: My Gadget Idea: "Timestamper Disc"
« Last post by Nod5 on August 19, 2013, 03:17 AM »
Great idea! I would buy some of those devices.

I've looked for a good Android app to do something similar but haven't found a perfect one yet (all the ones I tried involved too many steps for the basic actions). A physical display at the location of the thing you want to keep time on is very practical!

An alarm feature would be very useful. You'd set up a time interval and once it runs out a small red LED would go on.

Re a possible fancier version: a NFC tag could also be used, since most newer smartphones are NFC capable and you wouldn't have to connect a usb cable to the little device.
500
Find And Run Robot / Re: FARR - Options to remove few elements on Launch window?
« Last post by Nod5 on August 16, 2013, 09:45 AM »
You edit skins using a tool called skin builder. See this thread https://www.donation...ex.php?topic=14454.0 The problem with old versions mentioned in a post there was later resolved by Mouser (FARR creator) so the tool should work. I don't remember the details of editing skins though. I just stick with slenderFARR.

The regex in my example triggers the alias if the search box contains only "cc". So it won't trigger unintentionally if I type "accelerate". The ^ means the start of the row and $ means the end of the row.
Pages: prev1 ... 15 16 17 18 19 [20] 21 22 23 24 25 ... 47next