Jump to content
Macro Express Forums

IndigoJon

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About IndigoJon

  • Rank
    Newbie
  1. I don't know if it is a UWP program, but the strange thing was that it worked OK for a while and then as I continued editing and refining the commands, suddenly Act! would no longer let MEP have any control over it's window...
  2. It's as if Act! doesn't even recognize that MEP is running! I tried to create a test macro...get control of the Act! window and have the mouse move there. I make a variable called "Act! Window", activate the locator utility, select the control area...and then when I try to save it, a message pops up saying "You must select a control!" So MEP is not seeing the Act! window at all. Any ideas why that would be?
  3. Just when I thought I had it figured out, and after I had been editing the macro several times to get it to work exactly as planned, now all of a sudden it won't even activate the first window! The first two command are "Window Activate", followed by a short delay, and then "Window Resize". If I place a "Macro Stop" right after the second command, do a test debug, nothing happens! It's as if MEP doesn't even know the program is running. Any idea what could cause that to suddenly happen, when the macro seemed to be functioning almost perfectly a few minutes before?
  4. Update: I think I have figured out why I've been having so many problems. It turns out that Act! has two platforms...one is the standalone version which installs on various workstations and then these workstations sync with the main server to keep the database updated. The other platform is called Act! for Web, and even though it can be accessed via the web, it can also live on an individual machine, and the interface looks exactly like the standalone version. I have the standalone version on my laptop, which is where I created the macros, but on the remote server, where I am trying to run them, the Act! for Web platform is installed, and lots of things are different...Winforms for example, which explains I think why I couldn't get controls to work. I have solved the problem by installing a standalone version on a different machine at the remote location, and giving RDP access to it for the person who needs to use the macro function. I am just about to test that capability and will report. In the meantime, although I want MEP to start when Windows starts, I want to disable the two screens that popup each time I log in...there is a hyperlink that says something like click here to disable these screens from displaying, but that neither works nor is there a preference or option I can find to disable them from popping up. Can you tell me how to do that?
  5. I don't think so, but I have an idea. My buddy at whose house the server sits, also has a laptop at the same desk, and it's also running Act!. We can install MEP on his laptop, I can remote in and test the macro there. I will report the results...
  6. It's just strange that the macro works perfectly when I run it on my own desktop. It performs all the keystrokes etc, and sends the merge letters. But over RDP or VNC, it won't even execute the first command in the macro sequence.
  7. I tried using Get Control, but instead of the Write item, the locator puts a box around the whole bar...File, Edit, View, Lookup, Contacts, etc, etc I will try what you said about a command to grab topmost window title.
  8. Yes, I added Delay and that doesn't seem to fix the problem. It looks as if for some reason, the Act! window never gets activated, so nothing works. I created a sample macro using the commands you suggested (posted below) and ran it while logged in via RDP, and again logged in via VNC Viewer, and neither one clicked on the Write command. So it's not just <Alt+i> that fails...no command works because the window never gets active as far as I can tell. But I can't figure out why.
  9. Logging into the remote computer with RDP, I can create a macro that activates the Notepad window, opens the File dropdown (ALT-f), types the letter n, types the word "Test", ALT-e and then types a to select all of the "Test" text. Works perfectly. Tried a 3-line macro to do similar typing in Act! (see below) and it neither runs in RDP or VNC. I don't see a debug choice to record what window is active...among the "catch error" options
  10. Yes, both MEP and the macro are running on the remote, NOT through the RDP connection. MEP is running in Administrator mode. The first command is to Activate Window. Scope is set to that specific window. Second command is <ALT>i . That should open the Write drop-down menu, but nothing happens.
  11. On the laptop, it works to just say "Activate Window". But nothing works over RDP. The macro really is pretty simple. Opens the "Write" menu, opens a template, copies the template, opens the copy for editing, pauses for user input, merges the document to a group of people and emails it. Works perfectly on the laptop but not on the remote. I have tried several things that others have suggested, and I can create (on the remote) a macro that opens Notepad and types into it, but trying the same thing with Act! does nothing, as you see from my replies above. I'm not exactly sure what you mean by "controlling focus", other than I activate the window.
  12. I tried Samrae's <AltD>i<AltU> and that did not work. I created a short macro on my laptop that activates the Act! window, types Alt-i, then Alt-t and saved it as a playable macro. On the laptop it opens the Write drop-down, then opens the list of Templates (the Alt-t). So on the laptop it works fine. I sent it to me as an email attachment, opened the email on the RDP remote machine, dragged the playable to the desktop, and opened the same Act! window. Clicking on the playable shortcut does nothing! Maybe this is just some problem with Act! ? As Samrae had suggested, I copied the Notepad macro he created, put it into a new macro on the Remote machine, and it played fine, opened Notepad etc., etc. I don't know what else to do, but pretty frustrated.
  13. So I tried it with just a few lines. Nothing happens. I have found it best if I actually launch the program manually, put in the password etc, and get to the screen that you see attached here. With that screen visible, if I hit <Alt>i, the Write button opens. But with the commands you see both in Script Editor and Direct Editor view, nothing happens. The Act! program doesn't see the keyboard command <Alt>i for some reason. I'm tearing out my hair!!! Here is the Direct Editor file: <MACRO PLAYBACK SPEED Speed="1"/> <ACTIVATE OR LAUNCH Title="Act! Premium - NeahNewServer" Exact_Match="TRUE" Wildcards="TRUE" Path="C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Act! Premium (Web)\\Act! Premium (Web).lnk" Mode="\x00" Default_Path="TRUE" Wait="10" Wait_For_Program="15"/> <DELAY Flags="\x01" Time="5"/> <WINDOW ACTIVATE Title="Act! Premium - NeahNewServer" Exact_Match="TRUE" Wildcards="FALSE" _PROMPT="0x0006" _PROMPT="0x0007" _PROMPT="0x0008" _PROMPT="0x0003"/> <KEYSTROKE SPEED Delay="500"/> <TEXT TYPE Action="0" Text="<ALT>i"/> <DELAY Flags="\x03" Time="500"/> <TEXT TYPE Action="0" Text="t"/> <DELAY Flags="\x03" Time="500"/> <MACRO STOP/>
  14. I'll answer your questions in order: 1. I changed the keystroke speed to 500, and it did not correct the problem. I am assuming a person just enters that speed command at the beginning of he macro, not before each command. 2. I can launch Notepad and type text into it with no problem. I was able to copy the Notepad macro and it runs without problem. I can also type commands over RDP like <Alt> i, and the Write menu in Act opens. 3. I am running Macro Express as Administrator. Is there somewhere that I can find a tutorial on using Windows Controls that is written for someone who is not a programmer? Thanks for all of your help...I really appreciate it!
×
×
  • Create New...