Messages - ottenm [ switch to compact view ]

Pages: prev1 ... 14 15 16 17 18 [19]
91
Basically, I'm trying to launch an executable that takes two command-line arguments, but the executable is in one location, and I need it to run with the current directory (or "Start In" directory) pointing to a different location.  The first command-line argument never changes, the second is passed through from the user/FARR.

In concrete terms, it's a Java Phone Book app that takes a command-line argument (the name or number of the person to lookup).  So it launches like this:
pathA\javaw.exe arg1 arg2
Where arg1 is the name of my app and arg2 is the Name/PhoneNumber I'm searching for.  Trying to follow the 'wiki' and 'maps' examples, I've got the "Results" section of the "Edit Group Alias" dailog set as shown, but with 2 problems:
C:\Program Files\Java\j2sdk1.4.2_01\bin\javaw MyApp $$1

First problem is setting the directory it actually runs from.  Any ideas?  (and if you know Java, it's not enough to just add to the classpath.  The app actually uses the directory it's launched from).  I've tried making a batch file, but I'd rather not open a cmd window and then the Java GUI, too.  I've also made a .lnk shortcut that launches ok, but I can't figure out how to get arg2 passed in from the command line.

Second problem is me not understanding the $$1 parameter.  I have this Alias named "phone".  As I start typing it into FARR, everything starts as expected and I see "phone" up at the top of the list coming from myaliases.alias.  All good until I get to the "e" in phone.  Right then, the drop-down list changes to a smaller font and maybe 20 results instead of 9.  By the time I've typed "phone mike", the list has filtered down to no entries and won't launch anything (much less launch my app with "mike" as an arg).

Thanks for any help, and apologies for my density.

92
Find And Run Robot / Re: add launcher "keywords" to farr?
« on: February 21, 2008, 01:33 PM »
I have *painstakingly* evaluated SlickRun, KeyBreeze, Launchy, Executor, Dash, Skylight, and FARR over the last week or so.  I would like to reiterate: painstakingly.  Maybe 10-15 hours of installs, testing, help text, and forums.

As near as I can tell, none of them come anywhere close to FARR.  Except maybe in marketing, and entry-level ease of use/discovery.

What a delight to have discovered this gem.

The replies in this thread have more than answered my question.  I'll open new threads for the other questions I have uncovered.

Thanks all around-

93
Find And Run Robot / add launcher "keywords" to farr?
« on: February 20, 2008, 03:04 PM »
Apologies if this is spelled out somewhere and I missed it, but is there a way to create launcher-style keywords in FARR?  (like in keybreeze, launchy, slickrun, etc.).  I discovered FARR looking for a way to add folder searching to either Slickrun or Keybreeze, without creating a "keyword" for every file.  But FARR simply kicks ass, and just gets better with each time I pick up a new trick.  I'd like to ditch SlickRun and just use FARR for both searching and launching if there's a way to do it.

Thanks for any suggestions.  And for this awesome app.

Mike

Pages: prev1 ... 14 15 16 17 18 [19]
Go to full version