Messages - koro [ switch to compact view ]

Pages: [1] 2next
General Software Discussion / Re: Must-have Windows Programs
« on: December 30, 2009, 08:29 PM »
*Really* must have:

  • PuTTy (Tray)
  • WinSCP
  • Firefox
  • Acrobat Reader or Foxit Reader

Would suffer without:

  • Unison
  • Thunderbird
  • 7-zip
  • Skype
  • Comodo Firewall
  • Avira Antivir
  • Process Explorer
  • VLC
  • Notepad++
  • Autohotkey
  • OpenOffice
  • PDFCreator
  • Calibre
  • WinDjView
  • Ghostscript and GSView
  • MikTeX
  • LatexEditor
  • FARR

I'm probably forgetting some...

FARR Plugins and Aliases / Re: CZB pack
« on: December 20, 2009, 02:13 PM »
After more testing (with the help of mouser), it seems that the problem is not in FARR but in Internet Explorer (I have version 7, but since I never use it it is probably not updated). I was able to reproduce the problem even without running FARR (that is, repeatedly opening/closing the same Google Tasks page with internet explorer). I will update to IE8 and see what happens.

FARR Plugins and Aliases / Re: CZB pack
« on: December 19, 2009, 12:28 PM »
I did a little more testing. Apparently this is not a problem associated to fsubscript or anything like that.

I tried using, instead of a plugin, an alias that does exactly the same (on the keyword "todo"):
View TODO list | dolaunch htmlviewurl

Now, exactly the same thing happens: every time i use that keyword it displays my google tasks, but it eats up between 1 and 4 mb of memory, which are never released.
Right now FARR is using 100MB of memory, and I'm sure if i don't restart it it will grow much bigger in a few days.

So I guess the problem is in the htmlviewurl thingie. Maybe there's some allocated memory that isn't being released?

Maybe someone could try to reproduce this.

Okay, I never coded in Javascript, so I'm totally illiterate on that topic, but I tried to make a very simple plugin and I'm seeing something weird.

Here's my code (I basically copied it from another plugin)
It is intended to simply display my google tasks embedded in FARR when i type "todo":

Code: Javascript [Select]
  1. plugins["todo"] = {
  2.   version: "1.0",
  3.   lastChange: new Date(fso.GetFile(currentDirectory+"\\fsubscript.js").DateLastModified).toDateString(),
  4.   displayName: "TODO",
  5.   directory: currentDirectory,
  6.   aliasstr: "todo",
  7.   icon: currentDirectory+"\\favicon.ico",
  8.   description: "Google Tasks",
  10.   search: function(querykey, explicit, queryraw, querynokeyword,modifierstring,triggermethod){
  11.     if(!explicit) return;
  12.         FARR.setStrValue("launch", "htmlviewurl");
  13.         FARR.setStrValue("launch", "waitforhtml");
  14.         FARR.setStrValue("launch", "setfocus mainpanel");
  15.         FARR.setStrVAlue("EmbeddedWb.ExecJavascript", "document.getElementsByTagName('iframe')[0].contentWindow.document.getElementById('1').getElementsByTagName('div')[2].focus()");
  16.   }
  17. };

Now, here's what's weird. Apparently the memory used to load the html is never released. Maybe this is normal, but I find it odd, because calling my "todo" plugin a few times makes the memory footprint of FARR become really high. In fact every call increases between 1 and 4 MB of memory used, and it seems that it is never released after that (only a tiny bit is released when i close the window). See this pic:


Each "jump" in the graph corresponds to me typing "todo", enter, and then closing FARR (to the background). See how it keeps increasing until i stop doing it (at which point it's using 68.4 MB). After a while, nothing changes:


Any idea what's going wrong (or what am I doing wrong?)

Edit: In a previous post I stated that a "google calendar" plugin was doing this, but I was confused, I corrected it now. I'd appreciate any hints.

FARR Plugins and Aliases / Re: Farr Alias: nircmd alias
« on: December 13, 2009, 12:00 PM »
For those of you having problems with hibernate instead of suspend, I'd like to point out that you don't need nircmd to do this.
You can just create a new shortcut called "hibernate" and place it anywhere in the search path of FARR.
The command to be executed by the shortcut is the following:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

For other options, you can create shortcuts like this:

For Shutdown: %windir%\System32\shutdown.exe -s
For Reboot: %windir%\System32\shutdown.exe -r
For Logoff: %windir%\System32\shutdown.exe -l
For Standby: %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

Pages: [1] 2next
Go to full version