topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Saturday September 19, 2026, 3:47 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 ... 10 11 12 13 14 [15] 16 17 18 19 20 ... 47next
351
FARRCloneWithDatestamp is a FARR helper tool to make a datestamped copy of a currently selected file in Explorer. The copy is placed in the same folder.

Have you ever done ctrl+C ctrl+V on a file and then edited its name, perhaps added a datestamp in order to keep track of which copy is more recent than the others? Then this might just be a tool for you.  :)

Setup:
1 paste the code into a text editor and save as FARRCloneWithDatestamp.ahk and then compile it (you need http://ahkscript.org/ for that).
2 store the compiled FARRCloneWithDatestamp.exe in some folder
3 create a FARR alias like this

alias name:
clone
regex pattern:
^(clo|clon|clone)$
result box:
Clone selected with datestamp | C:\some\folder\FARRCloneWithDatestamp.exe %LASTHWND%

To use it open Explorer and select a file you want to create a clone of. Press your FARR hotkey, type "clo" and when the alias shows press enter.
Next to your "file.txt" you should now see "file -- 20151213092801.txt" .

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance force

x = %1%  ;hwnd parameter from FARR 

;FARRCloneWithDatestamp -- a helper tool for FARR
;what it does:
;focus the window that matches input parameter hwnd
;if explorer window: get selected files, parse first file
;make a copy of "file.ext" as
;"file -- [datestamp yyyymmddhhmmss].ext" in the same folder
;report status, exit

if x =
 exitapp
WinGetClass, xclass, ahk_id %x%
if xclass != CabinetWClass  ;exit if not Explorer win
 exitapp
WinActivate, ahk_id %x%,
ifwinNotactive, ahk_id %x%
 exitapp

clip := ClipBoardAll
clipboard =
send ^c   ;copy
clipwait, 2
if errorlevel != 0
 exitapp

Loop, Parse, clipboard, `n, `r
{
p := a_loopfield ;first file in selection
break
}
clipboard := clip ;restore

if InStr( FileExist(p), "D")
 exitapp
splitpath, p, pname,pdir,pext,pnoext
FileCopy, %p%, %pdir%\%pnoext% -- %A_now%.%pext%
if !Errorlevel
 tooltip, Clone %pdir%\%pnoext% -- %A_now%.%pext% created
else
 tooltip, ERROR. Failed to clone %pname%
sleep 2000
exitapp
352
General Software Discussion / Re: In search of ... Android-Windows task software
« Last post by Nod5 on December 13, 2015, 03:38 PM »
Google Calendar now also has new, enhanced Reminders features.



http://gmailblog.blo...google-calendar.html
353
General Software Discussion / Re: notepad2-mod: custom code folding for txt files?
« Last post by Nod5 on December 13, 2015, 02:57 PM »
Hi, the old steps still work for me

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
document: back:#DDDDFF

Now comment highligthing after hash (#) and colon (:) only works if the line does not start with a Tab.
IIRC it always was like that. But you can enable settings > Insert Tabs as Spaces and then #example will be styled even if tab indented.

Was it just my imagination or were three hyphens ( --- ) supposed to trigger a horizontal rule that stretched across the entire line or only until you kept adding hyphens (-------------), which is the current behaviour?

That is configurable. Change from
document: back:#DDDDFF
to
document: back:#DDDDFF; eolfilled
and the color will be to the end of the line filled
354
Find And Run Robot / FARR alias for multi threaded file download with aria2
« Last post by Nod5 on November 28, 2015, 01:06 PM »
aria2 is "a lightweight multi-protocol & multi-source command-line download utility". It can speed up download of large .iso files by using multiple threads.

Get and unzip aria2 and make a new alias in FARR with these settings

name:
dl

regular expression pattern:
^dl (.*)$

Results:
dl aria2 $$1 | C:\folder\aria2c.exe -x 15 -s 15 -k 3M -d C:\downloads "$$1"

Note: change C:\folder\ and C:\downloads\ to match the folders on your computer. You can tweak the number of threads to use (-x -s values) and split file size (-k value) to max out your internet speed. Details on aria2 man page.

To use it put a file URI on the clipboard, open FARR and type "dl " and paste the url. A command line window pops up and shows the download progress.
355
General Software Discussion / Re: Windows 10 Announced
« Last post by Nod5 on November 12, 2015, 01:12 PM »
Is there by now an easy way to upgrade from a computer with OEM win8 pro to a clean install (not upgrade on top of win8) of win10 pro? I.e. extract a key from my win8, put a win10 iso on a USB, format the harddrive and then clean install win10. Has anyone here done it? Did you run into any issues?
356
Everything version 1.4 was released a while back. One new feature is view modes, including image thumbnails! A custom hotkey can be set to toggle between the regular detailed file name list and a thumbnail mode.

My script in the first post still works with the new version. So it is now possible to first text search for some images based on filename, then browse and click select a number of them and finally use the my script to view and navigate between only those selected images in an image viewer. Pretty neat!
357
Living Room / Re: Dino Run - cool online retro style multiplayer game
« Last post by Nod5 on October 15, 2015, 07:47 AM »
Nice! :) Time flies. Or rather time rushes like a dinosaur chased by volcanic ashes. Anyway I'll take this for a spin.
358
N.A.N.Y. 2016 / Re: NANY 2016 Pledge - Popup Contactlist
« Last post by Nod5 on October 11, 2015, 12:01 PM »
Worth mentioning that there is already http://www.nirsoft.n...dress_book_view.html

But if some users want a super fast hotkey access for a phone list I bet many of them would also like to filter down what contacts to display by default so that is a niche your app can fill.
359
General Software Discussion / Re: So, what pdf reader app is your fav?
« Last post by Nod5 on September 17, 2015, 04:10 AM »
Since some here are coming around to Sumatra let me do a plug for my sumatra_highlight_helper tool. It is  really useful, if you ask me. :D
360
Hi TwinBee. While I prefer straight regex syntax (not the extra layer of non-regex custom symbols) I gotta say: color coding the non plaintext parts of the syntax makes a big difference. I wish every other GUI in the world that has a regex search and replace option implemented such color coding as a standard.  :Thmbsup:
361
Great that it worked out.

Just a reminder: remember that FFBookmarkUnpacker every time it runs first clears the output folder before unpacking all bookmarks from Firefox to it, so that the folder only contains the same bookmarks as Firefox has. So don't manually put any other files in that folder. (FFBookmarkUnpacker does check if there are any non .url files there and in that case doesn't clear the folder but instead gives an errormessage. But if a user has manually put .url files in the output folder then those will be cleared.)
362
Ok, I found the problem. Or several problems really. FFBookmarkUnpacker failed on nested subfolders, separator lines and in case a bookmark without a folder was first in the bookmarks.html file. A bit embarassing but in my defence I made it a long time ago mostly for my own use. Anyway, I fixed the issues and put up an updated version that should fix those problems, http://nod5.dcmember...ookmarkunpacker.html . Let me know if it works.

