[align=left]Let me see if I can remember the code I wrote for this, I only dual box by the way...[/align]
[align=left]
Code:
// Usage ------------------
// <applyTemplate SendModKey Shift 1>
// Send '1' to w1 and Shift 1 too w2
// Change the Shift or the 1 depending on the key or modifier you want.
<template SendModKey>
<Hotkey %2%>
<If ActiveWinIs wow1>
<SendLabel w1>
<Key %trigger%>
<SendLabel w2>
<Key %1% %trigger%>
<else>
<SendLabel w1>
<Key %1% %trigger%>
<SendLabel w2>
<Key %trigger%>
</endtemplate>
[/align]
or
Code:
// -------- USAGE ---------
// <applytemplate SendModKey 1 Shift 3>
// Send '1' to foreground, send Shift 3 to background.
// Drawback is you have to supply a modifier, so you can not
// send an unmodified keystroke to the background window.
<template SendAltModKey>
<Hotkey %1%>
<If ActiveWinIs wow1>
<SendLabel w1>
<Key %trigger%>
<SendLabel w2>
<Key %2% %3%
<else>
<SendLabel w1>
<Key %2% %3%>
<SendLabel w2>
<Key %trigger%>
</endtemplate>
[align=left]I think thatll do...[/align]
Connect With Us