Jump to content
Macro Express Forums

nkormanik

Members
  • Posts

    57
  • Joined

  • Last visited

Posts posted by nkormanik

  1. 4 hours ago, Samrae said:

    A Macro Express "Global" variable is only global to a single macro thread. In other words, to a specific macro and any macros launched by that macro via the Macro Run command. A variable set or changed in a secondary macro will not affect a variable in the primary macro, even if the variable name is the same.

    As suggested previously, to do what you want you will need to create a secondary macro that modifies and stores the value in an external location such as a file or the registry. The primary macro will need to read the value from the external location.

    Banging my head against the desk over this one.  Was trying to use Save All Variables and Restore All Variables to try to get the two (etc.) macros to be on the same page, i.e., using the same variable between them.

    One would think Macro Express would have a truly Global variable option, that ALL macros have access to.

     

  2. Perhaps simpler approach.  Just use Macro Express variable.  What I tried below doesn't seem to work, however.  Any suggestions or comments?


    Start (Enter):

    <VARIABLE SET DECIMAL Option="\x00" Destination="%Speed%" Value="1"/>
    <REPEAT START Start="1" Step="1" Count="1000" Save="FALSE"/>
    <MACRO PLAYBACK SPEED Speed="%Speed%"/>
    <TEXT TYPE Action="0" Text="<PAGE DOWN>"/>
    <DELAY Flags="\x01" Time="5"/>
    <END REPEAT/>


    Slower (keypad -):

    <VARIABLE MODIFY DECIMAL Option="\x02" Destination="%Speed%" Value1="%Speed%" Value2="1.1"/>


    Faster (keypad +):

    <VARIABLE MODIFY DECIMAL Option="\x02" Destination="%Speed%" Value1="%Speed%" Value2=".9"/>
     

     

  3. More guidance please.  Error:  I set the 'default' value to 1.0.  Should one create a new key?  String value?  Binary value?  DWORD?

    HKEY_CURRENT_USER\Software\Insight Software Solutions\Macro Express 4\$Temp\MacSpeed\

    The variable, "", is not a valid variable. Please use a variable of the following type:
      Text Variables
      Integer Variables
      Large Integer Variables
      Decimal Variables
      Date/Time Variables
      Boolean Variables
      Control Variables
      Handle Variables
    Please correct.

  4. Do you prefer saving the MacSpeed number into the Registry?  Why?  Is there an alternative, like, for instance, just the clipboard?

    How would one get the changed MacSpeed number into the Registry?  A normal registry key file?

    So, let's assume the default MacSpeed is 1.0.

    We want to change that number to 1.1.  Then to 1.2.  Then 1.3.  Etc.

    All by changing the MacSpeed number held in the Registry value?

    Perhaps by setting on the desktop several registry key files, for each speed, and double-clicking on those respective files?

    MacSpeed 1.0.reg

    MacSpeed 1.1.reg

    MacSpeed 1.2.reg

  5. I would really like to be able to control the Macro Playback Speed using, say, the arrow keys (or some other would be fine, too).

    Let's assume a start-up speed at the default 1.0.  Pressing the up arrow would increase the speed to, say, 1.1.  Pressing again, 1.2.  Etc.

    Pressing down arrow would reduce speed to 0.9.  Again, 0.8.

    What's the possibility of being able to accomplish this?

    Thanks!

    Nicholas Kormanik

     

     

  6. Background:  

    I like FBReader for reading .epubs.  Terrific program.  Except for one major omission.  For many years I've asked the developers to incorporate an auto-page-advance feature.  But no reply.

    One has to manually hit page-down to go to the next page.

    I can program Macro Express to hit Page Down, repeatedly, every so many seconds -- fixed speed.  Not a big deal.

    But..., there's likely a better way.

    Challenge and Request:

    Ideally.  Program the keypad (+) and (-) keys to increase or decrease the speed of hitting the Page Down key.  Perhaps at 5% increments or whatever.

    In other words, user brings up FBReader, and some .epub (but probably would work with any such reader or word processing program).  Start auto-page-advance by hitting the keypad (+) key.  Suppose the initial default is 30 seconds per page.  If that's too slow, hit the (+) key again, and the speed to next page-turn is faster.  Hit again, and faster still.

    If the 30-seconds per page is too fast, hit the keypad (-) key.  And the page-turn is then made slower.  Hit again, slower still.

    Whaddya think?  Doable?

    Thanks much!

    Nicholas Kormanik

  7. Thanks for the encouragement!  Hope the feature makes it into the next release.

    In the meantime, someone here please show the most efficient way of checking a HORIZONTAL LINE, say 10 pixels across.

    Actual case I'm dealing with involves navy blue text on a white background, on a particular web page.  Trouble is, page gets refreshed, and the text moves slightly from where it was before.  A horizontal line could catch it, though.
     

×
×
  • Create New...