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

importing+exporting alias groups (nontroppo read in)

(1/3) > >>

mouser:
the new version of f&r will let you import+export+paste alias groups.
when importing it will merge groups with your existing groups so its easy to share aliases.

nontroppo you mentioned the possibility of having your opera database output in a format suitable for find+run robot?

here is the format for pasting:

each entry should be on its own long line (without Carriage Returns):

here is the text for the nircmd alias you made which could be pasted in directly via right-click:
1000>>>nircmd>->screensaver | nircmd.exe screensaver>n>lock PC | c:\windows\nircmd.exe lockws >n>monitor (on/off/low) $$1 | c:\windows\nircmd.exe monitor $$1>n>setres (width) (height) (depth) $$1 $$2 $$3 | c:\windows\nircmd.exe setdisplay $$1 $$2 $$3>n>changevol(+#/-#) $$1 | nircmd.exe changesysvolume $$1>n>mute (0/1) $$1 | c:\windows\nircmd.exe mutesysvolume $$1>n>reboot | c:\windows\nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot >n>raise (window) $$1 | c:\windows\nircmd.exe win activate stitle "$$1" $$2>n>settop (window) (0/1) $$1 $$2 | c:\windows\nircmd.exe win settopmost stitle "$$1" $$2>n>compliment $$1 | nircmd.exe infobox "Wow $$1, you're really great!">+>cmd(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)
--- End quote ---

if it was exported and imported to a file it would have a little prefix as follows:
[LaunchAlias]
0=1000>>>nircmd>->screensaver | nircmd.exe screensaver>n>lock PC | c:\windows\nircmd.exe lockws >n>monitor (on/off/low) $$1 | c:\windows\nircmd.exe monitor $$1>n>setres (width) (height) (depth) $$1 $$2 $$3 | c:\windows\nircmd.exe setdisplay $$1 $$2 $$3>n>changevol(+#/-#) $$1 | nircmd.exe changesysvolume $$1>n>mute (0/1) $$1 | c:\windows\nircmd.exe mutesysvolume $$1>n>reboot | c:\windows\nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot >n>raise (window) $$1 | c:\windows\nircmd.exe win activate stitle "$$1" $$2>n>settop (window) (0/1) $$1 $$2 | c:\windows\nircmd.exe win settopmost stitle "$$1" $$2>n>compliment $$1 | nircmd.exe infobox "Wow $$1, you're really great!">+>cmd(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)
--- End quote ---

i think pasting would be most appropriate for the opera database thing, so here is the format in more detail with only 2 of the nircmds for example
1000>>>nircmd>->screensaver | nircmd.exe screensaver>n>lock PC | c:\windows\nircmd.exe lockws>+>cmd(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)
--- End quote ---

what it means:
the first number is the SCORE followed by >>>
then the group alias name followed by >->
then we have the list of entries in the group alias, each followed by >n>
each entry could be just a command (OR URL) with an optional display text followed by |
then >+> followed by the regular expression

another example with 2 entries which uses urls:
1000>>>search>->Google $$1 |http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=$$1>n>GoogleGroups $$1 |http://groups.google.com/groups?hl=en&lr=&q$$1&qt_s=Search>+>search (.*)
--- End quote ---


what i'd like to do is gather a collection of the best commands in the next couple of weeks or so, and then be able to release version 2 with a bunch of commands already ready to use.  would be really nice to give users a nice collection of fun commands.

nontroppo:
Hi mouser,

Sorry, just got back from a visit to Budapest. Yes, the format seems ok on first inspection. I'm busy for the next couple of days, but I can code up a simple interface to the database. Would you like to have the interface online, so users could choose and search, or as a list you use locally as I think you are suggesting? I'm happy to host it, but you may want to host it, then it only requires PHP 4+ and MySQL to run.


mouser:
id love it if you kept it with your opera database if it's not too much trouble -
but what i'd also like to do is get the master collection from you and then i can pick out a couple (or couple hundred) and add them to some groups to provide as default.

nontroppo:
no trouble at all. i'll try and get a full dump converted into FARR export format (though I have no time for programming for a few days; so if you want the raw SQL dump you can have that)?

offtopic: here's a program to add to your "alternatives" list: http://www.camiweb.com/zenkey/index.htm — looks quite good though i haven't tried it.

mouser:
i can wait.

adding zenkey to list - damn there are a lot of related app in that help file now.

ps.
how was budapest?

Navigation

[0] Message Index

[#] Next page

Go to full version