Welcome Guest.   Make a donation to an author on the site August 01, 2014, 11:01:33 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Free DonationCoder.com Member Kit: Submit Request.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1] 2 3 Next
1  DonationCoder.com Software / Find And Run Robot / Re: hotkey to launch google search in a new firefox tab on: July 25, 2014, 05:05:30 PM
Thanks a ton IaianB!

Riding on your script from Mouser, I made an ahk script to find Firefox, create a new tab, and open the search results:

;Control+Alt+h
^!h::
InputBox, UserInput, Search Text
if ErrorLevel
    return
IfWinExist, ahk_class MozillaWindowClass
{
   WinActivate, ahk_class MozillaWindowClass
  Sleep, 100
  Send, {CTRLDOWN}t{CTRLUP}
  Sleep, 100
  Run, http://www.google.com/search?hl=en&q=`%22%UserInput%`%22
}
return
2  DonationCoder.com Software / Find And Run Robot / hotkey to launch google search in a new firefox tab on: July 23, 2014, 06:40:44 AM
Sorry I can't quite get my head around a way to do this from farr.

I currently have a farr hotkey defined with the "Text for Search Edit Box" set to "search\s".  And "search" is defined as an alias with about 15 results, the first of which is a google search.  So when I use the hotkey I type my search text into farr and hit enter, which opens my browser (firefox) with the google results.

I have firefox set to open links like this in the current tab, which is what I prefer most of the time.  But there are times I'd basically like farr to open a new tab in ff and then open the google results there (effectively opening my results in a new tab, but without changing that preference in firefox).

I found 'sendkeys' in farr, but can't get my head around getting farr to switch from whatever app I start in, over to Firefox, then send the keys to open a tab, then go back to farr and run the 'search' alias.

Thanks for any help!
3  DonationCoder.com Software / Find And Run Robot / Re: help searching recipes.docx from farr? on: July 12, 2014, 06:36:22 PM
Firstly, Mouser is clearly one of the greatest individuals of all time!  I hope it is known to anyone or anything that ever lives with Mouser that he is never to be hassled with thing like sock pickup, dish cleaning, or anything else at that level.

I was wrong about being able to open a MS-Word document scrolled to a particular bookmark.  I could only get it to work from hyperlinks inside Word documents, not from arbitrary/html url's outside Word.  "file:///recipes.docx#bookmark_name" opens the file, but ignores the bookmark.  Many fruitless hours of forum scanning behind this conclusion despite this dated KB article: http://support.microsoft.com/kb/310520.

Ultimately, I wrote a script to take the name of a bookmark on the command-line.  It opens recipes.docx scrolled to that bookmark.  RecipeOpen.vbs:

Option Explicit

Dim objWord
Dim currentDocument

set objWord = CreateObject("Word.Application")
objWord.DisplayAlerts = 0
objWord.visible = true
objWord.Documents.Open "c:\!projects\recipes.docx", false, False '(path, confirmconversions, readonly)

If WScript.Arguments.Count = 1 Then
set currentDocument = objWord.Documents(1)
   currentDocument.Bookmarks(WScript.Arguments.Item(0)).Select 'bookmark to bottom of screen
   objWord.ActiveWindow.LargeScroll 1 'scroll down 1 frame
   objWord.ActiveWindow.SmallScroll -3 'scroll back a few lines (bookmark to top of screen)
Else
   MsgBox "No bookmark name passed to RecipeOpen.vbs"
End If

objWord.Application.Activate 'move focus to ms-word ;(

Second script RecipeBookmarks.vbs scans my recipes.docx file for bookmarks and creates RecipeBookmarks.txt just as Mouser described above.  Each line contains: search text | url, such as "Top Drawer Seafood  Chowder  | c:\!Projects\RecipeOpen.vbs link20".  Got to remember to run this guy whenever I add a new recipe to the docx file.

Option Explicit

Dim objWord
Dim currentDocument
Dim bmk
Dim fs
Dim f

Set objWord = CreateObject("Word.Application")
objWord.DisplayAlerts = 0
objWord.Documents.Open "c:\!projects\recipes.docx", false, True '(path, confirmconversions, readonly)
Set currentDocument = objWord.Documents(1)

Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.CreateTextFile("c:\!Projects\RecipeBookmarks.txt", True)

For Each bmk In currentDocument.Range.Bookmarks 'replace trims newlines
    f.WriteLine(Replace(bmk.Range.Text, vbCr, "") & " | c:\!Projects\RecipeOpen.vbs " & bmk.Name)
Next

currentDocument.SaveAs "c:\temp\recipes.htm", 8
currentDocument.Close
Set currentDocument = Nothing
objWord.Quit
Set objWord = Nothing
f.Close
Set f = Nothing

Lastly, inside FARR > Options > Aliases/Keywords/Groups I opened myaliases.alias and created a new Alias with the Trigger/Keyword set to "recipes" and the Result(s) set to "recipes | #filecontents C:\!Projects\RecipeBookmarks.txt".

