Jump to content
Macro Express Forums

terrypin

Members
  • Posts

    2,228
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by terrypin

  1. Stan: Presumably you'll post here when it does get released? I see nothing yet at http://www.macros.com/download.htm Saturday 17 January 2009, 09:04 UK time -- Terry, East Grinstead, UK
  2. Steve, I can confirm identical behaviour. On maybe half a dozen occasions in the last few months, first with ME 3 and then with ME Pro, I've been perplexed to find it time out in under a second despite being set typically to 5 sec. Meant to post about it but never got around to it. I suggest a formal bug report. -- Terry, East Grinstead, UK
  3. OK, I see what you mean now. Can't think of an easy solution though. I use the Prefix method, so I'd be typing '##sid' whenever I wanted to get 'system identifier'. Are you firmly set on Suffixes with a semicolon activator? If you use that combination a lot, it seems to me that you're going to run into problems with words that happen to end in your shortkey string and could unwantedly trigger your macro. -- Terry, East Grinstead, UK
  4. Thanks, I'll have a go tomorrow afternoon Cory. But from what you say I suspect it's down to me, so I'll do some more methodical tests. -- Terry, East Grinstead, UK
  5. Are you saying that macros to which you've assigned a shortkey are being triggered when you press Space followed by Enter? Or by one or other of these, which I believe should be the case? What do you have as your Prefix or Suffix in Options > Preferences > Shortkeys? It sounds as if you're using a Suffix? If so, I'm not clear why you would want to disable those final activation keys? Have you read the Help on this, as there are several points to watch out for? -- Terry, East Grinstead, UK
  6. I'm still getting more odd behaviour I can't understand. This is nothing to do with the recently discussed '%xx%' issue that Stan posted a conclusion about yesterday. I've been baffled to find that I'm not being offered the use of a named variable that I've already used in another command in that same macro. When I look a little closer, I discover that it's because it's being shown under the wrong type. For example I had this command in place to enter a reading into a box: Text Type (Simulate Keystrokes): %ElecMeter%<TAB> That was specified as an Integer variable. But when I tried to add another command using ElecMeter, it didn't exist under Integer but under Text Variables. Any feedback before I report this as another bug please? In particular, I recall this sounds similar to a problem raised by Scasper recently? In the absence of any 'Bugs reported' list from ISS, I don't want to duplicate bug submissions, but neither do I want to let any fall through the cracks. -- Terry, East Grinstead, UK
  7. I agree, that's just unacceptable IMO. Context Help means just that - in context, right there at the click of a button or the press of a key. I've come across lots more examples since my posts in the thread http://pgmacros.invisionzone.com/index.php?showtopic=3449, #4 and #10. And so far I've had no response to the question I asked Kevin in post #7, about restoring this loss of help functionality from ME 3. -- Terry, East Grinstead, UK
  8. Pleased to hear that, Stan. I don't suppose you can give us some idea when the next release (presumably including that fix) will come out please? -- Terry, East Grinstead, UK
  9. I reproduced that exactly. I made no changes. I pasted your code in directly and assigned it a hotkey activation of Alt+F8. ME3 was not running. 1) Running it on this thread consistently gave the error on Line 7 which we've both reported previously. 2) Running it on my text editor, TextPad, or Notepad was consistently OK. (Observing that as it stands your macro is case sensitive.) 3) Running it on this alternative thread Cannot scope a pop-up menu here in the same ME Pro forum, it ran but gave the wrong result on all the words I tried, e.g. 'specifying', 'dialog', 'spending'. 4) Running it on a dozen or so other sites, I found only two that gave the error under discussion: this thread and the one that spawned it in the ME3 forum, http://pgmacros.invisionzone.com/index.php...amp;#entry13351 (That seems to support your suspicion that it's HTML related.) Several gave the other error reported in 3) above. Also, a couple of times during maybe 20-25 tests the macro didn't run at all. I hit Alt+F8 a second time and it ran (with the above results) so I suppose it's possible I didn't tap the keys hard enough. Or maybe it needs an additional delay at the very start. Anyway, I mention it in case it offers any clues. I'm assuming you've reported this via the ISS Bug Report page? (For any other interested users who don't have the link to hand, that's at http://www.macros.com/bugreport.htm ) It would be helpful if ISS could give us a summary of the state of play on this and other related 'ME Pro Variable Issues', including: a] What previously (beta test) reported problems ISS say are already fixed and working in the current release (the one we're all using). (Such as the 'it' in my recent exchange with Cory.) b] What ME Pro (current release) reported bugs about variables are now recognised (including this one). c] Which of these are now fixed and awaiting inclusion in the next release - hopefully imminent. -- Terry, East Grinstead, UK
  10. I somehow posted my reply in wrong forum. Will repost in ME Pro Forum. -- Terry, East Grinstead, UK
  11. Steve, That error about variable type is exactly what I was getting earlier. Yet as you probably saw from my subsequent reply to Stan, a repeat run of the same macro a few hours later did not give the error. This sort of inconsistent behaviour is why I feel that ME 3 Pro is still flakey in the variables area, but without being able to pin it down. -- Terry, East Grinstead, UK
  12. Done a few minutes ago! Yep, exactly what I found. Thanks Cory. Another of the many similar examples. As I expect you did, hitting F1 ( in the absence of a button ) was about the first thing I tried. -- Terry, East Grinstead, UK
  13. In ME 3 I could set the scope of a pop-up menu to a window title, but ME Pro won't do this. I add the entry specifying scope to a window title (partial match) in the standard dialog. But after clicking OK and Save & Close, when I reopen the macro's properties the scope is back to Global again. I seem to be spending most of the time that I'm using ME Pro in trying to isolate and report problems. -- Terry, East Grinstead, UK
  14. Thanks Jeff. I've now also reported it via the Bug Report page. Presumably this bug is confined to macros of pop-up menus. I haven't checked it out in ME 3, have you? In my case I use a prefix of '##' for all shortkeys. I've had to swap activation to a hotkey. But not only are those becoming harder to remember but it's getting difficult to find any that don't conflict with shortcuts in other applications. Firefox for example turns out to have quite a lot I wasn't aware of until I activated them inadvertently. -- Terry, East Grinstead, UK
  15. I assigned a shortkey 'ff' to a macro for a pop-up menu (of macros related to Firefox). But when I use Save & Close I get "The ShortKey activation may conflict with one or more macros. You may have multiple macros launched when using this activation.". Yet in the full list sorted by Activation there is no other macro of any type shown with this activation 'ff'. I tried restarting ME Pro but no difference. Anyone else seen similar behaviour please? -- Terry, East Grinstead, UK
  16. Not sure how we got onto this topic of ME 3 versus ME Pro? I'm still posting occasional hopefully helpful replies in ME 3, despite registering ME Pro on its announcement. And of course there's sometimes overlap, such as on issues of changes between the two - not all positive. But I expect all of my own queries will continue to be in this forum. Leaves me wondering what 'it' is! Stan: Thanks for the follow-up about the 'Find' macro. Just a couple of final observations to close off that sub-topic. When I ran my ME Pro macro again late last night, it worked! To the best of my knowledge I'd done nothing (except have dinner and watch some TV) since the repeated occasions when it didn't work, giving that error I described. So I'm still not 100% comfortable, suspecting some intermittent issue or conflict. If there's any similar behaviour I'll report it in a fresh thread. -- Terry, East Grinstead, UK
  17. Many thanks Steve, your macro worked fine (with just one added 100 ms delay after the tab change). -- Terry, East Grinstead, UK
  18. Thanks Stan. As you saw from my slightly later follow-up post, I was beginning to come to that conclusion too, i.e. that you have to redefine every variable in the new macro. Which somewhat undermines the value of flexible variable names IMO. But I do now understand that aspect. But I still think something is buggy about variables. Apart from Cory's post, which seems pretty clear cut, and Scasper's comments, can you take a look at my ME Pro macro in the following thread please. http://pgmacros.invisionzone.com/index.php?showtopic=3507 It looks to me as if ME Pro is forgetting or changing variable types somehow. -- Terry, East Grinstead, UK
  19. I wonder if the same sort of problem is behind my failure to get your ME 3 'Find a word' macro working in ME Pro? (See my post in ME 3 forum.) I've repeatedly tried it, redfining T1 and T2 from scratch, but ME Pro still fails to run it, yet in ME 3 it's perfect. -- Terry, East Grinstead, UK
  20. Works perfectly here Steve - and a lot neater than my roundabout method! Oddly, so far I haven't got it working in ME Pro. Here's my code. Variable Set String %T[1]%: Prompt Text Type (Simulate Keystrokes): <CONTROL>a Delay: 100 milliseconds Clipboard Copy Delay: 100 milliseconds Variable Set String %T[2]% from the clipboard contents If Variable %T[2]% Contains "%T[1]%" Text Box Display: Peform "Yes" function Else Text Box Display: Peform "No" function End If Macro Return <VARIABLE SET STRING Option="\x01" Destination="%T[1]%" Prompt="What Word are you looking for?" Mask="FALSE" OnTop="TRUE" Left="Center" Top="Center" Monitor="0"/> <TEXT TYPE Action="0" Text="<CONTROL>a"/> <DELAY Flags="\x02" Time="100"/> <CLIPBOARD COPY/> <DELAY Flags="\x02" Time="100"/> <VARIABLE SET STRING Option="\x02" Destination="%T[2]%"/> <IF VARIABLE Variable="%T[2]%" Condition="\x06" Value="%T[1]%" IgnoreCase="FALSE"/> <TEXT BOX DISPLAY Title="Peform \"Yes\" function" Content="{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\lang2057\\f0\\fs16 This box represents what will happen if the search-for word exists.\r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="TRUE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> <ELSE/> <TEXT BOX DISPLAY Title="Peform \"No\" function" Content="{\\rtf1\\ansi\\deff0{\\fonttbl{\\f0\\fnil Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\lang2057\\f0\\fs16 This box represents what will happen if the search-for word does not exists.\r\n\\par }\r\n" Left="Center" Top="Center" Width="278" Height="200" Monitor="0" OnTop="TRUE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> <END IF/> <MACRO RETURN/> Neither message appeared. Just finished with all text selected in FF. And, although there were no error messages when saving the macro, after it ran I saw "Line 7: Debug Error: Undefined variable or the variable is the wrong type" -- Terry, East Grinstead, UK
  21. I'm puzzled, as I've just had an email reply from Stan saying that this was fixed and is working in the current release. (Although Stan points out that this now only works in Global Variables, not Local, not that that bothers me as I barely understand the distinction!) Although I've replied to Stan, saying that doesn't square with my understanding, after a little more thought I wonder if there's some ambiguity about the problem? The reason I'm saying it doesn't work is illustrated in this composite screenshot: So, the issue here is that when writing Macro2 I'm not getting access to the variable I defined in Macro1. Is that what others are finding? If so, is that a bug or what you could generously call a design flaw? IOW, that you have to create the variable again in every new macro (with exactly the right name)? -- Terry, East Grinstead, UK
  22. Interesting challenge! The following seems to work OK. Note that it is exact. For example, using a target of 'technique' it reported a hit, while ''techniques' did not. The key idea was to test the colour of the Find box. The exact pixel position of the point to click in that box will depend on your screen resolution, so find that with the Mouse Locator and change that command accordingly. // Firefox - Prompted search-camaro92 // Allow user to enter required string Variable Set String %T1% from Prompt // Activate FF if not already uppermost If Not Window Title "Mozilla Firefox" on top Activate Window: "Mozilla Firefox" End If // Open the FF Find box and paste in the target Text Type: <CONTROL>f Delay 100 Milliseconds Text Type: %T1% Delay 100 Milliseconds // Test the colour of the Find box Mouse Move Window 184, 1081 Get Pixel: Under Mouse into %N1% // If colour is WHITE (16777215) then there is a hit. If Variable %N1% = 16777215 Text Box Display: Result Delay 100 Milliseconds Else Text Box Display: Result Delay 100 Milliseconds End If Macro Return <REM2:Firefox - Prompted search-camaro92><REM2:Allow user to enter required string><TVAR2:01:02:FEnter your search targetTFCenter:Center><REM2:Activate FF if not already uppermost><IFOTH:11:2:Mozilla Firefox><ACTIVATE2:Mozilla Firefox><ENDIF><REM2:Open the FF Find box and paste in the target><TEXTTYPE:<CONTROL>f><MSD:100><TEXTTYPE:%T1%><MSD:100><REM2:Test the colour of the Find box><MMW2:184,1081><GETPXM:1><REM2:If colour is WHITE (16777215) then there is a hit.><IFVAR2:2:01:1:16777215><TBOX4:T:4:CenterCenter000278000200:000:ResultThe word %T1% has been found and is highlighted by Firefox on this page.><MSD:100><ELSE><TBOX4:T:4:CenterCenter000278000200:000:ResultThe string %T1% has NOT been found, as you can tell by the red shading of the Find box.><MSD:100><ENDIF><MRETURN> -- Terry, East Grinstead, UK
  23. Any Firefox users around please? I'm sure this must be easy but so far inspiration eludes me! With a Firefox window active, what's the simplest way to count how many tabs are open please? -- Terry, East Grinstead, UK
  24. I understand from Cory's post at the end of this thread that this serious bug (Variable Restore not working) was reported back in November. Has it been fixed yet please? When will a patch be available? I'm going to have to return to ME 3 to write any macros using common variables, which is a real nuisance. -- Terry, East Grinstead, UK
  25. The messages about syntax errors in ME Pro are not explicit, a backward step from ME 3. For example, I have an 'orphan' End If command at the end of a long macro. In ME 3, when I save it from Script Editor I get this helpful message: You have an extra "EndIf" command that does not have a matching "If" command. The macro will ignore this command. However, its placement may not be what you intend and could cause the macro not to function as expected. Would you like to make the necessary changes now? But in ME Pro, I get this far less helpful message, leaving me to search for the error(s). The macro, "Test", contains syntax errors. Do you want to save the macro anyway? I've posted a Feature Request for the restoration of this. -- Terry, East Grinstead, UK
×
×
  • Create New...