Jump to content
Macro Express Forums

Amerifax-Bob

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by Amerifax-Bob

  1. Thank you Cory. I understand now. 

     

    Dragon seems to be related to WinWrap® Basic. When I go to the Internet looking for help regarding the macro language, in this case it would be Macro Express, what language best matches what macro express uses. Now I'm not talking about the language of programs written in. I'm referring to the actual macro. What will but language is the actual macro following. 

     

    In the case of Dragon. I have found a book called Dragon Professional-A Step Further. It has been a great source for me. I would now like to find similar source for a better understanding of Macro Express Professional. Don't get me wrong, I find they help associated with the program to be outstanding. I just have always found that a second source is very helpful.  In the case of Dragon seems to be VBA. But then that's just a guess.

     

    Maybe it would be better if I just showed you. One of my Dragon scripts and how that script might relate in Macro Express:

    Sub Main
        ShellExecute "C:\Program Files\Google\Chrome\Application\chrome.exe https://pgmacros.invisionzone.com/forum/17-macro-express-and-macro-express-pro/"
    End Sub
    The script would open him up this forum inside of my chrome browser.

    Bob

  2. I have been using WinWrap® Basic Documentation, WWB-COM: #Language Comment to help me with my Dragon script. What can I find the same type I help when it comes to understanding the symbols used in Macro Express, use an example of the symbols I'm talking about:
    <COMMENT Value="Generate random values for %CB[1]% ... %CB[4]%"/>
    <REPEAT START Start="1" Step="1" Count="4" Save="TRUE" Variable="%x%"/>

    Bob

  3. I have downloaded the manual "Macro Express Pro-Gall Windows Automation Tool). I have found some links that are not working. Here's an example, some that work and some that do not:

    Works - Defining Variables (See the Variable Set StringVariable Set Integer and Variable Set Decimal commands,)

    Does not work - Create the a New Variable (Step by Step Instructions). This is the link code javascript:kadovTextPopup(this). 

     

    I always download the manuals I'm working with, because it makes it easier for me to cross out unnecessary information and add additional information if needed. All of my manuals are loaded into that Microsoft Office Desktop OneNote. 

    Bob

     

  4. Is anybody using Nuance Dragon 15.61 with Macro Express Professional 6.4.0.1. If all goes well in MacroX . I will be converting my Dragon macros. I also use the macros in Microsoft 10  OneNote Office Desktop 64.bit of which I will continue to use if all goes well. I'm looking for the good or the bad. But any heads-up I can be given that might help me with this combination of programs.

     

    I have just today installed MacroX, MEP, and I'm on a steep learning curve. Although I have been using macro express SanDisk forum since 12/28/2004.

    Bob

  5. Cory, I might have a workaround using Samrae solution of WIN+Ctrl+Right or Left . If I do several WIN+Ctrl+Left I should be on the far left desktop, DeskTop1. Now that I know I'm on DeskTop1 I can use the same keys, WIN+Ctrl+Right to get to DeskTop2, 3 or what ever.

     

    I will not be able to use Win+Tab because it gives me absolutely no control, as I see it. It does give me the ability to move my programs around and also close them but that's about it. I wish they would have figured a way to get you onto the actual desktop that they display on top. As it is right now I can do is click. But it does seem like MEP is going get me my results.

    Bob

  6. Is there a control or macro that allows you to open the different desktops that's available in Window 10 pro? Currently I use the "Task View" button that is available on the TaskBar. What I would like to do is create a macro that can load a program onto the DeskTop. I might want to load Excel on Desktop2 and CintaNotes onto DeskTop3, as an example. Than I need to create a separate macro that can take me to the DeskTop2 or DeskTop 3 or which ever is needed. Like-Open DeskTop2. The big thing is loading to a Desktop.

    Bob

  7. In regards to the A Drive, I have been using both A & B Drive's for about 10 years or more. I try to put as little as I can on the C drive for backup purposes. The A drive holds most of my valued data while the B drive wholes my temporary backups.

    A for Actual valued data

    B for BK Backup files before they are moved to the X drive which is the final resting place for my backups. At least until moved to an external drive .

    Not too original but to each their own I guess, right.

    Bob

  8. Yes. I can actually click on CintaNotes in this directory and execute. I can also past it into WIn+R and also execute. In Activate or Launch\Advanced\Program/Path name:

    A:\PRG\Notes\CintaNotes\CintaNotes.exe

    Also activates. Here is the macro I'm using:

    Activate or Launch

    Options

    Select the window command: Activate the window if it exists, otherwise launch the program

    Window Title: Activate or Launch

    Partial Match

     

    Activate or Launch

    Program-Program

    Program/name: A:\PRG\Notes\CintaNotes\CintaNotes.exe

    Run Mode: Normal

     

    Scope

    Window Title: CintaNotes

    The window must be on top (which it is)

    The title is a partial match

    Do not include hidden windows

    Program Name: A:\PRG\Notes\CintaNotes\CintaNotes.exe

    The program must be on top

     

    I also going to CintaNotes to make sure the options are set to be friendly with MEP

    Options\Windows\Always on Top & Minimize to system tray and Close to system tray are turned off.

     

    But, when I run debug in the Macro Express Pro Script Editor I get the following error message:
    On Error:  Window could not be following (0X0006)

     

    Activate or Launch

    This when I debug

     

    My Results when I execute the macro, Using, Run Macro Now

    Strange as it seems:

    It does allow CintaNotes  to load, allowing me to open and close notes. When I exit CintaNotes that's when I see the error the message box, as I listed in my original message.

    Bob

     

     

  9. I'm able to execute my program, go into it and use it and then close it. When I close there was an error message underneath it:
    Script Error
    The following error was encountered:
    Windows could not be found
    Macro Name: CintaNotes-Open
    Line Number: 1

     

    Here is a sample of the code from Direct Editor:
    <ACTIVATE OR LAUNCH Title="Activate or Launch" Exact_Match="FALSE" Wildcards="FALSE" Path="A:\\PRG\\Notes\\CintaNotes\\CintaNotes.exe" Mode="\x00" Default_Path="FALSE" Wait="1"

     

    Not a clue why.

    Bob
     

  10. I'm trying to activate a program with the following code:
    Activate the window if it exists, otherwise launch the program.

    If the program is not active, open, it works very well. But if it is hidden on my taskbar it does not execute properly. The program, CintaNotes allows me to exit by clicking on the "X" in the upper right corner but it is still active on the taskbar. I then can open the program by simply clicking on its icon that is shown on the taskbar. This solution is not desirable.
    Bob

  11. >>In the future, you might get help sooner if you post your macro in a copyable form<<

    I now understand the importance of the code blocks and will use it in the future. When I do my capture of the code I thinking I would use "Copy Command Text" and then a paste.


    >>how the program is using "Copy Org ProCD Test" and "BROWN & BROWN CHEV".<<

    "Copy Org ProCD Test" is the name of my macro.

    "BROWN & BROWN CHEV" I want the Macro to run until it comes up to whatever name I substitute for this value "BROWN & BROWN CHEV". In other words, if my capture was a list of text that start with ABCD, etc. and I substitute "D" as a replacement for "BROWN & BROWN CHEV". The program will stop when it finds "D" as the 1st character or group of characters, in the lines of text being captured.


    Bob


    Example:

    A bob Snow

    B Tom Mix

    C Gene Autry

    D John Wayne

    E Frank Sinatra


    The macro would stop at "D". The macro would also capture all the text, including the 1st character, on each line until it got to line "D".

  12. I made a few changes based on your suggestions.

    Variable Set From Misc: "Name of Current Macro" into %Copy Org ProCD Test%

    Variable Set String %T[1]% to ""

    Text Box Display: Sample Macro: %Copy Org ProCD Test%

    Repeat Until %T[1]% Equals "BROWN & BROWN CHEV"

    Variable Set String %T[1]%: Prompt

    On Error

    Catch Error: The dialog was cancelled

    Variable Set String %T[1]% to "CANCEL"

    End Catch Error

    End Error

    If Variable %T[1]% Equals "CANCEL"

    Break

    End If

    If Variable %T[1]% Does not Equal "BROWN & BROWN CHEV"

    Text Box Display: Wrong Answer

    End If

    End Repeat


    Now I can get the macro to run but not repeat. After it runs it comes up and asked me for the program name. After a bit of testing I figured it was looking for the macro name, "Copy Org ProCD Test". It's clear to me that I don't understand how the program is using "Copy Org ProCD Test" and "BROWN & BROWN CHEV". After it runs it comes up and asked me for the program name. After a bit of testing I figured it was looking for the macro name, "Copy Org ProCD Test". It's clear to me that I don't understand how the program is using "Copy Org ProCD Test" and "BROWN & BROWN CHEV HYUNDAI INC".



    When the text is captured in the main database. It has the following appearance. Note: The line spacing, which is not consistent on all records.

    BROWN & BROWN CHEV HYUNDAI INC

    1400 LOCKE DR

    BOURBONNAIS, IL 60914-9301

    Phone: 815-933-2251


    Listed Since: 2000

    Business


    County: KANKAKEE (17091)

    MSA: KANKAKEE, IL (3740)

    Latitude: 41.164680

    Longitude: -87.849480

    Precision: Geocoded to address precision


    Web Address: www.browndeals.com


    Years SIC Codes

    15+ 551102 - AUTOMOBILE DEALERS-NEW CARS

    13 753801 - AUTOMOBILE REPAIRING & SERVICE

    7 556108 - MOTOR HOMES-RETAIL

    5 751901 - RECREATIONAL VEHICLES-RENTING & LEASING




    I then have to remove all the Line Spacing and add "," so I can import the data into a database. Saving a fraction of a 2nd, regarding looking for may be a faster text editor, will see immense amounts of time. Since I am processing 36,000 records a day, 30 days at a time. This is how the finished data will look before I import into a Table.

    "JOHN A EMERSON PA","714 8TH ST","BALDWIN CITY, KS 66006-6007","Phone: 785-594-6417","Listed Since: 1998","Business","County: DOUGLAS (20045)","MSA: LAWRENCE, KS (4150)","Latitude: 38.775300","Longitude: -95.188740","Precision: Geocoded to address precision","","","Years SIC Codes","15+ 802101 - DENTISTS","",""

    "JOHN A FOSCATO LAW OFFICE","120 S QUINCY ST","GREEN BAY, WI 54301-4020","Phone: 920-432-8801","Listed Since: 1992","Business","County: BROWN (55009)","MSA: GREEN BAY, WI (3080)","Latitude: 44.511300","Longitude: -88.009500","Precision: Geocoded to address precision","","Web Address: www.bankruptcyattorneygreenbay.com","","Years SIC Codes","15+ 811103 - ATTORNEYS","1 729953 - BANKRUPTCY SERVICE"

    "JOHN A GENTLEMAN MORTUARIES","3402 SAMSON WAY","BELLEVUE, NE 68123-4311","Phone: 402-293-0999 Fax: 402-391-1667","Listed Since: 2005","Business","County: SARPY (31153)","MSA: OMAHA, NE-IA (5920)","Latitude: 41.139780","Longitude: -95.964600","Precision: Geocoded to address precision","","Web Address: www.johnagentleman.com","","Years SIC Codes","7 726103 - FUNERAL DIRECTORS","10 726102 - CREMATORIES"

    "JOHN A FOSCATO LAW OFFICE","120 S QUINCY ST","GREEN BAY, WI 54301-4020","Phone: 920-432-8801","Listed Since: 1992","Business","County: BROWN (55009)","MSA: GREEN BAY, WI (3080)","Latitude: 44.511300","Longitude: -88.009500","Precision: Geocoded to address precision","","Web Address: www.bankruptcyattorneygreenbay.com","","Years SIC Codes","15+ 811103 - ATTORNEYS","1 729953 - BANKRUPTCY SERVICE","","","",""

    "JOHN A GENTLEMAN MORTUARY","1010 N 72ND ST","OMAHA, NE 68114-3296","Phone: 402-391-1664 Fax: 402-391-1667","Listed Since: 1990","Business","County: DOUGLAS (31055)","MSA: OMAHA, NE-IA (5920)","Latitude: 41.269320","Longitude: -96.023940","Precision: Geocoded to address precision","","Web Address: www.johnagentleman.com","","Years SIC Codes","9 726105 - FUNERAL PLANS (PRE-ARRANGED)","15+ 726103 - FUNERAL DIRECTORS","13 726102 - CREMATORIES","3 999966 - FEDERAL GOVERNMENT CONTRACTORS","",""

    "BROWN & BROWN CHEV HYUNDAI INC","1400 LOCKE DR","BOURBONNAIS, IL 60914-9301","Phone: 815-933-2251","Listed Since: 2000","Business","County: KANKAKEE (17091)","MSA: KANKAKEE, IL (3740)","Latitude: 41.164680","Longitude: -87.849480","Precision: Geocoded to address precision","","Web Address: www.browndeals.com","","Years SIC Codes","15+ 551102 - AUTOMOBILE DEALERS-NEW CARS","13 753801 - AUTOMOBILE REPAIRING & SERVICE","7 556108 - MOTOR HOMES-RETAIL","5 751901 - RECREATIONAL VEHICLES-RENTING & LEASING","",""



    The above is sample data, not an elf order. My data would be in the proper elf order and I would like it to stop with a name. That's the way the sample seem to work. I probably would've been better to be able to tell the macro to run the next 50 or 5000 records whichever number I put in.


    The macro also stops and wants a program name typed in which defeats the reason for the repeat.


    Bob

  13. I found a sample macro called "Repeat Until". I cannot get it to run. Here are some of my items:
    My macro name is: Copy Org ProCD Test
    I want the macro to run until it sees: John Brown
    This is what the macro seem to suggest.
    Text Box Display: Sample Macro: % Macro Name % (My macro name is: Copy Org ProCD Test)
    Repeat Until %T[1]%Equals "Macro Express Pro": John Brown
    The items in bold are what I substituted.
    My macro is supposed to run, repeat, until it sees the name John Brown. John Brown is first item in a line of text which includes the name, address and phone number.
    Bob
    See is the code:
    Window Activate: More Information
    Delay: 350 milliseconds
    Text Type (Simulate Keystrokes): <ALT>no
    Window Activate: PROCD-Temp.txt
    Delay: 350 milliseconds
    Text Type (Simulate Keystrokes): <CONTROL>A<DELETE>
    Clipboard Paste
    Text Type (Simulate Keystrokes): <CONTROL><HOME>"<END>"<DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE><DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE><DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <DELETE>,"<END>"
    Text Type (Simulate Keystrokes): <SHIFT><HOME>
    Clipboard Copy
    Text Type (Simulate Keystrokes): <CONTROL><SHIFT><END>
    Text Type (Simulate Keystrokes): <DELETE>
    Text Type (Simulate Keystrokes): <CONTROL><TAB>
    Text Type (Simulate Keystrokes): <CONTROL><END>
    Text Type (Simulate Keystrokes): <ENTER>
    Clipboard Paste
    Text Type (Simulate Keystrokes): <CONTROL><TAB>
    Variable Set From Misc: "Name of Current Macro" into %MacroName%
    Variable Set String %T[1]% to ""
    // --------------------------------------------------------
    // Display Introduction and Instructions
    // --------------------------------------------------------
    Text Box Display: Sample Macro: %Copy Org ProCD Test%
    // Repeat until the correct answer is entered
    Repeat Until %T[1]% Equals "BROWN & BROWN CHEV"
    Variable Set String %T[1]%: Prompt
    On Error
    Catch Error: The dialog was cancelled
    Variable Set String %T[1]% to "CANCEL"
    End Catch Error
    End Error
    On Error
    Catch Error: The dialog was cancelled
    Variable Set String %T[1]% to "CANCEL"
    End Catch Error
    End Error
    // Exit the repeat loop if the CANCEL button is clicked
    If Variable %T[1]% Equals "CANCEL"
    Break
    End If
    // If the answer is not Macro Express then exit
    If Variable %T[1]% Does not Equal "BROWN & BROWN CHEV"
    Text Box Display: Wrong Answer
    End If
    End Repeat
  14. I am trying to use "Repeat Prompt Start" when I try to save I get the following error:The macro, "ProCD", contains syntax errors. Sage:

    Do you want to save the macro anyway?


    In the repeat start. I have it set as the following:

    Number of times to repeat: 10

    Number 2 start co-owner on: 1

    Increment the counter by: 1


    Currently I'm just trying to test my macro so I'm only running 10 at time. I have not set the variable since it is rather unfamiliar to me, totally.


    Once I have it up and running. I plan on using the "Repeat Until". This will be based on my using a name as the place to stop. I'm working with an address database. I'm including a sample of the code.

    Bob



    Window Activate: More Information

    Text Type (Simulate Keystrokes): <ALT>no

    Window Activate: PROCD-Temp.txt

    Delay: 350 milliseconds

    Text Type (Simulate Keystrokes): <CONTROL>A<DELETE>

    Clipboard Paste

    Text Type (Simulate Keystrokes): <CONTROL><HOME>"<END>"<DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE><DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE><DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE><DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <DELETE>,"<END>"

    Text Type (Simulate Keystrokes): <SHIFT><HOME>

    Clipboard Copy

    Text Type (Simulate Keystrokes): <DELETE>

    Text Type (Simulate Keystrokes): <CONTROL><TAB>

    Text Type (Simulate Keystrokes): <CONTROL><END>

    Clipboard Paste

    Repeat Prompt Start

  15. I'm trying to enter a valuable on the run and then place it in a exact location in a text line. I am using an Internet explorer substitute called Opus. The data always goes into the 14th position on the line. The value is five characters. So basically I go to the first position of the line hit my macro enter the five digit character and then the Mac role moves 14 positions and places the value, now it drops to the next line, Chartor One, first value ready for another. The macro has to be executed for only some lines, since not all lines have an issue. The following was a weak attempt when not much of a clue:



    Activate or Launch: Window "01 Jan", Program "dopus.exe", Parameters ""


    Wait for Window Title: 01 Jan


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Mouse Right Click


    Text Type (Simulate Keystrokes): <ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT><ARROW RIGHT>


    Wait for Key Press: ENTER


    Text Type (Simulate Keystrokes): <ARROW DOWN>


  16. Not much luck. I'm trying to open Access Window. This is the macro:

    Window Activate: Access*
    Delay: 550 milliseconds
    Wait for Window Title: Access
    Mouse Move: 239, 24 Relative to Current Window
    Delay: 550 milliseconds
    Mouse Left Click
    Wait for Key Press: S
    Mouse Move: 220, 132 Relative to Current Window
    Mouse Left Click
    I added the " * " in desperation.
    Bob
  17. I have a folder on my hard drive that contains hundreds of JPG images. I would like to list them all in a text document.

     

    'm trying to find a way to capture the name of every file and enter the name into a text document. After all of the files are entered into the document my goal is to import the text document into Access.
    I was trying to accomplish this with the use of an Access program. I tried several different forms and no one could come up with a solution. Then I started thinking about Macro Expression. Am thinking that it should be able to do that I just don't know the direction to start with.
    Bob
×
×
  • Create New...