topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday April 28, 2024, 8:51 pm
  • 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.


Topics - PabloG [ switch to compact view ]

Pages: [1]
1
Find And Run Robot / AltTab / FScript problem
« on: March 19, 2011, 11:31 AM »
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 [Select]
  1. Error initializing plugin do_init function
  2. E:\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 [Select]
  1. function onProcessTrigger(path, caption) {
  2. function onProcessTrigger(path, caption, groupname, pluginid, thispluginid, score, entrytype, args, triggermode) {
  3. function onProcessTrigger (path, caption, groupname, pluginid, thispluginid, score, entrytype, voidp) {

Also tried with onProcessTriggerV2, no luck.

Code: Javascript [Select]
  1. function onProcessTrigger(path, caption, groupname, pluginid, thispluginid,score, entrytype, args, triggermode) {
  2.           FARR.debug("Path: " + path + "; Caption: " + caption + "; GroupName: " + groupname + "; PluginID: " + pluginid + "; ThisPlugin: " + thispluginid + "; Score: " + score + "; EntryType: " + entrytype + "Args: " + args + "; TriggerMode: " + triggermode);
  3.           FARR.setStrValue("DisplayAlertMessage", caption + " " + path);
  4.        
  5.           return HANDLED + CLOSE;
  6.         }

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  :-[


Pages: [1]