Ah .... -- It is not how old you are, but how you are old. -Jules Renard, writer (1864-1910)...
3525
kenhumanoid
May 1, 2012 6:19 pm
It works! Awesome!! Thank you so much!!! KH...
3526
Philippe Martin
flip_macrobyte
May 1, 2012 6:28 pm
You're welcome! Philippe ... ______________________________________________________________________ Philippe Martin Tips & Tricks for Keyboard Maestro:...
3527
tvalleau
May 2, 2012 7:47 pm
Hi At least on my system (10.7.3 - 24GB RAM), this is true 100% of the time: if KM engine is running, anytime I mount a DMG used for distributing software, the...
3528
David Ferrington
davidferrington
May 3, 2012 10:49 am
I would really like to find a way of figuring out a mouse position within KM via a command - such as, "tell me where I clicked relative to front windows top...
3529
Philippe Martin
flip_macrobyte
May 3, 2012 11:46 am
To make sure recording bases the click on the front window, click on the window to take it to the front first. Otherwise the position is based on the screen. ...
3530
David Ferrington
davidferrington
May 3, 2012 11:52 am
Thanks Philippe - it was probably not clicking on the window first that gave the problem. I think I've just found an app that doesn't like just a click. but...
3531
Peter N Lewis
peterneillewis
May 4, 2012 3:20 am
... There is a text token: %CurrentMouse% and two calculation functions: MOUSEX(),MOUSEY() that return the current mouse location. There are also tokens and...
3532
jeffrey.pecore
May 5, 2012 2:01 am
Does anyone have a macro for this? I've been trying to create one (including using the record feature) and can't get it to work. I just want to create a...
3533
Philippe Martin
flip_macrobyte
May 5, 2012 1:02 pm
Here's what I came up with: And here's the action's text: Cursor position relative to: Screen: ↓ %Calculate%MOUSEY()% / → %Calculate%MOUSEX()% Window: ↓...
3534
davidferrington
May 6, 2012 4:46 pm
Brilliant, thank you - that solves that :-)...
3535
Peter N Lewis
peterneillewis
May 7, 2012 2:06 am
... Very nice! I'll add this to the Macro Library, probably with a Status Menu trigger and a 5 second pause at the start to allow the mouse to be positioned....
3536
Philippe Martin
flip_macrobyte
May 7, 2012 2:19 am
Thank you very much, Peter. I'm glad you like it! Philippe ... ______________________________________________________________________ Philippe Martin Tips &...
3537
Ken G. Brown
kengbrown
May 7, 2012 7:14 pm
I am using macros a lot with Terminal for signing on to servers, typing long remote server commands, etc. I often find that I need to abort the Terminal...
3538
Peter N Lewis
peterneillewis
May 8, 2012 3:21 am
... Yes, the Cancel All Macros action would be an appropriate action to call to stop any currently running macros. A good idea is the simple macro that is...
3539
kaushikgopal@...
kaushikgopal...
May 8, 2012 7:24 am
I love KM too much and i've been using it quite extensively for various operations. I wanted to bounce this off fellow KM users and get their opinions/advice...
3540
j.godsey
May 8, 2012 3:43 pm
I am using version 5.2.1 and the Application Switcher will not show non-running applications or allow me to launch them. How do I correct this. It worked fine...
3541
kengbrown
May 8, 2012 4:20 pm
... So if 'Cancel All Other Macros' were to be added at the beginning of my macro that seems to leave leftovers from a previously cancelled run, would that...
3542
David Ferrington
davidferrington
May 8, 2012 4:55 pm
I wish to run a perl script file and use the output as a display (it's actually the error output stderr if any), but I also want to record a couple of values...
3543
Philippe Martin
flip_macrobyte
May 8, 2012 5:32 pm
I don't know if you're missing something or not, as I don't use Perl, but the Execute action lets you put the result of your script into a variable. Maybe you...
3544
zettt81
May 8, 2012 5:37 pm
Re Q2) Setting a variable to %Delete% is going to release it. Cheers, Andreas...
3545
Philippe Martin
flip_macrobyte
May 8, 2012 5:46 pm
Hi, ... I don't know of such a document, but for things that can be done in different ways, the rules I use are: - use the Move and Click action only if the...
3546
David Ferrington
davidferrington
May 8, 2012 6:34 pm
In this context, Perl is no different from any other script or executable - it runs within it's own context and can not instantiate or affect an environment...
3547
Christopher Stone
ccstone_swrd
May 8, 2012 7:02 pm
... ______________________________________________________________________ Hey David, It looks like you'll have to run it via 'osascript39; embedded in the Perl:...
3548
Philippe Martin
flip_macrobyte
May 8, 2012 7:14 pm
You can set a KM variable from AppleScript that way: tell application "Keyboard Maestro Engine" set myVar to make variable with properties...
3549
David Ferrington
davidferrington
May 8, 2012 9:18 pm
OK, thank you both Chris and Philippe - that's what I was looking for. However if I run osascript ~/Library/Scripts/KM\ Scripts/test.scpt world or even just...
3550
David Ferrington
davidferrington
May 8, 2012 11:01 pm
I can't figure out why this runs to 6 instead of 4 - in the real world, this was running forever with the check for an upper limit. In the following text in...
3551
Philippe Martin
flip_macrobyte
May 9, 2012 12:00 am
It's not visible in your mail, but if %Variable%KMVAR_DL_numberOfQuestions% is misspelled in your condition, that condition will never be false (loops will...
3552
David Ferrington
davidferrington
May 9, 2012 12:16 am
Yep, discovered the prefix bit, now I've got lots of vars to clean up :-) I saw a pop-up once that listed all the vars (along with an + and - button), but I...
3553
Peter N Lewis
peterneillewis
May 9, 2012 3:33 am
... Perhaps at some point you have turned off the display of Always included applications by pressing "a"? Display the switcher, then press "a" to toggle them...