BTW you can now edit your previous posts above and remove the bookmarks.html snippets if you want to for privacy.
363
One more thing to check: there can't be any other files (non .url files) in the output directory. The script should give an error message if there is. But you might want to double check that.

For me to see if anything in the bookmarks.html syntax is causing the problem you will have to open bookmarks.html in Notepad or similar text editor. Copy a snippet of the code there and posts it using the
code formatting
364
I always feel i'm clicking far too much whenever i do anything with rss.  click the article, click to expand, click to launch in browser, click to close browser, click to go back, click click click.  it's like 3x too many clicks for everything.
Yeah, very true. Though on the desktop I try to streamline the RSS use like so: quickly browse through a bunch of feeds in one go, checking only titles lines (not content preview) and doubleclicking (I use RSSOwl) anything interesting to load it in an external browser in the background. Then close the RSS reader and starting reading in browser. There's still a fair number of clicks involved but not too much and in a way the dislike for clicking helps me be picky on what to read - good since the biggest trouble with RSS is that there is too darn much interesting stuff to read flowing in every day ;D
365
Good thread! Like you, superboyac, I miss the heydays of RSS. I still use RSS when possible but only a local RSS reader app on the desktop PC.

In addition I store .url files with tags locally. Still very useful when researching a topic since you can combine .url files (with tags in filename) with images, pdfs and any other file in a folder (with subfolders). Everything is easy to search with FARR/Everything/SilverSearcher too. But I have no really good system for syncing and using that with Android. Lately I've experimented with using a google docs document as "base" for a project, with pasted url links, notes and a related docs folder with other files.

