ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Help with alias needed

(1/1)

4wd:
Hi folks, I'm having trouble trying to get an alias to work.

It's basically a modification of lanux128's locate32 alias, https://www.donationcoder.com/forum/index.php?topic=8281.msg66910#msg66910 using Index Your Files instead, (http://www.indexyourfiles.com/).


--- ---1000>>>IYF>->iyf $$1 Local|C:\PortableApps\FileUtils\iyf-x\iyf-x.exe --databases:Local --files:$$1>n>iyf $$1 in database $$2|C:\PortableApps\FileUtils\iyf-x\iyf-x.exe --databases:$$2 --files:$$1>+>^iyf (?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)
The first works fine where it searches in the database 'Local', but the second just doesn't seem to accept a database as an argument, it always defaults back to 'Local'.

i.e. I have two databases, 'Local' and 'Network'.

     'iyf posters network' should do: iyf-x.exe --databases:network --files:posters  (this works from a CLI BTW).

     But it just defaults to whatever database(s) used in the last search, (usually Local).

Can anyone point out what I've done wrong or what I need to do to get the second alias working.

Thanks

EDIT: AAARRRGGGHHHH!!!!!!!!!!!!!! Forget about it, my brain has obviously taken leave of my body.......thought it would automatically use the second alias when there was more than 1 argument...........too much Christmas cheer methinks...........

Navigation

[0] Message Index

Go to full version