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

AltTab / FScript problem

(1/2) > >>

PabloG:
Hi all, that's my first post on this forum!

I've been using FARR from more than two years, and is a great program!  :Thmbsup:
I had no problems so far, but when I migrate from WinXP-32 to Win7-64 several FARR plugins
stop working, the pluginlog.txt file says something like:


--- Code: Text ---Error initializing plugin do_init functionE:\PortableApps\FARR\Plugins\FarrAltTab\FARRAltTab.dll
The most important -for me- is the AltTab plugin, then I tried to recreate the plugin using
FScript. I manage to obtain the list of active processes using WMI and displaying that
list with emitResult (even with the respective icons), but the onProcessTrigger function
never fires when I select the element with Return or via mouse.

Looking previous posts, I tried several onProcessTrigger parameter lists:


--- Code: Javascript ---function onProcessTrigger(path, caption) {function onProcessTrigger(path, caption, groupname, pluginid, thispluginid, score, entrytype, args, triggermode) {function onProcessTrigger (path, caption, groupname, pluginid, thispluginid, score, entrytype, voidp) {
Also tried with onProcessTriggerV2, no luck.


--- Code: Javascript ---function onProcessTrigger(path, caption, groupname, pluginid, thispluginid,score, entrytype, args, triggermode) {          FARR.debug("Path: " + path + "; Caption: " + caption + "; GroupName: " + groupname + "; PluginID: " + pluginid + "; ThisPlugin: " + thispluginid + "; Score: " + score + "; EntryType: " + entrytype + "Args: " + args + "; TriggerMode: " + triggermode);          FARR.setStrValue("DisplayAlertMessage", caption + " " + path);                  return HANDLED + CLOSE;        }
I'm using the 1.20.0 version of FScript.dll, tried with FScript2 but it hangs FARR displaying
a lot of error popups (error creating the proxy, if I recall correctly).
The FARR version is v2.96.01 (the latest, I think).

Any ideas?
TIA,
Pablo

PD: sorry for my english, I'm no native speaker  :-[

PabloG:
Anyone?? I've using Alt+Tab for a month with nearly 20 open programs, and my Tab key is dying!  :(

mouser:
Sorry for delay..
you are on the right track i'm sure -- but this will require the fscript experts since it's a bit beyond me.

HOWEVER, i do know there are multiple versions of fscript.dll and an older one can cause this.  leave fscript2 alone for now as it's something different.
see if you can find the official latest fscript.dll and replace the alttab one with it.

PabloG:
@Mouser: hi, thanks for answering. Your program rocks!  ;)

The FScript version I'm using is 1.20.0, downloaded from
http://e.craft.free.fr/farr/FScript/1.20/

My problem is that the onProcessTrigger never fires.
I'm adding the results with:


--- Code: Javascript ---FARR.emitResult(querykey, querynokeyword, querynokeyword, iconfilename, PLUGIN, IMMEDIATE_DISPLAY, scorestr);
If I add the results with UNKNOWN or FILE (0 / 1) then FARR (re) run the selected result; my idea was
to process that result in onProcessTrigger, bringing the selected program to foreground and returning
HANDLED from the function.

Is there's a newer version of FScript or a more specific FScript sub-forum where I can ask?

TIA,
Pablo

ecaradec:
Whoops, I missed that thread,
There is a set of sample for fscript here :http://e.craft.free.fr/farr/FScript/samples/FScriptSample.rar
and a documentation here : http://e.craft.free.fr/farr/FScript/help.html

There is an fscript.trigger.js sample inside. Try picking it, renaming it into fscript.js. It's a basic sample that increase a counter on each trigger.

If this doesn't work try disabling all plugins but this one inside FARR to detect if there is a conflict of some sort.

Navigation

[0] Message Index

[#] Next page

Go to full version