terrypin Posted March 30, 2009 Report Share Posted March 30, 2009 This macro should hide Notepad and then show it again, but it fails, reporting in line 3 that the window cannot be found. Window Hide: Notepad Delay: 1 seconds Window Show: 1 seconds: Notepad Macro Return <WINDOW HIDE Option="\x01" Title="Notepad" Partial="TRUE" Wildcards="FALSE" _IGNORE="0x0006"/> <DELAY Flags="\x01" Time="1"/> <WINDOW SHOW Option="\x01" Title="Notepad" Partial="TRUE" Wildcards="FALSE" _IGNORE="0x0006"/> <MACRO RETURN/> To get correct operation it seems that although you can use the Partial option in the Hide command, in Window Show you have to specify Exact Match, like this: Window Hide: Notepad Delay: 1 seconds Window Show: 1 seconds: Untitled - Notepad Macro Return <WINDOW HIDE Option="\x01" Title="Notepad" Partial="TRUE" Wildcards="FALSE" _IGNORE="0x0006"/> <DELAY Flags="\x01" Time="1"/> <WINDOW SHOW Option="\x01" Title="Untitled - Notepad" Partial="FALSE" Wildcards="FALSE" _IGNORE="0x0006"/> <MACRO RETURN/> BTW, note the other display bug that I've reported before: the spurious appearance of the delay details from previous commands, which occurs if you have toggled between Script & Direct Editor views. -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Cory Posted March 30, 2009 Report Share Posted March 30, 2009 Confirmed on my machine, looks like a bug to me. Quote Link to comment Share on other sites More sharing options...
kevin Posted March 30, 2009 Report Share Posted March 30, 2009 [iSS6775] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.