<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="0.92">
<channel>
	<docs>http://backend.userland.com/rss092</docs>
	<title>Macro Scheduler and Windows Automation</title>
	<link>http://www.mjtnet.com/usergroup/</link>
	<description>Macro Scheduler Automation Software</description>
	<managingEditor>usergroup@mjtnet.com</managingEditor>
	<webMaster>usergroup@mjtnet.com</webMaster>
	<lastBuildDate>Sun, 18 May 2008 06:10:23 GMT</lastBuildDate>
<item>
	<title>Technical / Scripting :: WaitScreenText causing Clipboard Copy Ctrl-C to not work</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20322#20322</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=1509&quot; target=&quot;_blank&quot;&gt;gtdalsanto&lt;/a&gt;&lt;br /&gt;
Subject: WaitScreenText causing Clipboard Copy Ctrl-C to not work&lt;br /&gt;
Posted: Sun May 18, 2008 4:32 am (GMT 0)&lt;br /&gt;
Topic Replies: 0&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I seem to have found a problem that occurs after using the WaitScreenText command.  Using it to find text on a web page has worked very well. However, after I have executed it, I have noticed that trying to copy text from a screen to the clipboard using the keyboard commands 'ctrl-a' (select all) followed by 'ctrl-c' (copy to clipboard) will no longer work until you close/restart macro-scheduler.  
&lt;br /&gt;

&lt;br /&gt;
Below is a simple example where I open the mgtnet.com site, wait for the main window to appear, then I issue a ctrl-a/ctrl-c to get the contents of the screen to the clipboard.  I then save this data to a variable (result1).  Then I put the space character into the clipboard, which basically overwrites the screen data with a space.  
&lt;br /&gt;

&lt;br /&gt;
I then issue the WaitScreenText command, with some text that is on the mjtnet.com sites main page, which it finds with no problem.  At this point, I issue the same ctrl-a/ctrl-c command, and save the contents of the clipboard to another variable (result2).  Result2 does not contain the web page as expected, but it contains the space.
&lt;br /&gt;

&lt;br /&gt;
Also, going to applications like notepad, and copying/pasting text within notepad, work fine.  However, if you go to the mjtnet.com page, and do a ctrl-a/ctrl-c, it still will not copy this data to the clipboard.  It seems as if the clipboard has been disabled for only this web page.
&lt;br /&gt;

&lt;br /&gt;
Below is the code I used to duplicate this problem.  Is there a command to reset the clipboard for this window after I have issued the WaitScreenText?  or is this just a problem with the WaitScreenText command?
&lt;br /&gt;

&lt;br /&gt;
Thanks for your help on this issue.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
'
&lt;br /&gt;
' Start up mjtnet.com site
&lt;br /&gt;
'
&lt;br /&gt;
ExecuteFile&amp;gt;www.mjtnet.com,
&lt;br /&gt;
Wait&amp;gt;2
&lt;br /&gt;
WaitWindowOpen&amp;gt;Windows Scripting*
&lt;br /&gt;
'
&lt;br /&gt;
' Now copy this window to clipboard - ctrl-a/ctrl-c and save in result1
&lt;br /&gt;
'
&lt;br /&gt;
SetFocus&amp;gt;Windows Scripting*
&lt;br /&gt;
Wait&amp;gt;0.5
&lt;br /&gt;
Press Ctrl
&lt;br /&gt;
Send&amp;gt;a
&lt;br /&gt;
wait&amp;gt;0.5
&lt;br /&gt;
Press Ctrl
&lt;br /&gt;
Send&amp;gt;c
&lt;br /&gt;
wait&amp;gt;0.5
&lt;br /&gt;
Release Ctrl
&lt;br /&gt;
GetClipBoard&amp;gt;result1
&lt;br /&gt;
'
&lt;br /&gt;
' put a space in the clipboard to overwrite contents
&lt;br /&gt;
'
&lt;br /&gt;
PutClipBoard&amp;gt;%SPACE%
&lt;br /&gt;
'
&lt;br /&gt;
' Now wait for some specific text on the mjtnet.com page
&lt;br /&gt;
'
&lt;br /&gt;
Let&amp;gt;WST_TIMEOUT=2
&lt;br /&gt;
WaitScreenText&amp;gt;Windows Automation and Scripting Solutions
&lt;br /&gt;
'
&lt;br /&gt;
' Copy window again to the clipboard - ctrl-a/ctrl-c and save in result2
&lt;br /&gt;
'
&lt;br /&gt;
SetFocus&amp;gt;Windows Scripting*
&lt;br /&gt;
Wait&amp;gt;0.5
&lt;br /&gt;
Press Ctrl
&lt;br /&gt;
Send&amp;gt;a
&lt;br /&gt;
wait&amp;gt;0.5
&lt;br /&gt;
Press Ctrl
&lt;br /&gt;
Send&amp;gt;c
&lt;br /&gt;
wait&amp;gt;0.5
&lt;br /&gt;
Release Ctrl
&lt;br /&gt;
GetClipBoard&amp;gt;result2
&lt;br /&gt;
'
&lt;br /&gt;
' copy of page failed.  Ctrl-a/Ctrl-c no longer work until you 
&lt;br /&gt;
' exit and restart macro scheduler
&lt;br /&gt;
'
&lt;br /&gt;_________________&lt;br /&gt;Gary T. DalSanto
&lt;br /&gt;
Inventive Software Designs, LLC
&lt;br /&gt;
&lt;a href=&quot;mailto:Gary.Dalsanto@InventiveSD.com&quot;&gt;Gary.Dalsanto@InventiveSD.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20321#20321</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=51&quot; target=&quot;_blank&quot;&gt;armsys&lt;/a&gt;&lt;br /&gt;

