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:31 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 ... 13 14 15 16 17 [18] 19 20 21 22 23 ... 47next
426
N.A.N.Y. 2013 / Re: N.A.N.Y 2013 Submission - BookCrop
« Last post by Nod5 on November 14, 2014, 01:35 PM »
2014-11-14: updated version with split batch job (left right) and rotation
427
Ah, didn't think to ask about that. Anyway, glad that it is working now.  :)
428
Where you have installed Everything does not matter.

The script only opens images with these extensions jpg,jpeg,tif,png,gif (to change that edit line 23) - maybe you selected some images with other extensions?

Save and try this troubleshooting version of the script. The only difference is that it displays a popup message test1 when you press F4 and when IrFanView has loaded the first image and you press windows+left/right it should display three popups (test 2, 3, 4).
Do you get all those four popups?
Does the test1 popup include all the paths to the images selected in Everything?
Does the test3 popup show a number?
Does the test4 popup show a file path to one of the images selected in Everything?
#NoEnv
SendMode Input
#SingleInstance force
 
GroupAdd,xwin,ahk_exe MaxView.exe
GroupAdd,xwin,ahk_exe i_view32.exe
GroupAdd,xwin,ahk_exe JPEGView.exe
 
#IfWinActive, ahk_class EVERYTHING
F4::
clipsaved := ClipboardAll  
clipboard =
send ^c
clipwait
x := clipboard
clipboard := clipsaved
clipsaved =
 
