topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday April 19, 2024, 4:26 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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ottenm [ switch to compact view ]

Pages: prev1 [2] 3 4next
26
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!

27
Find And Run Robot / Re: help searching recipes.docx from farr?
« on: July 12, 2014, 06:36 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!

28
Find And Run Robot / help searching recipes.docx from farr?
« on: July 11, 2014, 02:11 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!

29
Find And Run Robot / possible to re-attach 'options' to Alt-O?
« on: February 20, 2014, 10:16 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-

30
Find And Run Robot / lost control panel items in top results
« on: February 19, 2014, 07:14 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.

31
Thanks a million for all the contribs!!  Got File Hamster taking snapshots all day, and easy to restore earlier versions.

Thanks all around!

32
Perfect!  So sorry I didn't find it on my own Mouser.

Stay on top!

33
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!!

34
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!

35
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-

36
Find And Run Robot / Re: farr forgetting last window position
« on: July 23, 2012, 10:20 AM »
Sorry I couldn't find it.  Thank you for the fix!

37
Find And Run Robot / farr forgetting last window position
« on: July 23, 2012, 10:12 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.


38
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!

39
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

40
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).

41
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.


42
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>.

43
Yes, the post-capture dialog.  I like it, and sometimes wish I could minimize it but the minimize icon is greyed out.

44
Screenshot Captor / possible to miminize "New Screenshot" window?
« on: August 19, 2010, 12:36 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. 

45
Screenshot Captor / Re: how to remove (or move) "older" folder?
« on: July 11, 2010, 09:29 PM »
Bomb!  Thanks a lot Mouser!

46
Screenshot Captor / how to remove (or move) "older" folder?
« on: July 11, 2010, 06:27 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-

47
DcUpdater / Re: Crash on XP Pro SP3
« on: June 04, 2010, 06:09 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.

48
FARR Plugins and Aliases / Re: New FARR Plugin: FCalc
« on: March 15, 2010, 07:24 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-

49
Screenshot Captor / Re: can't change Save As default file type
« on: February 11, 2010, 02:01 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! ;)

50
Screenshot Captor / can't change Save As default file type
« on: February 11, 2010, 01:54 PM »
I'm looking for a way to change the default file type used in the "Save As" dialog.

In the Screenshot Captor Options, under "Image File Format" I set the default image file format to JPG.  But when I capture an image and select "Save Image As", the dialog that says "Save Copy of Image As..." is always set to BMP.

Thanks for any help.  Sorry I couldn't find it on my own.

Mike

Pages: prev1 [2] 3 4next