topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday May 9, 2025, 8: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 ... 28 29 30 31 32 [33] 34 35 36 37 38 ... 47next
801
Find And Run Robot / Re: #filecontents FILEPATH -- how does it work?
« Last post by Nod5 on March 03, 2009, 03:33 PM »
Ok, got it now. Then it can't do what I was most hoping for. That is combine the results from the .txt (placed first in the results) AND the results from a FARR search (placed last).

I can see the use of it for other purposes though. But I'm not sure how it makes alias sharing easier... Before, you only needed to do an export and the copy+paste that. With #filecontents you both need to export and copy+paste AND copy the external .txt file.
802
Find And Run Robot / Re: #filecontents FILEPATH -- how does it work?
« Last post by Nod5 on March 03, 2009, 10:06 AM »
huh?  :huh:
803
great, let me know if I can help troubleshoot it.
804
Find And Run Robot / Re: #filecontents FILEPATH -- how does it work?
« Last post by Nod5 on March 03, 2009, 03:42 AM »
Aha, ok now I got it working.
Example: 1000>>>aoao>->test | #filecontents C:\test\a.txt
(and in a.txt put a filepath as a string )

It does not seem to work in companion with other alias specials:
1000>>>photo>->photo $$1 | dosearch +photo_modifier $$1 #filecontents C:\test\a.txt>+>^photo (.*)
Maybe it isn't supposed to work in such cases. But it would be cool if it did. I.e. if we got the results from the file at top and below it any and all matches from the search.
805
The v2.48.01 changelog said EmbeddedWebBrowser was updated which sounded relevant to this and so made me test this again, but the problem remains.

I should add that the error messages are not exactly like above. When I use FARR to access a flash based webpage that after a while tries to autoclose then FARR closes after this chain of error messages (in order from top to bottom):
aa.png
806
Find And Run Robot / #filecontents FILEPATH -- how does it work?
« Last post by Nod5 on March 02, 2009, 05:14 PM »
the new FARR 2.48.01 has added this:

#filecontents FILEPATH (can use %ALIASDIR%), to have the contents of the file dumped into the alias results when searching.

My first though that the FILEPATH should point to a textfile (e.g. C:\test\test.txt ) that includes paths to other files. Each such included path is then listed as a result in FARR when the alias runs. But that did not work when I tested it. So what exactly does it do?  :tellme: An example of an exported alias using this would be useful here.
807
Finished Programs / Re: AudioBookSleep
« Last post by Nod5 on February 27, 2009, 12:05 PM »
AudioBookSleep v090227
http://nod5.dcmember.../audiobooksleep.html

overview:
AudioBookSleep waits X minutes, saves a screenshot of VLC to desktop, then shuts down the computer.
The VLC screenshot shows the filename and time just before shutdown.
That makes it easier to next time continue from where you dozed off.

use case:
You listen to audiobooks at night but often fall asleep. You then awake hours later (at 3:23 AM) from the laptop light and audiobook sound. You dislike having to go up and turn it off manually. And now you're unsure at what point in the book you fell asleep. Even worse, when you woke up you heard some part from later chapters that gives away the plot! You wish for some automatic screenshot-then-shutdown timer. So you start to use AudioBookSleep.

audiobooksleep.png
808
Finished Programs / Re: AudioBookSleep
« Last post by Nod5 on February 26, 2009, 04:50 PM »
 ;D I pass the buck to the Autohotkey devs. Clearly they need to add some more commands. After that we could just run this:
Loop
{
Sleep, 1000
IfExist Brain
 var := A_BrainState
if var = sleep
 Shutdown, 9
}
:D
809
Finished Programs / AudioBookSleep
« Last post by Nod5 on February 26, 2009, 03:57 PM »
Here is a small autohotkey program that I made because I needed it. I'll package it up more nicely some other time. Instead of a timer it would of course be cooler with some brain-sensor hardware device so that shutdown can occur right after you fall asleep  8). But this works pretty well too  :). Any suggestions on improving it? (Feel free to add code.)

