DonationCoder.com Software > Find And Run Robot
search in startup folders ?
nitrix-ud:
Hi all,
is there a way to search in two (or more) startup folders (Me and All users...) using a dosearch command ?
i can search in mine like so :
dosearch C:\Documents and Settings\Nico\Start Menu\Programs\Startup\. $$1
and in all users :
dosearch C:\Documents and Settings\All Users\Start Menu\Programs\Startup\. $$1
but is there a way to combine those two dosearch into one ?
i'm sure there is a trick but i did not find anything ...
PS: the goal is to relaunch a startup app (a bit like Skrommel's ReRun but for only one app...)
mouser:
yes you could do like this:
go to directory search tab, and add those two directories:
C:\Documents and Settings\Nico\Start Menu\Programs\Startup\
C:\Documents and Settings\All Users\Start Menu\Programs\Startup\
And for both of them put a keyword modifier like: nicome
now in your alias put
dosearch +nicome $$1
should work i think.
nitrix-ud:
thanks mouser, works like a charm :D
final code :
--- ---Startup $$1 | dosearch +startup +. -alias $$1
nitrix-ud:
WARNING
Never choose a keyword modifier name that is the same as an alias...
i could not launch any results when :
* my startup "dosearch command" was called "startup"
* the keyword modifier of my two folders was "startup"
i guess in
--- ---Startup $$1 | dosearch +startup +. -alias $$1the +startup is ambiguous, is it the alias ? the folders ? i guess this is what's going wrong
anyway, i changed the keyword modifier for the two folders to folder_startup
(i do remember i had the same pb, that's why i always use the prefix "folder_" for my folder keyword modifiers...)
and now it works...
--- ---Startup $$1 | dosearch +folder_startup +. -alias $$1
I suggest that you encourage people to prefix the folder keyword modifiers when used in dosearch command (since the length of the variables are not big deal... only entered once...)
I'm afraid it is the same with action keywords (which i prefix with open_)
Cheers, Nitrix
mouser:
Nitrix how would you feel about preparing a little guide like: Advanced FARR Hacking?
I think you are the only one (and yes I'm including myself) that has discovered all these little tricks.
Navigation
[0] Message Index
[#] Next page
Go to full version