Welcome Guest.   Make a donation to an author on the site September 23, 2014, 09:22:13 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1]
1  DonationCoder.com Software / Find And Run Robot / Re: Alias help needed on: January 20, 2009, 02:52:11 AM
Quote
Would using a batch file to perform manipulation of session.ini filenames be of any help as a piece of this puzzle?

FWIW, the following removes the .ini portion (along with double quotes) of a string passed as a first argument to the batch file:

Quote
REM based on http://groups.google.com/...h.nt/msg/923423bf3143fcdd
REM try to manipulate first argument to batch file
SET inifilename=%1
REM remove .ini
SET inifilename=%inifilename:.ini=%
REM remove double quotes
SET inifilename=%inifilename:"=%
ECHO %inifilename%

It may be that using double quotes may be important depending on the file path being manipulated.

Is there any way for FARR to run this batch over the results?
2  DonationCoder.com Software / Find And Run Robot / Re: Alias help needed on: January 15, 2009, 10:16:36 AM
I look forward to seeing this implemented in FARR.

Thanks a lot.
3  DonationCoder.com Software / Find And Run Robot / Re: Alias help needed on: January 15, 2009, 07:54:11 AM
Yeah, you have caught the point. That is exactly what I would need. Do you think it is doable?
4  DonationCoder.com Software / Find And Run Robot / Re: Alias help needed on: January 15, 2009, 05:21:31 AM
The use I have in mind is that I use an ssh client and I can pass it the session I want to open as a parameter. The different sessions that I have preconfigured are stored in a folder under different filenames: 1session.ini, 2session.ini, ... What I want is to be able to type 'ssh' in FARR and to get all possible sessions in the list. Then if I type '2' only sessions starting with 2 will remain in the results. Note that the parameter I have to pass to the client is '2session', not '2session.ini', so there should be a way to delete the extension of the files.

I have tried something like:

Regular Expr Pattern:
^+ssh (.*)

Results:
C:\Archivos de programa\SSH\ssh.exe dosearch D:\Documents and Settings\t148594\Datos de programa\SSH\Sessions\$$1.ini

But it does not seem to work. It only shows the files that match the argument I type after ssh, and not even those in the folder I specify after the dosearch command, but all of them.

Is it not possible to add strings before and after the results? I think this could help me.

5  DonationCoder.com Software / Find And Run Robot / Re: Alias help needed on: January 14, 2009, 03:10:09 PM
Hi,

Thanks for your reply. The thing is the following:

Just imagine you would like to to have an alias called 'np' that opens a file with, let's say notepad. But you want to restrict the files that you can open with this alias to the ones stored in a certain folder. And imagine that in order to open a file with notepad you were not allowed to pass filename.ext as parameter, but only filename. And additionally, you would like the file list to be dinamically updated while you write the first letters of the file you want to open. For example, as you type np[SPACE] you see the list of all files; if you then press 'a', you see only files that start with 'a'.

Could this be achieved somehow?

Fran
6  DonationCoder.com Software / Find And Run Robot / Alias help needed on: January 14, 2009, 11:08:53 AM
Hi,

I want to do the following:

I use a program that can be launched with a parameter. The possible values for this parameter are all files in a folder, but without the extension. For example, lets say I have the c:\Parameters folder with the following files:

1st-Parameter.ini
2nd-Parameter.ini
...
Nth-Parameter.ini

And I want to launch the program as:

Program.exe /config 2nd-Parameter

How can I do this with FRR, the way that I type: Program[SPACE] and then I get the list of all files in the C:\Parameters, but then if I type 2, the options are reduced to 2nd-Parameter?

Its kinda hard to explain, so I hope someone understands my problem and can help.

Regards,
Fran
Pages: [1]
DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.027s | Server load: 0.09 ]