Works like a charm!  Mouser for president!!

Thanks for all the great tools and support!
4  DonationCoder.com Software / Find And Run Robot / help searching recipes.docx from farr? on: July 11, 2014, 02:11:48 PM
I have a bunch of cooking recipes stored in a Microsoft Word document.  Each recipe has a title in bold and underlined, followed by plain text with the ingredients and instructions.  Ideally, I'd like to be able to search the recipes from FARR.  Maybe type something like "recipes chicken" into FARR and have the recipes that have "chicken" in their title show up in the results list.  When you select a recipe from the results list in FARR, it opens the ms-word doc to that page/recipe.  (Search by ingredients would be cool too, but feels pretty steep)

I are a good programmer and can write scripts, apps, vba macros, .... and the like.

The only thing I've found so far on the ms-word side is the ability to create a url that will open a document to a particular bookmark in that document.  Not a bad start, I can easily go through the doc and make each recipe title it's own bookmark.  But how to feed something like the list of bookmarks to FARR results?

Thanks for any suggestions, however tangential!
5  DonationCoder.com Software / Find And Run Robot / possible to re-attach 'options' to Alt-O? on: February 20, 2014, 10:16:57 AM
I see in the forum that Alt-O got unwired from the 'options' panel due to an external conflict.  I know how to add hotkeys, but don't know how to tell it to open the farr options panel.  Is it possible?

Thanks-
6  DonationCoder.com Software / Find And Run Robot / lost control panel items in top results on: February 19, 2014, 07:14:10 AM
Hello-

