Jump to content
Macro Express Forums

RoderickMabry

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

RoderickMabry's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have a similar issue. As Alan suggested, I solved my initial problem using this method. However after 3 or 4 cycles it decides to say control does not exist. And fails. Now I cannot get it to work at all. Even if I restart the target app or restart Macro Express Pro. The control is an edit control it appears like this... http://screencast.com/t/Bqbl7KOhEi I even tried and it work for at least 1 cycle. Get Control: (WSCEOKRNL.DLL) Using coordinates -> %email% with restore window. Set Focus to %email% The debug says email has a control for a value. But it fails on the Set Focus with control does not exist. Here is a different look. <GET CONTROL Flags="0" Program_Name="WSCEOKRNL.DLL" Class="THostForm.UnicodeClass" Title="Web CEO" Control="\"\",\"MDIClient\",\"Submission :: fpnproductions.com :: http://fpnproductions.com/\",\"TSubmit.UnicodeClass\",\"\",\"TstNotebook.UnicodeClass\",\"Setup\",\"TstPage.UnicodeClass\",\"\",\"TstNotebook.UnicodeClass\",\"OwnersDetails\",\"TstPage.UnicodeClass\",\"\",\"TstPanel.UnicodeClass\",\"Enter webmaster or owner's details\",\"TstGroupBox.UnicodeClass\",\"\",\"TstEdit.UnicodeClass\"" Variable="%email%" Caption="*" Partial="TRUE" Wildcards="TRUE" _COMMENT="email"/> <SET FOCUS Control="%email%"/> Any ideas on how to proceed? How to confirm this is a bug. Or just a bad marriage with WSCEOKRNL.DLL? Or user error? Or workaround?
  2. Actually Variable Set String with the Set to Topmost Window Title does work. I thought Topmost Window meant Parent Window or Program Window. But I have learned here that Topmost Window means "Window with Current Focus" This works. Thanks Cory.
  3. I have elected to do a Switch and CASE statement to handle the many different dialogs that shows up when during an dialog operation. How do you Get the Window Title of the Current Window or Control in Focus? Example of the dialogs that I am dealing with... http://screencast.com/t/UBN3bTUmaL So if there is an unexpected dialog that shows up, I want to save that Window Title in a variable or log it to a file somewhere. Thanks in advance for any help at all. EDIT: I guess I just found the following: http://pgmacros.invisionzone.com/index.php?showtopic=3899 This method seems to only take the string from the top-most Window Title. It appears this wouldn't work for a dialog that popup within the program. Right? Any solutions?
×
×
  • Create New...