Posted: Sun May 18, 2008 3:39 am (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Thanks for sharing your progress with us. 
&lt;br /&gt;
In the absence of full knowledge of your pertinent (actual) app(s) and your full script, all my comments will fail you.
&lt;br /&gt;
Whenever programming keyboard/mouse simulation, timing is your primary concern. Under such circumstance, GetActiveWindow is always your best insurance policy. BTW, mouse simulation is relatively more responsive than PRESS ALT, PRESS CTRL, PRESS SHIFT,....etc.
&lt;br /&gt;
I'm sorry I can't see the benefit of using GetCursorPos&amp;gt; here. But ultimately you're your own judge as long as your script works as intended.
&lt;br /&gt;
Good luck.
&lt;br /&gt;_________________&lt;br /&gt;Armstrong Wong
&lt;br /&gt;
Armstrong Systems
&lt;br /&gt;
Shop 10 LG Full Wing Bldg
&lt;br /&gt;
436 Chatham Rd N
&lt;br /&gt;
Kowloon, Hong Kong
&lt;br /&gt;
Phone: (852) 9485 6994
&lt;br /&gt;
email : &lt;a href=&quot;mailto:sales@armsys.net&quot;&gt;sales@armsys.net&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20320#20320</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2045&quot; target=&quot;_blank&quot;&gt;tommystery&lt;/a&gt;&lt;br /&gt;

Posted: Sun May 18, 2008 3:00 am (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Somewhat, I don't need to verify that the window is active but that the mouse is at the correct coordinates.  But your script gave me the idea of using the GetCursorPos&amp;gt;X,Y to verify the cursor pos &lt;img src=&quot;http://www.mjtnet.com/usergroup/images/smiles/icon_biggrin.gif&quot; alt=&quot;Very Happy&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Here is the revised script&amp;#058;
&lt;br /&gt;
SetFocus&amp;gt; {Windowname}
&lt;br /&gt;
Label&amp;gt;Loop1
&lt;br /&gt;
    Wait&amp;gt;.2
&lt;br /&gt;
    MouseMove&amp;gt;162,565
&lt;br /&gt;
    GetCursorPos&amp;gt;XC,YC
&lt;br /&gt;
If&amp;gt;{(%XC%=162) AND (%YC%=565)},Loop1
&lt;br /&gt;
Wait&amp;gt;.2
&lt;br /&gt;
LClick
&lt;br /&gt;
WaitWindowOpen&amp;gt; {Windowname2}
&lt;br /&gt;
SetFocus&amp;gt; {Windowname2}
&lt;br /&gt;
Wait&amp;gt;.2
&lt;br /&gt;
FindImagePos&amp;gt;C:\macrolive\submit.BMP,SCREEN,20,0,XPos,YPos,NumFound
&lt;br /&gt;
Label&amp;gt;Loop2
&lt;br /&gt;
    Wait&amp;gt;.2
&lt;br /&gt;
    MouseMove&amp;gt;XPos_0,YPos_0
&lt;br /&gt;
    GetCursorPos&amp;gt;XC,YC
&lt;br /&gt;
If&amp;gt;{(%XC%=%XPos_0%) AND (%YC%=%YPos_0%)},Loop2
&lt;br /&gt;
Wait&amp;gt;.2
&lt;br /&gt;
LClick
&lt;br /&gt;

&lt;br /&gt;
Let me know what you think.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20319#20319</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=51&quot; target=&quot;_blank&quot;&gt;armsys&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 11:40 pm (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Perhaps I misunderstood your problem.
&lt;br /&gt;_________________&lt;br /&gt;Armstrong Wong
&lt;br /&gt;
Armstrong Systems
&lt;br /&gt;
Shop 10 LG Full Wing Bldg
&lt;br /&gt;
436 Chatham Rd N
&lt;br /&gt;
Kowloon, Hong Kong
&lt;br /&gt;
Phone: (852) 9485 6994
&lt;br /&gt;
email : &lt;a href=&quot;mailto:sales@armsys.net&quot;&gt;sales@armsys.net&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20318#20318</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2045&quot; target=&quot;_blank&quot;&gt;tommystery&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 8:15 pm (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Thanks for the tip, that does seem like a cleaner way of doing it.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20317#20317</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=51&quot; target=&quot;_blank&quot;&gt;armsys&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 3:21 pm (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi tommystery
&lt;br /&gt;

&lt;br /&gt;
Your script's robustness could be strengthened  as follows:
&lt;br /&gt;
For the purpose of demo, assume the window of interest is &amp;quot;Microsoft Word&amp;quot;
&lt;br /&gt;
Let&amp;gt;WF_TYPE=2
&lt;br /&gt;
SetFocus&amp;gt;Microsoft Word*
&lt;br /&gt;
Label&amp;gt;Loop1
&lt;br /&gt;
Wait&amp;gt;.2
&lt;br /&gt;
GetActiveWindow&amp;gt;Win,x,y
&lt;br /&gt;
If&amp;gt;{(pos(&amp;quot;Microsoft Word&amp;quot;,%Win%)=0)},Loop1
&lt;br /&gt;
MouseMove&amp;gt;Pos_X,Pos_Y
&lt;br /&gt;
LClick 
&lt;br /&gt;

&lt;br /&gt;
Hope it helps.
&lt;br /&gt;_________________&lt;br /&gt;Armstrong Wong
&lt;br /&gt;
Armstrong Systems
&lt;br /&gt;
Shop 10 LG Full Wing Bldg
&lt;br /&gt;
436 Chatham Rd N
&lt;br /&gt;
Kowloon, Hong Kong
&lt;br /&gt;
Phone: (852) 9485 6994
&lt;br /&gt;
email : &lt;a href=&quot;mailto:sales@armsys.net&quot;&gt;sales@armsys.net&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20316#20316</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2045&quot; target=&quot;_blank&quot;&gt;tommystery&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 2:28 pm (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Thanks for the tip.
&lt;br /&gt;

&lt;br /&gt;
Do you think it would help to structure the script in this manner:
&lt;br /&gt;

&lt;br /&gt;
SetFocus&amp;gt;
&lt;br /&gt;
GetActiveWindow&amp;gt;
&lt;br /&gt;
MouseMove&amp;gt;
&lt;br /&gt;
Wait&amp;gt;1
&lt;br /&gt;
MouseMove&amp;gt;
&lt;br /&gt;
Wait&amp;gt;1
&lt;br /&gt;
LClick
&lt;br /&gt;
Wait&amp;gt;1
&lt;br /&gt;
SetFocus&amp;gt;
&lt;br /&gt;
GetActiveWindow&amp;gt;
&lt;br /&gt;
FindImagePos&amp;gt;
&lt;br /&gt;
MouseMove&amp;gt;
&lt;br /&gt;
Wait&amp;gt;1
&lt;br /&gt;
MouseMove&amp;gt;
&lt;br /&gt;
Wait&amp;gt;1
&lt;br /&gt;
LClick
&lt;br /&gt;

&lt;br /&gt;
Or am I just wasting execution time? Considering the entire script, I need it to execute (in its entirety in &amp;lt;30s) {this is just a sample/part} but it also &lt;span style=&quot;font-weight: bold&quot;&gt;cannot&lt;/span&gt; fail under any circumstance.  I figure that by inserting MouseMove twice I'm making sure that the mouse moves to the correct co-ordinates.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Beginners :: RE: Communication between Master and Slave Scripts</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20315#20315</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2014&quot; target=&quot;_blank&quot;&gt;ichiban&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 7:58 am (GMT 0)&lt;br /&gt;
Topic Replies: 4&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Thanks
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20314#20314</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=51&quot; target=&quot;_blank&quot;&gt;armsys&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 3:49 am (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;Hi tommystery, 
&lt;br /&gt;
Whenever programming keyboard/mouse simulation, timing is alway your major concern becasue Macro Scheduler executes the keyboard/mouse simulation so fast that Windows often fails to catch. For example, in the worset scenario, the Windows is busy in indexing 200GB of folders and files and defragmenting 2 2TB hard drives simultaneously. Then, your script will definitively fail.
&lt;br /&gt;

&lt;br /&gt;
Rule of Thumbs:
&lt;br /&gt;
1. Always set the right focus;
&lt;br /&gt;
2. Always double check if it's exactly the window you're working (focusing) on. Don't rely on WaitWindowOpen&amp;gt;. The safest way is to use GetActiveWindow&amp;gt; to verify if the active (focused) window is exactly the one you want.
&lt;br /&gt;
Just my 2 cents. Hope it helps.
&lt;br /&gt;_________________&lt;br /&gt;Armstrong Wong
&lt;br /&gt;
Armstrong Systems
&lt;br /&gt;
Shop 10 LG Full Wing Bldg
&lt;br /&gt;
436 Chatham Rd N
&lt;br /&gt;
Kowloon, Hong Kong
&lt;br /&gt;
Phone: (852) 9485 6994
&lt;br /&gt;
email : &lt;a href=&quot;mailto:sales@armsys.net&quot;&gt;sales@armsys.net&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20313#20313</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2045&quot; target=&quot;_blank&quot;&gt;tommystery&lt;/a&gt;&lt;br /&gt;

Posted: Sat May 17, 2008 3:21 am (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;@ larkspur, so you've experienced this problem as well?
&lt;br /&gt;

&lt;br /&gt;
@mtettmar, the window names are actually derived from an application that I'm developing hence why the use of placeholders.  It doesn't really matter as the GUI is simple Java; and the window which has opened on several occasions in this instance of the program is not coded to open ANYWHERE in the script.  And as I said, the log shows that it hangs in the correct loop (as it's waiting for the window to open).
&lt;br /&gt;

&lt;br /&gt;
The most logical cause of this problem that I can think of is that the LClick is executed before the mouse finishes moving.  I've added wait&amp;gt;1 (I didn't know that you could use 0.1) and we'll see how the script runs.  I was just curious to know if this was a known problem so I could get a more definite answer.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Ampersand (&amp;amp;) in a dialog label</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20312#20312</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=492&quot; target=&quot;_blank&quot;&gt;JRL&lt;/a&gt;&lt;br /&gt;

Posted: Fri May 16, 2008 11:28 pm (GMT 0)&lt;br /&gt;
Topic Replies: 11&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;mtettmar wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;An ampersand before a character marks that character as the shortcut key, and underlines it. To make an ampersand visible specify two together, as Rain has shown.&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Yes that's true for an item that performs a function such as a button.  My concern was specifically for a label.  I would expect a label to handle an ampersand as text.
&lt;br /&gt;

&lt;br /&gt;
Moving on the the issue of help files as a sleep aid.  (I thought djek's comment was funny... I think that was the intent.) Most help documents for most software packages are written in a reference format.  That is, they are meant to be a reference for users who already have an idea what they are doing.  There are tutorials to help people get started and begin to understand how the software works.  There is also the magic &amp;quot;Record a Macro&amp;quot; capability.  After that the help documentation in a reference format should be adequate even desirable for expediency.  One thing that is lacking for Macro Scheduler is that 1800 page hard cover edition of &amp;quot;The Macro Scheduler Bible&amp;quot; and its accompanying 200 page paperback &amp;quot;Macro Scheduler for Dummies&amp;quot;  Perhaps someone will write those someday.  In the mean time, there is ample reading for someone getting started with Macro Scheduler. 
&lt;br /&gt;

&lt;br /&gt;
In my opinion, the main problem for advanced users of Macro Scheduler seeking help, is the expansive nature of this software.  Because Macro Scheduler is so flexible,  because it touches on nearly every aspect of the Microsoft Windows operating system and is capable of interacting with practically any program ever written to run on the Windows platform,  an all encompassing manuscript for Macro Scheduler would be.... what?...Everything ever written about Microsoft Windows and all Windows compatible software?
&lt;br /&gt;

&lt;br /&gt;
Just a thought,
&lt;br /&gt;
Dick
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Detect Dialog Altered</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20311#20311</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=492&quot; target=&quot;_blank&quot;&gt;JRL&lt;/a&gt;&lt;br /&gt;

Posted: Fri May 16, 2008 10:38 pm (GMT 0)&lt;br /&gt;
Topic Replies: 8&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;jpuziano wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Hi JRL,
&lt;br /&gt;
Very nice... &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;Thank you.
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;jpuziano wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;Lets say the user selects Item2 in the dropdown then immediately changes their mind and selects Item1 again. What is now in the dialog is exactly the same as what's in the file on disk... however on hitting Cancel, it will prompt the user to save changes anyway... and the user might think... save what? These are the same values I started with... I never did a save...??? &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;JRL wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;It functions in the way that I would expect a Microsoft program to function. &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
I altered the script above because the close message that asked if you want to save did not have a &amp;quot;Cancel&amp;quot; option as most Microsoft programs do.  The message now includes a cancel option.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Technical / Scripting :: RE: Problem with MouseMove... I think</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20310#20310</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2032&quot; target=&quot;_blank&quot;&gt;larkspur&lt;/a&gt;&lt;br /&gt;

Posted: Fri May 16, 2008 8:03 pm (GMT 0)&lt;br /&gt;
Topic Replies: 12&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I don't know if this is of any help or not, but I put a Wait&amp;gt;0.1 before my LClicks after a MouseMove and that seems to make it more stable.  In some cases, I use a longer Wait time if it needs it.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Beginners :: RE: Communication between Master and Slave Scripts</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20309#20309</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2&quot; target=&quot;_blank&quot;&gt;mtettmar&lt;/a&gt;&lt;br /&gt;

Posted: Fri May 16, 2008 6:57 pm (GMT 0)&lt;br /&gt;
Topic Replies: 4&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;More than happy to explain &amp;quot;what's going on behind the code&amp;quot; - but need a question before I can provide an answer.  Which code are you referring to?  What part of it do you need more explanation for?  Ask away. 
&lt;br /&gt;

&lt;br /&gt;
If you're referring to the tip linked to by Me_again - that uses a technique that enumerates all IE shell windows to find the IE window with the URL matching the one specified.  Once it finds it it then sets an object reference to that IE object.  You can then access IE's objects and properties, such as the Document Object Model (DOM).  The IE DOM allows you to interact with elements within the document such as links, form fields and all other html tags.  If you want documentation on the IE Document Object Model I'd need to refer you to Microsoft's web site although there are some basic examples here in the forums and included with Macro Scheduler.  But for an in depth reference you'd need to refer to Microsoft.
&lt;br /&gt;_________________&lt;br /&gt;Regards,
&lt;br /&gt;
Marcus Tettmar 
&lt;br /&gt;
Blog: &lt;a href=&quot;http://mjtnet.com/blog/&quot; target=&quot;_blank&quot;&gt;http://mjtnet.com/blog/&lt;/a&gt;
&lt;br /&gt;
Please do not email or PM me with private support requests - post questions to the forum so that everyone benefits. For fast, guaranteed private support please send email via our web site.&lt;/span&gt;&lt;br /&gt;
</description>
</item>
<item>
	<title>Beginners :: RE: Communication between Master and Slave Scripts</title>
	<link>http://www.mjtnet.com/usergroup/viewtopic.php?p=20308#20308</link>
	<description>Author: &lt;a href=&quot;http://www.mjtnet.com/usergroup/profile.php?mode=viewprofile&amp;u=2014&quot; target=&quot;_blank&quot;&gt;ichiban&lt;/a&gt;&lt;br /&gt;

Posted: Fri May 16, 2008 6:28 pm (GMT 0)&lt;br /&gt;
Topic Replies: 4&lt;br /&gt;&lt;br /&gt;
&lt;span class="postbody"&gt;I was trying to do it with IEAUTO.dll But the tip has given me some ideas, thanks. Wish this place provided explanations on whats going on behind the code. Being fed code is like feeding man a fish.
&lt;/span&gt;&lt;br /&gt;
</description>
</item>
</channel>
</rss>

