avatar image

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

Login with username, password and session length
  • Monday June 5, 2023, 1:05 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 - rulfzid [ switch to compact view ]

Pages: [1]
New version up 2.56.02 -- just an attempt to fix the #filecontents and other %aliasdir% problems introduced by last version.
would appreciate hearing if it solves the problem for you rulfzid.

Sorry for the delayed response - i've been working my ass off at, well, work.  :(

With the new version, #filecontents and %ALIASDIR% seem to work perfectly.  :)

Thanks for the super-quick fix.

The "#filecontents" command seems to have stopped working for me. Anybody else experiencing this?

Holy cow this works great.. Beautiful!!!
I realize that the plugin is just a very thin wrapper over the google website interface, but its still damn cool.  :up:

Thanks! Initially I was a little hesitant to post it, seeing how simple it was, but I find it so incredibly useful to be able to have such a clean todolist interface operated from FARR that I decided to go ahead.

Also, I updated the FScript.dll in the first post to be the updated one that ewemoa linked to.

FARR Plugins and Aliases / An Extremely Simple Gmail Tasks Plugin
« on: March 28, 2009, 02:49 PM »
So I just discovered the Gmail Tasks app and have fallen in love. I know, I know, there's the Remember The Milk plugin, which is fantastic, but I wanted something simpler, and Gmail Tasks is perfect.

Initially, I set up an alias to send me there, but I hated having to press "Enter" to select the result that launched the htmlview, so I poked around, discovered the FScript plugin, and made a very simple plugin. Enjoy!


Find And Run Robot / Re: last window id
« on: March 23, 2009, 03:33 AM »
As promised, here is the update, including the editor, and compatibility with a bunch more programs.

It now supports Windows Explorer, 7-zip, WinRAR, FileZilla, ACDSee Classic, XnView, xplorer^2, Directory Opus, MS Office 2007 dialogs, and console windows.

Included is the alias "fafedit", which will allow you to easily edit your favorite folders list.

Additionally, I've updated the FarrFolders.exe so that it handles command-line arguments correctly. AHK has a problem with command line arguments that end in a slash, so I've gone with a windows api method that handles those correctly, if double quoted. It will now handle the quoting for you.

Anyway, enjoy, and let me know if there are any problems.

Find And Run Robot / Re: last window id
« on: March 18, 2009, 09:57 PM »
Excellent add-on  :Thmbsup:

BTW, I'm not finding root drives to work mostly (e.g. C: nor C:\) -- though it seems to work by accident(?) for cmd.exe.  Any one else experience this?

As far as specific situations where I had problems is concerned:

  • the save as dialog in notepad
  • working with windows explorer windows

Which windows version are you on?

And part of that seems to be the trailing "\", which, as per mouser's suggestion above, I'm going to automatically remove.

I'll be posting an update soon - real busy with work, but I'm hoping to finish adding what I want to in the next day or two.

Find And Run Robot / Re: last window id
« on: March 18, 2009, 04:19 PM »
i'm happy to make the custom file explorer available as a %variable% so you can pass it on commandline if you like.

That would be fantastic. :)

Find And Run Robot / Re: last window id
« on: March 18, 2009, 12:53 PM »
Would be nice with user variable 'FileManager=[customfilemanager]' so it'll open a dir in a user's favourite file manager if no Open Dialog is... open. Even better would be if it could read FARR's setting for custom file explorer, but I don't know if that's possible.

Otherwise this could be on it's way to becoming a favourite (no pun intended) of mine!

Great idea. And it looks like FARR stores the custom file managers info in the FindAndRunRobot.ini file, so I could just read it from there. I'll update this pack soon.

Find And Run Robot / Re: last window id
« on: March 17, 2009, 06:59 PM »
Wow, great idea. I think I am gonna love this extension, thanks.

I've tweaked it a bit to support Directory Opus and Office 2007 dialogs.

Awesome! I'll be sure to include your changes as I do more stuff to/with this.

Find And Run Robot / Re: last window id
« on: March 17, 2009, 12:50 PM »
Awesome, I didn't know about #filecontents, and it's exactly what I needed. I can now implement some of the fun bells and whistles that I wasn't quite sure I was going to be able to do.

I have another question, concerning your creation of another alias. If the regex for 'faf' were modified to "faf (.*)", does that mean that if I type "faf <somecommand>" that it will still launch the first result when I hit enter?

Basically, I'm thinking about adding some commands to faf and then just having the FarrFolders script parse the commands. Just trying to figure out the best way to do that.

Find And Run Robot / Re: last window id
« on: March 17, 2009, 02:57 AM »
I hope I'm not stepping on any toes, but I had already come up with a solution, borrowing heavily from the Favorite Folders AHK script (which so many have come to know and love). I basically ripped off the meat of the script and passed it a couple of command-line arguments from FARR. I also tweaked it a tiny bit so that it works in Vista and 7.