I also use Pocket since it is so easy and quick to add to the pocket list from both PCs and from Chrome on android phones. But I dislike the pocket app/webapp and tend to use only the pocket addon in firefox in list mode and launch items from there into the browser for reading. I hate having to wait for the Android Pocket app to load and sync slowly because it downloads the content and nudges me to read stuff inside the app.

I'd love to see two things happen:
1. a tool that, like pocket, lets me add stuff very quickly to a synced list from any browser on any platform *and* lets me on any platform browse *only* a minimalist version of that list (page title and url, with word/date filtering) for quick launching into a browser.
2. A minimal websynced RSS reader that likewise *only* stores urls, page titles and dates (no content snippets, no images, etc) lets you star and delete items but apart from that only has one long list of items per feed. It should of course also runs on all platforms.

I think that many attempts at making webapp RSS managers or similar things have failed because they've tried to do too much.
366
Hi Contro. The paths can contain spaces, that is not the issue.

Are you sure you have the correct path to the profile folder?
My path has this format (the xi3je3ww.default part is the name of a folder not a file):
C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\xi3je3ww.default

Have you doublechecked that there is a file named bookmarks.html in the profile folder? (IIRC firefox writes to that file when the browser closes so you may have to close and restart Firefox in order for that file to appear.)

If there is a bookmarks.html in the profile folder then perhaps there is some language dependent variation in syntax that trips up the script. Could you post a small snippet from that file, a few lines that shows an url or two would be enough.

Another thing to check: perhaps there is a write permission issue. Test changing the output folder to something else e.g. C:\testfolder and see if that makes a difference.
367
Find And Run Robot / Re: Using alias action keywords
« Last post by Nod5 on August 25, 2015, 04:18 PM »
I am wondering is it possible to use alias action modifier keywords but to use the selected file's directory as an argument for the action, istead of the full filename?
Not sure, maybe there's no built in way to do that. How about this autohotkey workaround? Save as test.ahk and compile:
file = %1%
ifnotexist, %file%
 exitapp
SplitPath, file,, dir
if GetKeyState("Shift")
 Run, cmd.exe , %dir%
else
 Run, %1%

Then change the alias to run test.exe with the whole filepath as alias. If you hold down shift while pressing enter on a result for that alias in FARR the script should open a command window in the files folder, if not then it will execute the file. Note: I haven't tested it, but I think it'll work.
368
Given that you have a textfile with one URL per line then this autohotkey script should do the trick. Adjust the paths to what folders you'll use.
Loop, Read, C:\folder\textfilewithoneURLperline.txt
{
name := StrReplace(A_LoopReadLine,"http://","")
name := StrReplace(name,"https://","")
name := SubStr( RegExReplace(name, "[/<>\?\\:*\|]"," ") , 1, 70)
IniWrite, A_LoopReadLine, C:\urlfolder\%name%.url, InternetShortcut, URL
}

