topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday June 17, 2024, 10:58 am
  • 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 - nontroppo [ switch to compact view ]

Pages: prev1 ... 20 21 22 23 24 [25] 26next
601
Find And Run Robot / Re: aliases to create an email from F&R
« on: October 04, 2005, 05:23 AM »
BTW I also suggest starting all regex's in the future with a ^ as I noticed sometimes other groups match (as their regex didn't have ^ at the beginning so for e.g. matched the subject line of the email group). ^ fixes such problems. I updated the search database to do this.

602
Find And Run Robot / Re: Some Performance Questions and Suggestions
« on: October 04, 2005, 05:18 AM »
I've also noticed, that if I type in something only an alias group will match, FARR still keeps scanning through the folders on every key press, so with the email thing:

email john@te

There is nothing that matches apart from the email group, yet FARR keeps scanning all directories on every new keypress. Once only aliases are left in the list, I suggest you stop incremental search. The memory cache would also fix this.

603
Find And Run Robot / Re: aliases to create an email from F&R
« on: October 04, 2005, 05:14 AM »
Slight update, there is no need for two aliases for this group as the subject is optional anyway for the regexp to match:

1000>>>email>->email $$1 subject=$$2 $$3 $$4 $$5 $$6 $$7 $$8 $$9 | mailto:$$1?subject=$$2%20$$3%20$$4%20$$5%20$$6%20$$7%20$$8%20$$9>+>^email ([^\s]+)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)

604
Find And Run Robot / Re: aliases to create an email from F&R
« on: October 04, 2005, 04:47 AM »
This is a single group and fixes the problem with subject lines containing no spaces (but currently set so that subjects can have 8 words maximum):

1000>>>email>->email $$1 subject=$$2 $$3 $$4 $$5 $$6 $$7 $$8 $$9 | mailto:$$1?subject=$$2%20$$3%20$$4%20$$5%20$$6%20$$7%20$$8%20$$9>n>email $$1 | mailto:$$1>+>^email ([^\s]+)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)(?:\s)?([^\s]*)

BTW I've noticed the first ever crashes of FARR when clicking on this group to edit sometimes (didn't get chance to see what access violation it told me).

And can we get a key binding to bring up preferences - it is a pain when developing aliases to have to click and select the menu item each time (yeah I'm lazy!) ;)






605
Find And Run Robot / Re: Some Performance Questions and Suggestions
« on: October 03, 2005, 12:06 PM »
The large number of startup requests ONLY occur when launch history is shown at start; though the constant skin directory checking occurs irrespective of that setting, or resize window.

606
Find And Run Robot / Re: v1.07.18 beta
« on: October 03, 2005, 12:05 PM »
Skins I like: 15, 26, 39, 44, 66 (though I will probably not use any of them as I prefer FARR unskinned).

What are the licences on the other skins, can we remix them?


607
Find And Run Robot / Re: v1.07.18 beta
« on: October 03, 2005, 11:12 AM »
You must drink some pretty strong coffee!  ;) Keep up the great work!

608
Find And Run Robot / Re: Some Performance Questions and Suggestions
« on: October 03, 2005, 11:06 AM »
I see memory cache as being different to the database, and you can add one without adding the other (though I do realise there is overlap as far as development goes). The advantage of memory cache is that it doesn't need any of the complex monitoring / updating, all it does is cache the names on first search and uses the memory version as the next letter gets typed. I don't notice windows does much cacheing at all...

+1 to an option to stop Windows flushing the memory; you can call it TURBO mode — every program should have one! ;)

BTW, when starting FARR, of those 3800 file operations, about 800 of them are FARR checking the skin folder, even if I am not using any skin:

17:01:44.444   FindAndRunRobot:2652   FSCTL_IS_VOLUME_MOUNTED   C:\Program Files\Farr\Skins   SUCCESS




609
All SE7 plugins output as text:

http://nontroppo.org/opsed/farr.php