;-- AudioBookSleep v090226
;-- by Nod5
;-- description: the program waits X minutes, then saves a screenshot of the VLC window to the desktop, then shuts down the computer
;-- The VLC screenshot shows the filename and time just before shutdown and makes it easier to next time continue from where you dozed off.
;--
;-- use case: you listen to audiobooks at night but often fall asleep.
;-- You then awake hours later (at 3:23 AM) from the laptop light and audiobook sound.
;-- You dislike having to go up and turn it off manually. And now you're unsure at what point in the book you fell asleep.
;-- Even worse, when you woke up you heard some part from latter chapters that gives away the plot!
;-- You wish for some automatic screenshot-then-shutdown timer.
;-- So you start to use AudioBookSleep
;--
;-- note: for screencaps you need minicap.exe by Mouser -- https://www.donationcoder.com/Software/Mouser/MiniCap/

InputBox, xvar, sleep timer, Set time in minutes until computer shutdown, ,350,150,,,,,30
if errorlevel = 1
 exitapp
if errorlevel = 2
 exitapp

ifexist %A_ProgramFiles%\minicap\minicap.exe
 xpath = %A_ProgramFiles%\minicap\minicap.exe
else ifexist %A_scriptdir%\minicap.exe
  xpath = %A_ProgramFiles%\minicap\minicap.exe

if xvar != test
{
if xvar is not integer
 exitapp
xvar := xvar * 60000
sleep, %xvar%
}

IfWinExist, ahk_class QWidget ;-- screencap VLC window
{
WinActivate, ahk_class QWidget
WinWaitActive, ahk_class QWidget
sleep 500
if xpath !=
 run %A_ProgramFiles%\minicap\minicap.exe -captureactivewin -save "%A_Desktop%\sleep.jpg" -exit
}
if xvar != test
 Shutdown, 9

edit: corrected the default time in the code to 30 minutes
810
General Software Discussion / Re: What's your mouse of choice?
« Last post by Nod5 on February 22, 2009, 02:33 PM »
Logitech's VX Nano also the free scrolling wheel. It has a tiny USB receiver, is light and is comfortable to use. The main drawback is that middle mouse clicking is a real hassle. The free scrolling wheel can middle click but it takes much more force to click and it is VERY easy to unintentionally both middle click AND scroll up/down. If you use middle clicks a lot then the mouse becomes almost unusable in that scroll wheel mode. I don't use it as my primary mouse. It is perfect as a laptop mouse when travelling though. I hope they find a way to re-engineer the free wheel so that regular middle clicks work. An simple hack would be to move the search button from behind the wheel to right in front of it. It is currently placed to far from the fingers natural resting place. It puts a lot of strain on the fingers to often reach back and use that button for middle clicks (I tried it for a few days). And the side buttons are not so good for that either (tried that too; middle clicks are best done with a button in the middle of the mouse)
4126_1_0.jpg
http://www.logitech....es/3271&cl=US,EN
811
Finished Programs / Re: ExtDesk: control the primary desktop from the extended desktop
« Last post by Nod5 on February 21, 2009, 01:20 PM »
v090221: tray icon doubleclick also moves windows to primary
812
Living Room / Re: eBook readers
« Last post by Nod5 on February 17, 2009, 03:38 PM »
If there's truth behind the buzz then small laptops wih Pixel Qi screens might be hot contenders for the ebook reader throne come this summer:
http://www.liliputin...ens-this-spring.html
813
Post New Requests Here / Re: IDEA: autooglefriend AHK script
« Last post by Nod5 on February 16, 2009, 05:41 PM »
Not as automated as you wished for but this should work wherever copy and paste works.
F7::
Send ^c  ;copy selected text
clipwait
StringReplace, clipboard, clipboard, %A_space%, +, ALL
clipboard = http://www.lmgtfy.com/?q=%clipboard%
return
- select text
- press hotkey (change F7 to whatever)
- select input box
- ctrl+v
814
Living Room / Re: DonationCoder.com - Complaints, Problems, and Rooms for Improvement
« Last post by Nod5 on February 12, 2009, 01:39 AM »
In many of the thread listings, specific to a user (such as the "new replies to your posts"), it would be nice to have an additional column with the number of new posts.
good idea!

