patgenn123 Posted September 5, 2010 Report Share Posted September 5, 2010 Hello all, I don't understand why this easy script does not work: First, All I am trying to do is trigger a folder to be "on top" when the folder opens. Can anyone help me on this? <DELAY Flags="\x02" Time="500"/> <SET WINDOW ORDER Window="\x01" Title="C:\\Documents and Settings\\Administrator\\Desktop\\Computer" Partial="FALSE" Wildcards="FALSE" Action="\x00" _IGNORE="0x0006"/> The trigger is by Window Title: C:\Documents and Settings\Administrator\Desktop\Computer Quote Link to comment Share on other sites More sharing options...
rberq Posted September 5, 2010 Report Share Posted September 5, 2010 I'm not sure what you mean by "trigger". Is the window title what triggers (activates) the macro? If so then what do you mean by "trigger a folder to be on top"? Isn't the window becoming "on top" what activates the macro, in which case it is already on top? Or are you saying that some other window can become topmost after your macro begins running? Personally I never had much luck with setting window order. A simple Activate Window always worked fine to put it on top. Quote Link to comment Share on other sites More sharing options...
acantor Posted September 6, 2010 Report Share Posted September 6, 2010 What scope are you using? It probably should be set to "Global." I have made several macros that are activated by window titles, and the ones that work reliably required trial and error before they worked. You may need to experiment with variations such as whether the trigger is the window gaining focus, or the window opening. Quote Link to comment Share on other sites More sharing options...
kevin Posted September 7, 2010 Report Share Posted September 7, 2010 And you might need a delay at the top of the macro. What you are doing is trying to change the behavior of Windows. You may need to make sure Windows is done before setting the Z-Order. Quote Link to comment Share on other sites More sharing options...
patgenn123 Posted September 9, 2010 Author Report Share Posted September 9, 2010 <WAIT FOR WINDOW TITLE Title="C:\\Documents and Settings\\Administrator\\Desktop\\Computer" Partial="FALSE" Wildcards="FALSE" Indefinite="TRUE" Hours="0" Minutes="0" Seconds="0"/> <DELAY Flags="\x02" Time="500"/> <SET WINDOW ORDER Window="\x01" Title="C:\\Documents and Settings\\Admini Still does not work. Some many things with MEPro really have me over-the-edge. Pat Quote Link to comment Share on other sites More sharing options...
kevin Posted September 9, 2010 Report Share Posted September 9, 2010 Please contact our support people. They will be able to help. 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.