I put each engine on a seperate line as individual entries into the same group to make the file easier to read; I can put them all in a single entry if you prefer.

The database has also been updated, e.g.:

http://nontroppo.org...ugin=39&type=SE7



610
Find And Run Robot / Some Performance Questions and Suggestions
« on: October 03, 2005, 09:27 AM »
On my normal laptop I never bothered with performance as FARR was snappy enough. However on an older machine with a slower HD, I notice significant delays on startup. So I used the excellent Filemon from Sysinternals to log all file activity by FARR.

On startup, FARR seems to perform a complete scan through its specified folders. This requires ~3800 open/read/writes to be performed. This seems pointless as I have it set to show the history on startup.

Then when each letter is typed, FARR rescans everything again, another 3800 file operations per letter of the incremental search.

First off, can we stop FARR from reading the folders on startup, just read its history list. Second, some kind of directory cache would drop file access a lot and speed up the incremental search. I'm not suggesting a permanent cache, only a memory cache. It may consume some extra memory, but I believe you/Windows flush memory when FARR is hidden after a launch anywayso that would not be permanent.

611
Find And Run Robot / Re: v1.07.18 beta
« on: October 03, 2005, 09:14 AM »
Skinning seems to use ~2-300kb more working set on my machine (~40 more GDI resources), totally acceptable! ;)

Added new special command "alias" which can be used in a group alias entry to cause search to renew using the words following the alias. Useful to let one alias group to trigger further searches.

Can you give us an example?

612
<offtopic>Budapest was amazingly beautiful. My flatmate is Hungarian, so I was lucky to get a more personal perspective to the city. There is a nice artistic movement building, taking the raw material of their transformation from East to West and using it; I visited a massive abandoned factory converted into an Art space (a Friend is the coordinator) to see a lot going on (150 artists working in just one centre!). Magyar (Hungarian) is utterly unintelligible to an English speaker, but I really love the sound.</off-topic>

613
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.

614
Find And Run Robot / Re: version 1.07.12 with paste command
« on: September 24, 2005, 11:05 AM »
paste command is cool!  :up:

615
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.



616
Find And Run Robot / Re: FARR and BBLean — some incompatibility issues
« on: September 18, 2005, 02:14 PM »
Seems better when disabled — what do each of those options do (doesn't say in the help file)?

617
Find And Run Robot / Re: Find&Run Robot owns desktop search
« on: September 18, 2005, 02:12 PM »
No it can't, though it has been discussed in a limited sense for a possible future version.

618
Find And Run Robot / FARR and BBLean — some incompatibility issues
« on: September 18, 2005, 10:07 AM »
BBLean is an excellent fast and lightweight shell replacement. However I notice that when FARR is activated when running BBLean, it seems to fight for focus; on an older P-III you can see it flickering and the focus switching in and out of FARR's window for up to a second. On newer hardware it is less noticable.

http://bb4win.sourceforge.net/bblean/

Note I am using BBLean without bbLeanSkin, which is a small window title skinning engine so that is not the problem. Does anyone else run FARR and BBLean/BBWin and have similar problems?

619
Find And Run Robot / Re: Find&Run Robot owns desktop search
« on: September 18, 2005, 10:01 AM »

620
Find And Run Robot / Re: version 1.07.10 is now up
« on: September 17, 2005, 09:17 AM »
BTW you need to update the home page - it still says 1.07.08...

621
Find And Run Robot / Re: version 1.07.10 is now up
« on: September 16, 2005, 05:52 PM »
Good stuff!  :up:

622
i also noticed that a bug in group alias editing meant that first time you create a group it throws away any regexp info you provide; only when you edit a group does it stay.  i had experienced this before but just thought it was my imagination, maybe you too :)

yes, I thought it was me too! ;)

ok all fixes seem to work as advertised!

BTW, do you think it is any faster to specify the path explicitly? I suppose I could use FileMon (sysinternals) to time it...

