topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday April 25, 2024, 6:26 am
  • 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 - burro [ switch to compact view ]

Pages: [1]
1
Find And Run Robot / Re: passing parameters to .exe and .bat
« on: August 28, 2008, 08:20 AM »
Some results:

For all, I had to replace the %var% with the absolute to make it work.

* With: Checked "Use document launch helper utility", used "Method 2 - ShellExecuteEx"
  - The "rd" alias works.
  - Opening a link to a file (which has assosiated program in explorer) does not work.

* With: Checked "Use document launch helper utility", used "Method 1 - ShellExecute"
  - The "rd" alias works.
  - Opening a link to the file works.

2
Find And Run Robot / Re: passing parameters to .exe and .bat
« on: August 25, 2008, 11:50 AM »
Well, it seems like I wasn't crazy in the head after all.  The remote desktop alias that I described in the original post is a real issue.  It is intermitent, and I have not been able to pin down the environment under which it fails and the one under which it works.  As of this writing it has gone back to "not working", and nothing in the config has changed that would seem to make this happen.  Any tips on how I can provide more data to aid debbugin?

3
Find And Run Robot / Re: passing parameters to .exe and .bat
« on: August 15, 2008, 01:26 PM »
Well, seems like the machine needed a restart :(  I haven't changed anything and the alias does work as expected, as in, it does bring up the Remote desktop tool with the appropriate machine.

I like your idea of having some sort of string that can be used to specify arguments.  Personally, I have a lot of these programs that I need to pass parameters to, and making an alias for each of them has been a bit annoying.  I have managed to make it work though.  I'm wondering if making the string be "$$" instead of "::" would make it more obvious, as "$$" is already used as a prefix to the parameters.

Thanks for the quick response!

4
Find And Run Robot / passing parameters to .exe and .bat
« on: August 15, 2008, 09:51 AM »
New convert here, from... well, some "other tool" :).  Really enjoying the flexibility that FARR is giving me!

Got a quick question.  What is the best way to call a program (be it .exe or .bat or .whathaveyou) with some parameters that I type?  For instance:

%SystemRoot%\System32\mstsc.exe /v:%1

I've tried to make an alias that looks like this:

match on: ^rd (.*)
Run: Remote Desktop | %SystemRoot%\System32\mstsc.exe /v:$$1

But that doesn't seem to do the trick.  I seem to have a lot of other .exe programs that I run on a regular basis that take parameters.  How can I do this?  Been looking around in the forum and on the docs, but I must be blind.

Thanks a ton.  Awesome tool!  Hopefully will be giving some scripts back to the community soon.

Pages: [1]