Items in the control panel ("Add or Remove Programs" and the like) used to come up as I typed, but somewhere along the line they stopped. ;(

Under 'options' and aliases I have 'cpanel' checked, and I do see the control panel items when I type 'cpanel' (and hit 'Enter'), but they used to come up directly (as I was typing 'add or rem....').

After opening the file cpanel.alias I created a shortcut called 'AddOrRemovePrograms' and pointed it to %windir%\system32\control.exe with all the params copied from cpanel.alias.  If I put the shortcut in one of my folders, *that* works, but maybe a better way?

Thanks for any help.  Running Win XP Pro if that makes a diff.
7  Main Area and Open Discussion / General Software Discussion / Re: recommend an app to snapshot & restore a folder? (like version control?) on: August 14, 2013, 07:40:26 AM
Thanks a million for all the contribs!!  Got File Hamster taking snapshots all day, and easy to restore earlier versions.

Thanks all around!
8  DonationCoder.com Software / Screenshot Captor / Re: one click "to clipboard" on popup choice dialog? on: August 07, 2013, 11:33:03 PM
Perfect!  So sorry I didn't find it on my own Mouser.

Stay on top!
9  DonationCoder.com Software / Screenshot Captor / one click "to clipboard" on popup choice dialog? on: August 07, 2013, 10:32:03 PM
Somewhere in an update I lost a button on the "Popup Choice Dialog" that used to copy the image to the clipboard.  Now I have a button that says "To clipboard:" that opens a second set of buttons where I select Image, Path, or File.

It's small, but is there a way to get the single button back?  Or have "To clipboard" copy the image to the clipboard, without requiring the second click on the second set of buttons?

Many apologies if I've missed this, or caused it inadvertently.

Thanks a million for the great app!!
10  Main Area and Open Discussion / General Software Discussion / Re: recommend an app to snapshot & restore a folder? (like version control?) on: August 07, 2013, 07:08:06 PM
It's my "front burner" folder, just a random collection of junk I"m working on in some capacity.  Documents, code, pics, some exe's, etc..  The files do change, so I'm looking for a backup/archiving app that takes and save snapshots so I can restore a file back to what it looked like, say, 3 days ago.  Or maybe restore another file that's been deleted.

Sorry if it's not making sense.  I know there's backup utilities out there, I just haven't had any experience with them and don't know of one that would save periodically, or whenever files change, without intervention.

Thanks!
11  Main Area and Open Discussion / General Software Discussion / recommend an app to snapshot & restore a folder? (like version control?) on: August 07, 2013, 07:03:03 AM
Hey All-

Can anyone recommend a lightweight app that can watch one of my folders for changes to the files or sub folders and give me a restore/undo so I can backup to a previous version(s)?  Not sure what to call it, and hoping for something minimal (little to no learning curve).  I thought of writing a script to just snapshot periodically with WinZip or 7Z, but figured there's probably something a little more integrated out there.

Thanks for any suggests-
12  DonationCoder.com Software / Find And Run Robot / Re: farr forgetting last window position on: July 23, 2012, 10:20:19 AM
Sorry I couldn't find it.  Thank you for the fix!
13  DonationCoder.com Software / Find And Run Robot / farr forgetting last window position on: July 23, 2012, 10:12:46 AM
Out of the blue, farr no longer remembering it's last position.  The ini has the correct coordinates in MainLeft and MainTop (which is up at the top of the screen), but FARR keeps opening in the middle of the screen (even after I move it to the top where I want it).

Thanks for any help.  Apologies if this is in the options, or the forum, but I couldn't find it in either place.

14  DonationCoder.com Software / Find And Run Robot / Re: help debugging startup, loss of czb package "tm" (timer) on: February 28, 2012, 08:46:28 AM
Solved.  Thank a ton Mouser.  There were are rack of variables in there for Timer.  I deleted them all, exited, reloaded, and have no error messages and the timer is working again.  Bummer of a time sink, but so happy to be back on the bus!

Peace!
15  DonationCoder.com Software / Find And Run Robot / Re: help debugging startup, loss of czb package "tm" (timer) on: February 24, 2012, 08:40:30 AM
Yes, still getting the error.  I did find the UserVars section, but nothing in there related to Timer.  This is the only line:

UserVars=[Common]>n>//put user defined variables here>n>Var=Value
16  DonationCoder.com Software / Find And Run Robot / Re: help debugging startup, loss of czb package "tm" (timer) on: February 22, 2012, 08:42:49 AM
No luck yet, but thankful for the suggestions.  I restored an older FARR.ini, and hunted for (but couldn't find) user variables associated with Timer (at the bottom of FARR.ini).
17  DonationCoder.com Software / Find And Run Robot / help debugging startup, loss of czb package "tm" (timer) on: February 21, 2012, 10:06:55 AM
FARR did some updates yesterday, I am now running v 2.104.02, but when FARR launches I get an error "while loading C:\Program Files" (error shown below).  Most of FARR seems to be running, but I have lost the timer feature.  When I "Click to examine and configure plugins", the "CZB Pack" does not show up in that first list, but when I click "Check for plugin updates", it shows CZB_Pack v.0.24 and says it is installed and up to date.  I downloaded the CZB_Pack and unzipped it into the plugin folder, but no affect on the startup or loss of "tm".

I did find "pluginlog.txt" and there's an "Error initializing plugin do_init function" for FarrFox that's been logging regularly since August of 2011, but FARRFox is working.

Thanks for any help or suggestions.  Also interested in disabling the automatic updates.

18  DonationCoder.com Software / Screenshot Captor / Re: possible to miminize "New Screenshot" window? on: August 19, 2010, 07:21:58 PM
Yes, just the regular minimize (to the task bar, then restore brings it back to work on as with other apps).

For the window to go away completely, I just close it or hit <esc>.
19  DonationCoder.com Software / Screenshot Captor / Re: possible to miminize "New Screenshot" window? on: August 19, 2010, 03:08:54 PM
Yes, the post-capture dialog.  I like it, and sometimes wish I could minimize it but the minimize icon is greyed out.
20  DonationCoder.com Software / Screenshot Captor / possible to miminize "New Screenshot" window? on: August 19, 2010, 12:36:57 PM
Is there a way to minimize the window that says, "You have captured a new screenshot, what now?" (the minimize icon is greyed up in the title bar).

If not, any chance that could be allowed in the future?

Thanks for any help. 
21  DonationCoder.com Software / Screenshot Captor / Re: how to remove (or move) "older" folder? on: July 11, 2010, 09:29:55 PM
Bomb!  Thanks a lot Mouser!
22  DonationCoder.com Software / Screenshot Captor / how to remove (or move) "older" folder? on: July 11, 2010, 06:27:00 PM
If I leave SCC open too long, it creates a folder named "OLDER" on my desktop (my preferred location for file saves).

Is there a way to get it to not do this?

I do not mind loosing anything it would ever save it there.

Thanks for any help-
23  DonationCoder.com Software / DcUpdater / Re: Crash on XP Pro SP3 on: June 04, 2010, 06:09:43 AM
I can run it manually without error, but I get the same "Application Error" popup every morning from when it runs overnight.  My DC apps are all in pretty good shape, so uninstalling the updater for a while.
24  DonationCoder.com Software / FARR Plugins and Aliases / Re: New FARR Plugin: FCalc on: March 15, 2010, 07:24:38 AM
I want to use '='  to open fcalc so I entered this to "Regular Expression (custom override)":
^=(.*)$|^=$

It opens fcalc just fine, but when I hit enter fcalc disappears and the command line gets replaced with 'fc'.  So I tried using this regex instead:

^=(.*)$|^=$|^fc (.*)$|^fc$
... which keeps fcalc opened, but it stops functioning (or at least stops reacting to me entering more expressions).

Thanks for any suggests-
25  DonationCoder.com Software / Screenshot Captor / Re: can't change Save As default file type on: February 11, 2010, 02:01:44 PM
That would solve it Mouser, thanks for the help!

I take it the setting I changed is for the internal format, not for the file save?

You're The Bomb Mouser.  I use FARR dozens of times per day and every time I am just a little happier than I was right before I launched it! Wink
Pages: [1] 2 3 Next
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.265s | Server load: 0.18 ]