Macro, help please

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Two macros “transl†and “write†created with RemoteKeys
(http://www.freewarehits.de/RemoteKeys.htm) work in WinXP, but not in Vista.
I found in this newsgroup (SendKeys.SendWait don't work in Vista), that a
file RemoteKeys.exe.manifest might work.

But I don’t know how to create that file in the folder where RemoteKeys.exe
reside. Please help.

Here are details:

transl : copies Russian word and proposes English translations
{/BTCH.EXPLICIT}
{/BTCH.REM clear clipboard}
{/CLIP.CLEAR}
{/BTCH.REM highlight Russian word}
{HOLD.SHIFT/CONTROL}{KEY.RIGHT}
{/BTCH.REM copy Russian word}
{HOLD.CONTROL}{KEY.INSERT}
{/BTCH.REM move cursor behind word}
{HOLD.CONTROL}{KEY.RIGHT}
{/BTCH.REM open dictionary}
{/APP.OPEN iexplore,
http://www.multitran.ru/c/m.exe?a=ShowTranslations&SearchPhrases=ON&MatchCase=0&ShowLinks= ON&HL=2&L1=1&L2=2}
{/BTCH.REM wait3 sec}
{/BTCH.DELAY 3}
{/BTCH.REM paste Russian word}
{HOLD.SHIFT}{KEY.INSERT}
{/BTCH.REM click search}
{KEY.ENTER}
{/BTCH.REM job done}


write: copies English translation and writes it into Russian text
{/BTCH.EXPLICIT}
{/BTCH.REM clear clipboard}
{/CLIP.CLEAR}
{/BTCH.REM select and highlight by hand English translation}
{/BTCH.REM copy English translation}
{HOLD.CONTROL}{KEY.INSERT}
{/BTCH.REM close dictionary}
{/APP.TOFRONT.Microsoft Internet Explorer}
{HOLD.ALT}{KEY.F4}
{/BTCH.REM switch back to Word}
{/APP.TOFRONT Microsoft Word}
{/APP.ACTIVATION.LAST}
{/BTCH.REM wait 2 sec}
{/BTCH.DELAY 2}
{/BTCH.REM paste translation}
{HOLD.SHIFT}{KEY.INSERT}
{/BTCH.REM job done}

RemoteKeys.exe.manifest

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<asmv3:trustInfo xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:security>
<asmv3:requestedPrivileges>
<asmv3:requestedExecutionLevel
level="asInvoker"
uiAccess="true" />
</asmv3:requestedPrivileges>
</asmv3:security>
</asmv3:trustInfo>
</assembly>

Thanks in advance, Gerhard
 
Hi Gerhard,

To create a manifest file, right click on your Project in Visual Studio
Solution explorer environment, then Add New Item and select Text File. Then
rename the file to RemoteKeys.exe.manifest.

Hope this helps,
Glenn
 
Back
Top