You'll find 4 files in the zipped up alias pack:
  • FarrFolders.ahk
  • FarrFolders.alias
  • FarrFolders.exe
  • FarrFolders.ico

The AHK script is there in case anybody would like to tweak anything/view source. The alias itself uses the exe for ease of passing command-line parameters.

Basically, unzip the files into your AliasGroups/MyCustom folder. The alias itself is set to "faf", because i find that quick and easy to type and because "ff" kept showing "Microsoft Office" results for me.

Type "faf" into FARR, and you should see the three example folders. If the last window open is an explorer window, command console, or open file dialog, the script will navigate you to the selected folder in that window. If not, it will open a new explorer window.

To add more folders, simply edit the alias from within FARR (or directly in the FarrFolders.alias file). You'll see 3 examples already included:
  • Desktop | %ALIASDIR%\FarrFolders.exe %LASTHWND% %MYDESKTOP%
  • Program Files | %ALIASDIR%\FarrFolders.exe %LASTHWND% %PROGRAMFILES%
  • My Documents| %ALIASDIR%\FarrFolders.exe %LASTHWND% %MYDOCUMENTS%

As you can see, these take the form of:

<folder_name> | %ALIASDIR%\FarrFolders.exe %LASTHWND% <folder_path>

where <folder_name> is the name of the folder as you'd like it to appear in your results and <folder_path> is the full path to the folder, which can (and should) utilize the FARR virtual folder names as much as possible. Leave the rest of the line the same, obv.

mouser, I was thinking about creating a "faf" alias command to edit the list, but it seems as though if I edit the alias file externally, the list doesn't automatically update the next time I type the alias. I could get it to do so if I manually opened up the "edit alias" box and closed it again, but not otherwise. Is there a way to get it to automatically rescan the alias file and refresh the results list? I'd like to add this functionality.

Till then, enjoy! This alias has already become indispensable to me - I hope it proves useful to others.

Developer's Corner / Re: autohotkey arrays
« on: December 12, 2008, 12:31 AM »
I'm always fighting with them can you tell me what's the easiest way to maintain a list of strings, add a listitem, remove a listitem, return a listitem? For example I'd like to keep a list of hidden window titles and then unhide one and remove it from the list. Autohotkey makes it really hard, I usually build a concatenated string and split them into an array but then when i want to return a value but am not sure where its position is it's near impossible.

Any ideas?

I know this thread is a bit old, but here are a couple of threads you could take a look at from the AHK forums:


Also, for your initial problem, I'd first recommend working with window handles instead of window titles, but either way, you could use the native AHK string commands, which are pretty fast:

hiddenwindowlist = window 1,window 2,window 3,window 4,

MsgBox, % "The current list: " hiddenwindowlist

unhide( "window 3", hiddenwindowlist)

MsgBox, % "The new list: " hiddenwindowlist

unhide( wintitle_to_unhide, ByRef wlist )
    If wintitle_to_unhide in %wlist%                            ; is wintitle_to_unhide in our list?
        MsgBox, % "Unhiding " wintitle_to_unhide                ; then show the window
        StringReplace, wlist, wlist, %wintitle_to_unhide%`,     ; and remove it from the list

N.A.N.Y. 2009 / Re: NANY 2009 Intro
« on: December 09, 2008, 02:20 PM »
2Perry Mowbray

I'm definitely in. Consider this my pledge.  :)


I think the idea is interesting, but I see a couple of problems:

First, I think result lists would get out of hand too fast, and crippling the number of results would cripple the usefulness of the tool. Consider the regex "(.*?)\(" or even just "[a-z]{2}", which would yield 26^2 results.

Additionally I think that such tool would be better for learning Regular Expressions than many other "regexp helper" tools. Currently for testing your expressions you have to have text file with already written content. That way you have to write each possible combination by yourself and then - check does expression match. Getting that in opposite way would be lot better even if crippled a little bit.
-fenixproductions (December 09, 2008, 04:53 AM)

Given the regular expressions are a tool for searching (finding patterns in strings), it makes sense to me that you test your regexes against currently existing content (in other words, a filtering tool is supposed to be different from a generative tool). And tools like: allow you to see the result lists updated on the fly in the text, so I personally find those more valuable.

I'm kicking around a couple of ideas now, including your first textgen idea. I hope to decide on something soon, in order to get cracking!

N.A.N.Y. 2009 / Re: NANY 2009 Intro
« on: December 08, 2008, 06:34 PM »
I'd like to participate (mostly AHK coding), but don't have any ideas of my own (that I'll be able to implement by Jan. 1 - I've got some bigger things brewing and not enough time).

Is it too late to join?

If not, I'm looking for ideas. I looked at the communal idea thread: the virtual folder thing (at a quick glance) might be a little beyond me atm, but I'll need to take a closer look. I can probably pull of the mouse-wheel scroll thing pretty easily, so I suppose I could start with that.

I want to play, but I'm definitely looking for some inspiration - any more ideas?


Pages: [1]