arr := {}
Loop, Parse, x, `n, `r
{
SplitPath, A_LoopField,,,xext
if xext in jpg,jpeg,tif,png,gif
arr.Insert(A_LoopField)
temp = %temp%`n%A_LoopField%
}
x = 0
msgbox test1:`n%temp%
gosub showfirst
return
#IfWinActive
 
#IfWinActive ahk_group xwin
#Right::
#Left::
showfirst:
msgbox test2
if (arr.MaxIndex()<1)or(x==arr.MaxIndex() and A_ThisHotkey=="#Right")or(x==1 and A_ThisHotkey=="#Left")
return
x += A_ThisHotkey == "#Left" ? -1 : 1
msgbox test3: number=%x%
do := arr[x]
msgbox test4: %do%
Run %do%
return
#IfWinActive
429
It has nothing to do with FARR. But obviously you need Everything. And one of the image viewers mentioned.
430
IrfanView
I tried it again with IrFanView (portable version) just now and it works all right on my end.

Could you have some other script with the hotkey windows+left/windows+right that overrides this one? You can troubleshoot that by temporarily replacing the two instances of the string "#Right" in the .ahk source with some more unusual hotkey like "^#+i" (control+shift+win+i) and save and test if that makes a difference.

Did you try the .exe version or the .ahk version? If .ahk version, do you have the latest version of Autohotkey installed?

Edit: if someone else is reading this and has tried it with IrFanView on their system and found it working (or not), chip in.
431
Yes I tried windows+right/windows+left - still does not work for me.
What image viewer are you using?
432
[removed, duplicate]
433
General Software Discussion / Re: Text editor with filtering of lines
« Last post by Nod5 on November 03, 2014, 06:42 PM »
Wow! Lines filtering based on keywords/phrase is a really useful feature.  :Thmbsup:

I already use the features line bookmarks and code folding in text editors. But lines filtering complements those other two features. I wish both line bookmarks and lines filtering were available everywhere - not just in text editors! In web browser, pdf readers, word processors and so on.
434
I for one am unable to get this script working.  It displays the first result image and then other non result images in the same folder.
It does not display the images found in other directories.
What image viewer are you trying the script with? Just to make sure, you are using windows+right/windows+left to move to display the next/previous of the selected images after the initial F4 press?
435
N.A.N.Y. 2014 / Re: N.A.N.Y. 2014 Submission: sumatra_earmarks
« Last post by Nod5 on October 25, 2014, 06:21 PM »
Chances are anyone who comes here and finds sumatra_earmarks usesful may also find my new sumatra_highlight_helper useful so that is why this sentence a few words back linked to it.
436
DC Member Programs and Projects / Sumatra Highlight Helper
« Last post by Nod5 on October 25, 2014, 11:23 AM »
sumatra_highlight_helper
Add, remove and jump between highlights in Sumatra PDF Prerelease version (needed for the highlight command)

Commands
H = Highlight selected text + autosaves it into pdfname.pdf.smx
Ctrl+H = Remove all highlighting on this pdf page
Hold CapsLock + move mouse = Remove all highlighting mouse moves over
Win+H = Toggle highlighting visible/hidden
Ctrl+Win+PgUp/PgDn = Jump to next/prev highlight page

Note
Sumatra Highlight Helper is really "feature request ware".
I hope the Sumatra PDF devs try and like the features and make them native.

Download and details: https://github.com/n...tra_highlight_helper
437
The problem when you are using windows in desktop mode with a touch interface, is basically the size of the touchable things.
Yes indeed!

Some suggestions:

1. tweak the high DPI scaling settings.
http://www.howtogeek...nd-fix-blurry-fonts/
http://www.howtogeek...indows-8.1-update-1/

2. Get Microsoft's Sysinternals application ZoomIt, set a hotkey for LiveZoom mode, make an autohotkey script to send that hotkey and finally make a shortcut to the script in the taskbar and on the desktop. Click the shortcut to toggle zoom on off. If you have any hardware buttons on the tablet (volume, lock mode, ...) that autohotkey can handle then consider triggering this toggle with them. It is easy to change volume in Win8 with touch through the charms bar anyway. Use this to zoom in and click on tiny things and then zoom back out. The autohotkey script could even be made to autozoom out after a few seconds to avoid having to click the shortcut again.
http://technet.micro...ysinternals/bb897434

3. The above works ok I think but what is really missing is customizable gestures that can be tied to autohotkey. With that we could do almost anything. For example a triple finger swipe could zoom in/out. I've seen no solution for autohotkey for that. There are some post in the ahkscript forums talking about it but no developers there appears to be working on it. There is GamePlay from Gestureworks, https://gameplay.ges...rks.com/how-it-works , that I haven't tried. But they do custom buttons and only for specific applications/games AFAICT. If a few always on top buttons could be made to do the same operations on all windows í.e. toogle zoom in/out then that would be almost as good as custom gestures. I think there would be huge demand for a tool that simply delivers a few global swipe gestures that can trigger whatever code one wants.

EDIT:
I'm very glad you started this thread superboyac as it got me googling some more. I found TouchMe Gesture Studio http://www.yasharbah...chme-gesture-studio/ (app in Win app store, free trial). It sets up global gesture hotkeys! Since it can make a gesture like three finger swipe send a keyboard sequence we can use it to trigger autohotkey hotkeys. Which means we can make gestures that do almost anything :) I'll try it some more and post back here if I run into any drawbacks.

EDIT2:
Ok, tried it some more and got to say: TouchMe is AWESOME! Microsoft should have paid the Minecraft money to the dev of this app instead :D
438
Living Room / Re: My cat needs your thoughts | RIP Saffron my dearest cat
« Last post by Nod5 on September 03, 2014, 06:52 AM »
I'm sorry Saffron and I'm sorry Mouser! I really like the photo with Saffron and the "aubergine cup" for some reason. Because it doesn't look like just any old cup, it stands out? Just like animals are not all alike. You know I've heard people (not here!) go into "it was just an animal" kind of thinking and talking when the worst happens. Downplaying the terribleness. It hurts me especially when parents try to console children that way. The animals people share life with are individuals with their own personalities and quirks and likes and dislikes.
439
Find And Run Robot / alias syntax: any way to pad with blank lines?
« Last post by Nod5 on August 23, 2014, 03:42 AM »
A very minor question/request: I have set FARR to display large icons and paths in the result list. Is there some alias syntax to, with the mentioned settings intact, pad the results list with blank lines? I've tried
| /all_white.ico
but that displays "/all_white.ico" as path. Putting only
|
on a line makes an icon appear.

440
Developer's Corner / Re: regular expressions 101
« Last post by Nod5 on August 21, 2014, 04:30 PM »
Nice find! Let me regexpress my gratitude to phitsc for posting about it.
441
Yeah Bittorrent Sync is great. Very simple to use compared to fiddling with a ftp server/client setup. And who knows maybe they have some solution to the question I posed. But it puzzles me that articles I've read on it doesn't ask about that, for example the MIT Review article "Sync Your Files without Trusting the Cloud".
442
Yeah, but how does the client know who to communicate your IP address to?
... like a torrent. There are trackers that know the locations of peers holding data. But they don't know what the content of the data is. And when the actual data of a message gets transferred, it's done peer-to-peer so there's no metadata passing through a central server where it can be easily intercepted. ... actual communication takes place directly between the parties themselves.
Are those trackers run by Bittorrent Inc?

BTW does the peer matching for Bittorrent Sync work the same way? Some write ups claim that Bittorrent Sync is more secure than Dropbox since the data isn't cloud stored. But if the client matching happens in the cloud a powerful agency could require the cloud operator to hand over the secret key and then use the key to access the Sync folder directly on the client. Likewise a malicious employee who previously would try to circumvent company security to access a client data item would now instead try to circumvent company security to get the client's secret key and with it get the data directly from the client. Bittorrent saves money on not having to host and transfer the data and client may see higher speeds. But is it in practice any more secure than Dropbox style services?
443
I actually try to tag all my saved photos. I use a custom ahk tool to tag many files quickly. I might release it as my N.A.N.Y. submission this year.

I don't use Picasa, IPTC is metadata (not in the file name) right? Do you have some way to first IPTC tag in Picasa and then convert those tags to filename tags?
444
Glad you like it. I should have added that this way of browsing/displaying images from many different folders is especially useful for those who do tagging in file names. Search Everything for ".jpg panda", all panda photos ever saved and tagged with panda in the name are listed, select all and run the hotkey to start browsing/displaying them all.
445
Everything now has support for File Lists. I haven't really tried that feature yet but from what I can grasp so far it could be used as a disc cataloger.
446
General Software Discussion / Re: Append audio to video - command line
« Last post by Nod5 on August 10, 2014, 04:40 PM »
Try this ffmpeg method:
ffmpeg -i video.mp4 -i audio.mp3 -map 0:v -map 1:a -codec copy -shortest out.mp4

Edit: Afterwards realized you wrote "append". If you by that meant "add an audio track to play in parallel with the video" then the ffmpeg code should work. But not if you meant concatenation (first video, then afterwards some audio).
447
The Everything Search Engine updated to version 1.3.4.686, after a steady stream of updates this summer.

As many here already know Everything very quickly searches through lots of file and folder names on NTFS hard drive. Great to instantly find that particular file you're looking for but forgot where you put. Together FARR and Everything make up a devastatingly dynamic file detection duo.  ;D

Let this be an open thread for tips, tricks, ideas and code for poweruse of Everything. I'll start.

1. In this post I showed how to quickly pass searches from FARR to Everything

2. I made an autohotkey script to quickly display and browse through all and only the images selected in Everything results, even when those images are from different folders.
Code: Autohotkey [Select]
  1.  
  2. GroupAdd,xwin,ahk_exe MaxView.exe
  3. GroupAdd,xwin,ahk_exe i_view32.exe
  4. GroupAdd,xwin,ahk_exe JPEGView.exe
  5.  
  6. #IfWinActive, ahk_class EVERYTHING
  7. F4::
  8. clipsaved := ClipboardAll  
  9. send ^c
  10. clipboard := clipsaved
  11. clipsaved =
  12.  
  13. arr := {}
  14. Loop, Parse, x, `n, `r
  15. {
  16. if xext in jpg,jpeg,tif,png,gif
  17.  arr.Insert(A_LoopField)
  18. }
  19. x = 0
  20. gosub showfirst
  21. return
  22.  
  23. #IfWinActive ahk_group xwin
  24. #Right::
  25. #Left::
  26. showfirst:
  27. if (arr.MaxIndex()<1)or(x==arr.MaxIndex() and A_ThisHotkey=="#Right")or(x==1 and A_ThisHotkey=="#Left")
  28.  return
  29. x += A_ThisHotkey == "#Left" ? -1 : 1
  30. do := arr[x]
  31. Run %do%
  32. return
If you have autohotkey installed you can run the attached .ahk file. Else run Everything_view_images.exe in the attached zip file (md5 hash c9bde6b19168c7c0593035b435b5c862 ). Next search with Everything and select some image files. Press F4. The first image will open in your default viewer. Next press win+right and win+left to display the next/previous of the selected images. The code should work if your default image viewer is MaxView or JPEGView or IrfanView and the viewer is set to "single instance" mode.
Want to change the hotkey? Edit line 10.
Want to try it with some other default viewer? Edit the filename on line 5 to that of your viewer's exe file.
Want to display the images in a non default viewer? Then also edit line 39 to something like
Run "C:\Program Files\IrFanView\i_view32.exe" "%do%"
but with the application path for the preferred viewer.

3. The same approach as above could be used to do other quick operations on Everything results. For example a script that does GREP searches on the content of all selected files using a tool like Silver Searcher and list all detected content snippets.
448
Find And Run Robot / Re: help searching recipes.docx from farr?
« Last post by Nod5 on July 12, 2014, 05:05 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.dcmember...ookmarkunpacker.html Maybe the general approach and some code bits can be reused if you like that method.
449
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.

quickpiczone.png

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
v141114: Drop multiple .tif to do them in order; Preprocessing mode: Drop .jpg folder to process all to .tif and .scantailor; Preprocessing mode: Drop single .jpg to calculate DPI
450
General Software Discussion / Re: Capslock
« Last post by Nod5 on May 28, 2014, 03:13 PM »
Nice improvement eleman! I didn't think of setting the volume.
Pages: prev1 ... 13 14 15 16 17 [18] 19 20 21 22 23 ... 47next