|
1
|
DonationCoder.com Software / Find And Run Robot / weird "no disk" error
|
on: February 12, 2010, 04:32:24 PM
|
|
I occasionally get an error upon my first typed letter in the FARR search box:
"FindAndRunRobot.exe - No Disk
There is no disk in the drive. Please insert a disk into drive \Device\Harddisk2\DR2"
...and I have to close the warning window 3-4 times before FARR will continue normally. It never happens when I'm using a FARR hotkey, just the plain 'ol break key.
Is there maybe a setting somewhere I've mistakenly turned on, or and alias I'm triggering that makes FARR think I'm trying to access a disk??
I'm on win7 if that matters...
thanks, Dave
|
|
|
|
|
6
|
DonationCoder.com Software / Coding Snacks / Re: structured plaintextfile based note taker
|
on: May 27, 2009, 12:01:22 PM
|
|
p.s. I haven't really touched this in a long time, but this got me thinking, it would be better to make it assume ".txt" if you omit the extension when you write it... like [projects] becomes "projects.txt". Right now, if you omit the extension it just asks what kind of program to use to open, but I can't get my computer to set a default application for files with no extensions. If I ever get around to doing that I'll post it again (but don't hold your breath - I'm no programmer)
|
|
|
|
|
7
|
DonationCoder.com Software / Coding Snacks / Re: structured plaintextfile based note taker
|
on: May 27, 2009, 11:55:55 AM
|
|
Okay, here 's what I got to work on its own. I had it in a bigger autohotkey script and had to tweak it a bit to get it to work on its own for some reason. I hope it works for you!! Let me know. If it doesn't, i'm not sure what to suggest other than I wonder if you have the latest autohotkey installed?
Dave
|
|
|
|
|
8
|
DonationCoder.com Software / Coding Snacks / Re: structured plaintextfile based note taker
|
on: May 25, 2009, 03:19:15 PM
|
|
It shouldn't have anything to do with that. Mine works on multiple computers in differently named folders. The only thing I can think of is to delete all the semicolons in front of the msgbox commands and see what they say and just tinker with it that way - that's how I got it to work in the first place. The only other thing is I could upload the file if that's an option here. Do you know how to do that?
|
|
|
|
|
9
|
DonationCoder.com Software / Coding Snacks / Re: structured plaintextfile based note taker
|
on: May 24, 2009, 12:07:00 AM
|
|
I took out some stuff I thought wasn't needed, maybe I took out something important by mistake Try this:
;right mouse double click---------autohotkey to launch simple filename (cursor should be on line ) ~RButton::
If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500) { ; msgbox double right clicked winactivate ;Sleep 500 ; wait for right-click menu, fine tune for your PC
send {esc}{Home}{Home}+{End} ;sleep 100
send ^c ;selects the entire line and copies it ClipWait, .40 ; wait for the script to catch up. winactivate sleep 100 send {home} linestring = %clipboard% sleep 500 ;msgbox linestring is %linestring% ;find the position of the character "[", call it leftmark bit1 = [ StringGetPos, leftmark, linestring, %bit1% leftmark := leftmark + 2 ;msgbox leftmark is %leftmark% ;find the position of the character "]", call it rightmark bit2 = ] StringGetPos, rightmark, linestring, %bit2% rightmark := rightmark + 1 ;msgbox rightmark is %rightmark%
;stringlength= %rightmark%-%leftmark% stringlength := rightmark - leftmark ;msgbox stringlength is %stringlength%
thefilename := SubStr(linestring, leftmark , stringlength)
;msgbox thefilename is %thefilename% IfExist, %thefilename% { run %thefilename% } IfNotExist, %thefilename% { MsgBox, 260,, the File "%thefilename%" does not exist. Create the file? IfMsgBox Yes { FileAppend, %thefilename%, %thefilename% SplashTextOn, 320, 100, file created Sleep, 400 SplashTextOff run %thefilename% } else Exit } } Return
that's exactly what I have that works. It has all the messagebox things I used trying to get it to work originally, but they're remarked out. FYI sometimes I get a clipboard error thing the first time where it thinks the filename is empty. In that case just cancel and it usually works the next time and after that. Maybe a real programmer might be able to come along and really tune it up. (that'd be nice) Anyway, I hope this works for you.
|
|
|
|
|
11
|
DonationCoder.com Software / Find And Run Robot / Re: how to specify searching only in two specific folders?
|
on: May 23, 2009, 10:58:09 AM
|
|
It works...
In case others have the same need, here's the autohotkey script that works
inputbox PatientName, patient name, enter patient's name,,,,0,500 clipboard = %PatientName% sleep 100 send {break} sleep 100 send {+}patients %PatientName% return
(it took a while to figure out how to send a "+" sign in autohotkey )
thanks again, Dave
|
|
|
|
|
12
|
DonationCoder.com Software / Coding Snacks / Re: structured plaintextfile based note taker
|
on: May 23, 2009, 10:27:12 AM
|
|
Hi, yes I know this is an old topic, but my 2 cents isn't worth a whole new one.
I just had to add this really low tech approach to the txt file note approach. You keep them all in one folder and refer to other notes (works with txt and rtf or whatever) and refer to other notes by using square brackets like this [projects.txt] as long as there's only one listed per line, then just have this script in a running autohotkey file from the same folder:
;right mouse double click---------autohotkey to launch simple filename (cursor should be on line ) ~RButton::
If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500) { winactivate ;Sleep 500 ; wait for right-click menu, fine tune for your PC send {esc}{Home}{Home}+{End} ;sleep 100
send ^c ;selects the entire line and copies it ClipWait, .40 ; wait for the script to catch up. winactivate sleep 100 send {home} linestring = %clipboard% sleep 500
;find the position of the character "[", call it leftmark bit1 = [ StringGetPos, leftmark, linestring, %bit1% leftmark := leftmark + 2
;find the position of the character "]", call it rightmark bit2 = ] StringGetPos, rightmark, linestring, %bit2% rightmark := rightmark + 1
stringlength := rightmark - leftmark
thefilename := SubStr(linestring, leftmark , stringlength)
IfExist, %thefilename% { run %thefilename% } IfNotExist, %thefilename% { MsgBox, 260,, the File "%thefilename%" does not exist. Create the file? IfMsgBox Yes { FileAppend, %thefilename%, %thefilename% SplashTextOn, 320, 100, file created Sleep, 400 SplashTextOff run %thefilename% } else Exit } } Return
you can even make a new file by just writing the filename in your current document inside the brackets, then right double-click and voila! there's your new file.
Sorry, no tree structure, and any of the parts of this that I wrote (I stole the right double click part from someone) are probably sloppy from a real programmers perspective, but maybe it'll be useful for someone.. :-)
|
|
|
|
|
14
|
DonationCoder.com Software / Find And Run Robot / Re: how to specify searching only in two specific folders?
|
on: May 22, 2009, 11:43:07 PM
|
|
Thanks, but if I did that wouldn't it limit my search to those two folders for every search? (I think that's what you're saying).
What I'd like to be able to do is a) search all folders when I put in any "regular" word, and b) also search //only// those two by adding some indicator in front of what I want to search. I may however be missing something that would be obvious to others (I don't have any actual programming knowledge).
Would you mind elaborating please? Thanks again, -Dave
|
|
|
|
|
15
|
DonationCoder.com Software / Find And Run Robot / how to specify searching only in two specific folders?
|
on: May 22, 2009, 06:13:35 PM
|
Hi, I found this topic that seems kind of related: http://www.donationcoder....m/index.php?topic=12996.0but I don't understand it. Is there a simple way to specify only to search a certain folder and one of its subfolders? I'm using FARR to search for patient files while patients are in the treatment rooms and can see what comes up, so in that senario I don't want all my little text files in different directories coming up, but I don't want to just screen out all txt files. I'm using an autohotkey input box to get the patient's name and then sending it to FARR that way. If I add "D:\Gaitscan\" (without quotes) in front of it, it'll find the one folder, and if I add another backslash it finds files in the subfolder but not the "parent" folder. I tried adding "--" like the thread above was talking about, but it didn't work. Is there a way to have FARR search this way? Thanks, Dave Parker
|
|
|
|
|
17
|
DonationCoder.com Software / Find And Run Robot / how to access FARR on VNC server?
|
on: November 12, 2008, 12:22:18 PM
|
|
I use VNC (RealVNC) a lot, and it would be nice to be able to access the FARR on the remote computer, but when I try it, it opens the FARR on my viewing computer. Is there any way around this?
thanks, Dave
I tried autohotkey on the other computer
!f1:: send {break}
(didn't work)
|
|
|
|
|
20
|
DonationCoder.com Software / FARR Plugins and Aliases / Re: todoTXT for dummies?
|
on: September 29, 2008, 11:57:01 AM
|
if you would like to I can try to rewrite it to "enter"
Thanks for the offer, but I was just wanting to know how to get it working at all. Since I posted that though, I've decided to do a similar GTD system using text filenames (autohotkey to open TEDNotepad (RE) set to suggest first line as filename, and allows linkable URLs) as my entries with tags for projects and contexts etc, (e.g. "`gr" for groceries, "`pr" for project etc) and then manage it all either with FARR searches on the fly, or using UltraExplorer which has filters that you can quickly check and uncheck. With Mobsync for PPC syncing and Syncplicity for multiple computers, and Tombo notes for ppc file viewing it all works out great. DP
|
|
|
|
|
21
|
DonationCoder.com Software / FARR Plugins and Aliases / todoTXT for dummies?
|
on: September 20, 2008, 12:49:49 PM
|
Hi, I've been trying to figure out this very promising plugin, but am not quite getting it... when I type in "td" the whole legend page comes up, but that's all that seems to work. If I type in "td ?," nothing happens. Actually I can't get anything (eg. "b, ") to seem to work on it. Is there a video of it in action somewhere, kind of like the Lifehacker/Gina Tripani (sp?) video of the todo.txt command line version? I think having the system run by FARR would be a much better way to go, but I'm not a programmer at all and can't seem to figure this out. Thanks, Dave plugin link: http://www.donationcoder....m/index.php?topic=13058.0
|
|
|
|
|
23
|
DonationCoder.com Software / Find And Run Robot / rename from FARR window
|
on: August 13, 2008, 12:11:57 PM
|
|
What's the best way to do this? When I right click an item and select "Shell Context menu", the "rename" item doesn't do anything. If I right click and select "Explore here", the folder is brought up but the individual file is not selected, which means I have to search for it all over again.
Is there something obvious I'm missing, or maybe a setting somewhere I have to change?
Thanks,
Dave P
|
|
|
|
|
25
|
DonationCoder.com Software / Find And Run Robot / Re: Tip: Htmlviewurl works for local files too! :)
|
on: July 04, 2008, 04:02:38 PM
|
cedardoc, you probably don't realize but one of the first things we did to demo the new html capabilities of FARR was integrate a tiddlywiki and a gtdwiki into FARR and it comes included with the latest FARR distribution  See: http://www.donationcoder....m/index.php?topic=13673.0So you shouldnt have to do anything but bring up farr and type: tiwiOr type: gwpYou're right (of course) - I actually found that in amongst the different alias groups shortly after my post ("D'oh!") 1. any answer / trick to get a TW to save? 2. Kartal says his fonts are too small, and when I do that gwp thing, my fonts are quite large... (FYI)
|
|
|
|
|