Another thought: on the "new replies to your posts" page maybe an additional condensed list of the N last threads that you yourself have posted to could be added at the bottom of that page. Because when logging in to check replies it can also pretty often be useful to quickly jump back to a thread one recently posted with no new replies now (perhaps you read replies earlier but didn't have time to post and now want to do so, or you want to edit what you've posted).

So what I am suggesting is that a list like that from the "Recent posts of: ___[user]____" page, but in the same compact format as the alternative "recent posts" page: https://www.donation...p?action=recentdense
815
FARR Plugins and Aliases / Re: Everything plugin for FARR
« Last post by Nod5 on February 11, 2009, 03:08 PM »
Is there some easy way to make the plugin not display the match list but instead pass it to another plugin? I'm specifically thinking if it would be possible to make a better implementation of what I was previously aiming at with the half-finished album displayer plugin ( https://www.donation....php?topic=13955.msg ).

Parts needed:
- users enters "[alias] [searchphrase]"
- Everything plugin searches [some specific folder(s)] for any subfolders that match [searchphrase] and includes a folder.jpg file.
(the [some specific folder(s)] needs to be set by the user somehow)
- Everything plugin returns matches, feeds them to another plugin
- second plugin outputs a htmlview mode grid with folder.jpg thumbnails similar to album displayer's output (above)
816
Living Room / Re: DonationCoder.com - Complaints, Problems, and Rooms for Improvement
« Last post by Nod5 on February 11, 2009, 02:45 PM »
another small forum quirk concerning the big, "standard" reply buttons: let the first item in the "code highlighting" dropdown be "-- insert code --" and let it work just like the "insert code" button in the quick reply box, i.e. enclose the selected text in [ code ] tags but without any language highlighting. Alternatively, add a separate "insert code" button for the standard reply interface.
817
General Software Discussion / Re: 'Everything' is one FAST file search engine
« Last post by Nod5 on February 11, 2009, 02:19 PM »
Here is an AHK script for replacing the current folder search in Explorer (CTRL+F). Why? Because I often use small Explorer windows and the default search sidebar the takes up almost the entire window so using Everything is quicker compared to resizing the explorer window.
;-- EverythingExplorer ---
;-- replace explorer CTRL+F active folder search with Everything
;-- AHK script by nod5 -- http://nod5.dcmembers.com/
#IfWinActive, ahk_class ExploreWClass
^F::
#IfWinActive, ahk_class CabinetWClass
^F::
WinGet, xid, ID, A
ControlGetText,xpath, Edit1, ahk_id %xid%
run, %A_ProgramFiles%\Everything\Everything.exe -search "%xpath%\ "
return
A problem though: when the path includes spaces, the above does not work. I need to pass a quoted path to Everything. I tried
""%xpath%\" "
and
"""%xpath%\"" "
and
"^"%xpath%\^" "
but that didn't work. Any ideas on how to get it to work?
edit: once the path issue is sorted a similar script could be made to do the searches through FARR via the FARR everything plugin.

edit2:
temporary workaround, with barely noticeable delay:
;-- EverythingExplorer ---
;-- replace explorer CTRL+F active folder search with Everything
;-- AHK script by nod5 -- http://nod5.dcmembers.com/
#IfWinActive, ahk_class ExploreWClass
^F::
#IfWinActive, ahk_class CabinetWClass
^F::
WinGet, xid, ID, A
ControlGetText,xpath, Edit1, ahk_id %xid%
;run, %A_ProgramFiles%\Everything\Everything.exe -search "%xpath%\ "
run, %A_ProgramFiles%\Everything\Everything.exe
WinWaitActive, ahk_class EVERYTHING
ControlSetText,Edit1,"%xpath%"%A_Space%, ahk_class EVERYTHING
ControlSend,Edit1,{End},ahk_class EVERYTHING
return
818
Find And Run Robot / Re: [idea] hotkey toggles alias "lock"
« Last post by Nod5 on February 08, 2009, 03:45 PM »
Thanks mouser for reminding about ctrl+backspace. I should switch to that from ctrl+shift+left to select then backspace, which does the same but in more steps.

I can't get ctrl+enter to work though ( see https://www.donation...ex.php?topic=12973.0 ). Ctrl+[a number] works fine.
819
FARR Plugins and Aliases / Re: New FARR plugin : FFTab allow to switch firefox tab
« Last post by Nod5 on February 08, 2009, 07:18 AM »
Ok I suspected that.

I've previously read about ways to access the bookmarks database file externally but a problem then was that that the database file was locked when firefox was running. With the mozrepl the problem is reversed. But if a FARR plugin or other script combined the methods (if FF is running, use mozrepl, else use the other methods) then there could be an external FF bookmark manager that works regardless if FF is running or not.
820
Post New Requests Here / Re: Audio output device manager
« Last post by Nod5 on February 08, 2009, 07:08 AM »
I have been trawling the interweb for a while now to find exactly this kind of fix, I thought I should at the very least say this works on my XP SP2 system and I'm going to attempt the same thing on Windows 7 Build 7000, just for kicks.
Hi and welcome to DC!  :) Great that it works. Let us know how it goes with W7.
821
FARR Plugins and Aliases / Re: New FARR plugin : FFTab allow to switch firefox tab
« Last post by Nod5 on February 07, 2009, 06:05 PM »
Sounds great. :Thmbsup: Will try it tomorrow. For this we need FF running of course. But in general, is it possible for mozrepl to interact with FF files (I'm specifically thinking of the bookmarks database file) even when FF is closed?
822
Find And Run Robot / [idea] hotkey toggles alias "lock"
« Last post by Nod5 on February 07, 2009, 01:18 PM »
the idea: For some (but not most) searches it would be good if FARR could "lock" an alias and go into "don't hide after executing a match"-mode.

Example: I create the alias "mp3" to search only some music folders so that "mp3 artistname" returns matches from just those folders. After typing "mp3" I press a hotkey and FARR toggles to alias lock mode. Executing a match or pressing Esc in that mode only clears the text after "mp3 " from the input box and does not minimize FARR. After some more searches I press the hotkey to toggle back to standard mode.

That would be very useful when doing a number of consecutive searches using one and the same alias. For example, when using FARR to find different music tracks to add to a playlist, searching for different images to copy, and so on.

The lock mode could be indicated by changing input box background color. Or by changing the alias font color. Toggling back returns the colors to normal.

Typing "mp3" a few times extra is no big problem of course. But the suggested mode would speed things up even more. Does anyone else think this would be useful?

(extra idea: custom launch actions (i.e. custom action for FARR to do when pressing Enter or doubleclicking a match) has been discussed before. If we had that then it would be similarly useful if temporary custom launch actions could also be toggled like that. Example: when again search for tracks to add to a playlist, I somehow toggle to choose among some (preconfigured) actions ("add item to playlist in player X", "copy to external device F:\" and so on). Then just like the folder restricting alias this launch mode stays active until toggled off.)
823
FARR Plugins and Aliases / Re: Everything plugin for FARR
« Last post by Nod5 on February 04, 2009, 12:06 PM »
anishpat,
We'd better wait and see what Vrokolos says. But my guess is no. BTW, Everything seems pretty light on system resources.
824
General Software Discussion / Re: The New (And Improved?) VLC
« Last post by Nod5 on February 03, 2009, 07:40 AM »
it is a new bug in the sense that there seems to be no way to set VLC (latest version) to always display the fullscreen on the same display as the player window currently is (from my quick test of the options above just now). Or did I miss something?
825
General Software Discussion / Re: The New (And Improved?) VLC
« Last post by Nod5 on February 02, 2009, 02:04 PM »
is it possible to make vlc play full-screen video on secondary display? i couldn't find any info on this.
This is a new bug in the latest version. It works in older versions and posts in the videolan forum say that it'll be fixed in v1.0. So if you need it then just revert to an older version temporarily.
Pages: prev1 ... 28 29 30 31 32 [33] 34 35 36 37 38 ... 47next