If you use Firefox then maybe FFBookmarkUnpack may be of use to do a one time unpack of all your firefox bookmarks into subfolders with .url files, http://nod5.dcmember...ookmarkunpacker.html
369
The targetting of developers is scary. I can imagine some attackers being able to do a worm-like cascade of attacks by stealing and then exploiting developer logins and get the malware on more sites. If a developers computer gets infected that means that any code on their computer could also be infected.

I had Firefox set to notify on updates (not autoinstall) on one computer and the update notification popup is really a bit too low key for serious cases like this. Maybe shift to big red flashing letters? :D
370
Living Room / Re: Whole Room Watercooling
« Last post by Nod5 on July 31, 2015, 05:31 PM »
Yeah. That or buy an air conditioner. :P
Heh yeah. Though to be fair a 7 part video project series named "Just get an AC and some extension cables and be done with it" might be less fun to watch on Youtube.  :D
371
General Software Discussion / Re: Windows 10 Announced
« Last post by Nod5 on July 31, 2015, 05:26 PM »
Curt, hang in there man! :) OS upgrades are always extra tough when the user has a lot of customizations and extra apps installed.

Two useful articles on privacy settings for those about to take the jump to 10.
http://www.ghacks.ne...dows-10-and-privacy/
http://www.howtogeek...0s-privacy-settings/

I think I'll wait a bit myself and read what issues people run into and work around.

Can anyone who has upgraded tell if these applications work well in 10: FARR, Everything and Autohotkey scripts (e.g. any issues with UAC or anything like that?).
372
Living Room / Re: Whole Room Watercooling
« Last post by Nod5 on July 30, 2015, 05:37 AM »
Well I hope they had a lot of fun with that project!  :) Fun aside, It would probably be more easier and less costly to move the computers to another room/basement that can be better ventilated and then connect extension cables (or wireless adapters) to monitors/mice/keyboards in the original room.
373
Find And Run Robot / Re: help searching word.rtf from farr?
« Last post by Nod5 on July 29, 2015, 05:37 PM »
icemanmelb, the command line tool Silver Searcher (windows port of Ag) can search for strings inside a lot of files quickly.

You can make a FARR alias that searches with Silver Searcher and displays the result in FARR.
Make a new alias. Put this in the regex box
ag (.*)
and put this in the results box (edit the paths to match the folders on your computer)
ag.exe $$1 | showmemo . ;;; appcapappendmemo "C:\path\to\ag.exe" $$1 C:\path\to\dropboxfolder

This uses the memo view and clears the view for each new search.
374
Find And Run Robot / Re: some aliases I like to share
« Last post by Nod5 on July 06, 2015, 05:40 AM »
for hibernation
zzzz  (anywhere in the farr searchfield)
;D Like it!
375
Find And Run Robot / Re: INDEX/CACHE vs REALTIME
« Last post by Nod5 on June 23, 2015, 12:31 PM »
I type "ev" then a phrase; I see the first few results from Everything, embedded in FARR. I then type space space and the phrase (but not "ev") is opened in the main Everything window.
Hi ayryq, I think the Everything plugin would need to be modified to handle that. Once the "ev" has triggered the plugin an alias cannot jump in and override that AFAIK. It looks like the coders of those plugins hasn't posted here since 2010/2009 so they may be abandoned but you can make a post in either of those threads or try to PM them, maybe they have email alert for new posts there activated.

Mouser: this question gave me an idea though: imagine there was a command similar to "dolaunch showfilehtml" but which instead parsed an input textfile file and made one FARR result list item for each line in the file. Then it might be possible to make an alias that first runs the Everything ev.exe command line tool with a search phrase from FARR, outputs the result to a list.txt file, and then finally does (the not yet existing command) "dolaunch showfilelist list.txt". But maybe the detour with a .txt file would make that too slow to be useful? Anyway, such a "showfilelist" command would make it easy to display custom lists of launchable paths from other tools in FARR.
Pages: prev1 ... 10 11 12 13 14 [15] 16 17 18 19 20 ... 47next