topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday March 18, 2024, 10: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 - goddert [ switch to compact view ]

Pages: [1]
1
Find And Run Robot / Re: alias with parameter
« on: January 18, 2016, 02:31 AM »
Thank you very much!

Your solution works fine ... partly  :)
Choosing with the cursor obviously FARR takes the selected option and launches the script with the corresponding parameter.

Instead if I write the parameter in the FARR window FARR doesn't pass the written parameter to the script but FARR takes always the first of the options. In my case the option with cntlm. E.g., I write "proxy foo" nevertheless FARR executes the line c:\bin\proxy-set.bat "cntlm".

I have to investigate why (btw FARR shows the parameter as I'm writing it but for a reason unknown chooses the first line)

Anyway thanks again.

Goddert

2
Find And Run Robot / alias with parameter
« on: January 15, 2016, 03:15 AM »
Hi,

I did configure a simple alias which takes a parameter to launch a script

alias trigger: proxy

Regular Expression pattern: ^proxy (.*)$

Script:
cntlm | c:\bin\proxy-set.bat "$$1"
ccproxy | c:\bin\proxy-set.bat "$$1"
off | c:\bin\proxy-set.bat "$$1"

Using the alias with a parameter works fine. Instead when I use the cursor to choose manually one of the three options (cntlm, ccproxy, off) how do I pass my choice to the script proxy-set? Preferably as string (cntlm, ccproxy, off).

I did search but couldn't find the right topic. Or maybe I did use the wrong search strings.

Thanks in advance for any help.

Goddert


Pages: [1]