Desktop.Find("","*partedbi*","") worked Thank you
On Fri, Aug 22, 2008 at 8:31 AM, Doriano Blengino <[EMAIL PROTECTED]> wrote: > M0E Lnx ha scritto: >> I'm sorry but I can't get this to pick up anything >> >> I have this >> aHandle = Desktop.Find(".*","partedbi",".*") >> >> aHandle.count is 0 every time, so Obviously, I'm doing something wrong >> >> > Sorry, it was my mistake. > > In the documentation I've read "regular expressions", but they are in > fact patterns, not true regular expressions: they use the same syntax as > the LIKE string operators (similar to shell patterns), and an empty > string matches everything. > > So, try this: > > aHandle = Desktop.Find("","*partedbi*","") > > and, if this fails, and to see whether the .Find() works, you can try also: > > aHandle = Desktop.Find("","","") > > which should return every window in the desktop. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user