The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different title or class
#1
1) How can we make a particular macro (regular macro or tsmenu - like Win+F) do something in a windowtitle "Caption" and different in titled "Save as" and diff in " * SOMETHING .. - Notepad++".

..

I Saw - this Filterfunction example but dont know what exactly does it mean in some cases -

Code:
Copy      Help
function# iid FILTER&f
sel wintest(f.hwnd "Window1[]Window2[]Window3" "" "" 16)
    case 1 ret "Macro1"
    case 2 ret "Macro2"
    case 3 ret "Macro3"

AND

Code:
Copy      Help
/
function# iid FILTER&f
sel wintest(f.hwnd "Notepad[]Internet Explorer" "" "" 16)
    case 1 ret "M1"
    case 2 ret "M2"

2) What I want to be sure of is -
By Window1 - Does it mean title ?
And if its TITLE - then can we also specify for CLASS ?


Thanks.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)