623
FARR Plugins and Aliases / Re: NirCmd Setup, a guide of sorts
« on: September 10, 2005, 12:50 PM »
Yes, I had originally done single commands, but I like regex so the all-in-one flexible list was more fun! As you say, that regex can be used for any command that expects 0 or more additional entries.

I'll go off and test the new version.  :)

And non troppo is Italian for "not too much", but my definition comes from its use in classical music, whereby it is used by a composer to relativise a direction for the musicians; "Lento ma non troppo" means slowly, but not to slowly or slowly, more or less. It fits into my polemic for relativism and deconstruction.

624
Find And Run Robot / Re: A tip - if you want to use digits in searches..
« on: September 10, 2005, 10:00 AM »
mouser: why are we limited to F9 for the function keys for launching - why not go up to F12?

And as I mention here, digit escaping using "\" seems to break the groups from functioning (well it does for the NirCmd group I use anyway).

625
FARR Plugins and Aliases / NirCmd Setup, a guide of sorts
« on: September 10, 2005, 09:51 AM »
OK, here is a preliminary guide to use NirCmd. The most complex part really is the Regex, because we want to be able to optionally specify options, but not be forced to. So here is the regex:

cmd(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)(?:\s|)([^\s]*)

Don't get too scared! This is basically just composed of two sections repeated 4 times:

(?:\s|)
The "?:" simply stops anything captured being used by FARR in the $$# bits. "\s" means white space (like a space or tab) and "|" means or, and as there is nothing after it it means "or nothing". In English that chunk means match one whitespace or nothing, but don't capture it. We want to be able to match nothing because we may just want to type in "cmd" without anything else.

([^\s]*)
The "[^\s]" means any character EXCEPT a whitespace, and the * means 0 or more of the previous characters. So this means match 0 or more characters as long as they are not whitespaces. As we dont use "?:", then these will get captured into $$1, $$2, $$3 and $$4 for each of these blocks.

This pairing is repeated 4 times to give us the chance to put in up to 4 variables to NirCmd. OK, here are some commands (change c:\windows\ to wherever you put nircmd.exe):

screensaver | c:\windows\nircmd.exe screensaver
lock PC | c:\windows\nircmd.exe lockws
monitor (on/off/low) $$1 | c:\windows\nircmd.exe monitor $$1
setres (width) (height) (depth) $$1 $$2 $$3 | c:\windows\nircmd.exe setdisplay $$1 $$2 $$3
changevol(+#/-#) $$1 | c:\windows\nircmd.exe changesysvolume $$1
mute (0/1) $$1 | c:\windows\nircmd.exe mutesysvolume $$1
reboot | c:\windows\nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot
raise (window) $$1 | c:\windows\nircmd.exe win activate stitle "$$1" $$2
settop (window) (0/1) $$1 $$2 | c:\windows\nircmd.exe win settopmost stitle "$$1" $$2
compliment $$1 | c:\windows\nircmd.exe infobox "Wow $$1, you're really great!"

Now you'll notice some commands don't need any additional input, yet others do. In this scheme when you activate FARR, you first type "cmd" to activate the group, now typing in additional info will start to fill out the fields for the various options.

One important point is you need to turn off digit keys for launching as it will interfere with several nircmd's (see below as I could get digit escaping to work)

So an example:

cmd 1 F6 - mutes volume
cmd 0 F6 - unmutes volume
cmd mouser (then click compliment as it is after F9) - compliments mouser! ;)

Please add your own NirCmd's to this thread.

to mouser:
I had a couple of problems: 1st although c:\windows\ is in my system path, FARR did not find nircmd.exe there; shouldn't FARR look for apps in the system path? 2nd was that I tried using \1 to escape numbers so I didn't need to turn off digit launching - however typing in the "\" seems to stop the group from working - the titles all get removed and numbers keys then stop working...

Pages: prev1 ... 20 21 22 23 24 [25] 26next