Jump to content
Macro Express Forums


  • Posts

  • Joined

  • Last visited

PITA_Pan's Achievements


Newbie (1/14)



  1. Are you trying to log in to multiple websites unattended?
  2. Try the onscreen keyboard. (Under accessibility options or something in Control panel). position the mouse over any key and execute a mouse button down command---and just let it ride. You can hold any key down. Some of them don't do much but holding the arrow key sure will zip the cursor down a line of text.
  3. Maybe just walk down the dropdown using down arrow keystrokes until you get to the desired item? The number of down arrows used can then be held in a variable. Anything good happen when you open the dropdown and hit the alt key?
  4. As a side note, I tried a Variable restore in D to maybe freshen up %DTV% and it didn't work. I tried passing %DTV% from Macro B (where it was populated) to Macro D (where it is used) via a registry write/read and that does seem to work....at the cost of the write read move and an extra registry entry. Value of %DTV% in the debugger still looks the same either way but the computation works with the 'fresh' %DTV%
  5. I an trying to use the modify decimal command to subtract one decimal variable from another. But I get odd results. Top level macro A contains sub-macro B that populates a decimal variable %DTV% (A decimal time value) Further on in A sub-macro C is called and it in turn has sub-macro D. D uses %DTV% and subtracts another decimal (Called from the registry and parked in %TEMP_REG[%n%]%). The result is placed in %TEMP_DONE[%n%]%. n is incremented and a loop populates n=1 to n=4 Problem is the subtraction gives a strange result: it isn't happening and the result is negative and off by many thousands. What should be 10.789etc. is -40644.789etc. I check A, B, C and D and check that %DTV% is being correctly declared, populated and it is in each macro (Using the debugger). I check %TEMP_REG[%n%]% to make sure it is being populated from the registry correctly and it is. If put macro B (that populates %DTV% in the first place) at the top of macro D so I am creating %DTV% right fresh on the spot then everything works perfectly. Yet the debugger shows the same values for %DTV% and %TEMP_REG[%n%]% no matter how I play it. Only the results in %TEMP_DONE[%n%]% are screwy. <VARIABLE MODIFY DECIMAL Option="\x01" Destination="%TEMP_DONE[%n%]%" Value1="%DTV%" Value2="%TEMP_REG[%n%]%"/> If there is a nesting limit of some sort the debugger isn't showing it---a problem with the calculations?
  6. %line% is not %line[1]% FWIW. If you just wanted to strip the number, why do you want to retain the text: "phone:'? if you want to see it maybe display a message box with the variable containing it as the message? (this for debug purposes) If the text "phone:" is sometimes that string and sometimes something else, then you need to test it to see what it is to suit your purpose. This will require that you know the range of possibilities for it.
  7. I am trying to copy text from one file and paste it into another file. But when I use the Clipboard File Copy / Paste sequence I get the text pasted twice in the new file. No amount of sprinkling Clipboard Empty commands or delays or fiddling with timing makes any difference. I even tried Exiting MEP and restarting it, rebooting, etc. (which seems to help sometimes with execution of deleted or disabled commands) Ideas anyone? Known bug?
  8. Spamming craigslist is a bad idea. No matter what money you spend, you will eventually come to grief and your money will be wasted. CL uses timers on the posting forms to limit how quickly you can post. If your account is compromised (like by pissing off your local community by posting too much) you will be lucky to be able to post one ad an hour (and have it not get ghosted). For that, you can just post them by hand. If you use a CL account reposting an ad is very fast unless, once again, you have pissed people off, and then you probably won't be able to use HTML in an ad which means uploading any pics manually---very slow.
  9. I partially agree. I'm accumulating quite a list of suspected bugs too. Also a list of obvious features that are missing----present here but absent there (WHY?). Overall it shakes your faith. Is there an error in your code or is it a bug? Once you have a hit a more obvious bug and realize they exist.... I sent in two, others await confirmation. But I really hear ya on being a free beta tester, that chaps. Give it to me and I'll beta test it, but drop 60 clams for the privilege? One thing I have noticed is the longer you have the editor running the flakier it gets. Between 12 and 14 hours of strait work it craps out. Best to reboot (not restart the program, it leaves processes loaded)at 8 hours or so. (and I got 4G of RAM already!. Win7u)
  10. Wipe the Variable contents immediately before the prompt?
  11. I am prompting my user for a Date and Time and storing this in a date/time variable. I want them to know the context of the Date and Time they are entering however this changes so I put a text variable in the "prompt" field of the Date/Time dialog box. But when I run I don't get the contents of the text variable, I get the literal name of the variable itself (%TEST%). <VARIABLE SET STRING Option="\x00" Destination="%TEST%" Value="foo" NoEmbeddedVars="FALSE"/> <DATE/TIME Flags="\xB3" Date="3/31/2011 9:25:35 AM" Day_Offset="0" Month_Offset="0" Year_Offset="0" Hour_Offset="0" Minute_Offset="0" Second_Offset="0" Prompt="%TEST%" Left="Center" Top="Center" Monitor="0" Variable="%OPEN_SI%" IsDateVar="TRUE"/> Using a variable as a prompt works in other prompts, but not this one. This works well: <VARIABLE SET STRING Option="\x00" Destination="%TEST%" Value="foo" NoEmbeddedVars="FALSE"/> <VARIABLE SET INTEGER Option="\x01" Destination="%N[1]%" Prompt="%TEST%" Mask="FALSE" OnTop="FALSE" Left="Center" Top="Center" Monitor="0"/> Ideas? BTW, in the case of bugs, is there any way to review what has already been submitted?
  12. Will the macro run with some activation other than the keyboard hotkeys?
  13. Looks like the registry write command supports the C variables. I set up my own branch under HKCU called AA_MyStuff so it's both writable and easy to find. Add a Binary key called C1 or something and dump to that. Retrieve later. If I could figure out the whole bit with controls I'd test it....
  14. Locate your starting cell with a VBA macro in Excell. Pick a cell one above your first data cell in the column. Color it blue (thank me later, it's for debugging). Turn on the Excell VBA toolbar (view/tool bars/visual basic). Press the round Record Macro button. A dialog pops up. Use the default macro name and description unless you are going to be making a lot of them. leave the default selection to save the macro in the worksheet. assign a hotkey (you may not use c). Put your cursor in the box to ad a letter, hold down the shift key (another thank me later) and hit a key. Now go to the blue cell with the mouse and click it. Then go to the Visual Basic tool bar and click the square to stop the recording. The VBA MAcro is not recording the mouse moves or keystrokes, it's recording commands (clicks and what you click on, what a keystroke does, etc. open the VBA editor to see the code) Done. Try out the hot key. In your ME macro, call the hot key with the text type command. If you are going to be adding or subtracting columns you can use a slightly different routine. Name the blue cell (ctrl+F3) then us the visual basic macro to hit F5 (brings up the name selector dialog), then the mouse to select a name and hit OK. Again, assigned to a hot key for ME to use. Once located on the blue square, use an arrow down loop with a counter that increments by 1 to go to the next cell down . It starts at the top every time. Watch your speed.
  • Create New...