« 'Alarms Your Way' For Getting Things Done On Time | Main | Quick and Easy Statistical Analysis »

Free Workaround for Macros Not Executing in Premium Edition

If you were use to kicking off Automated Processes or some other automated set of keystrokes upon first logging into GoldMine, you'll realize quickly that stopped working in GoldMine Premium Edition.

... you'd use something like k:\goldmine\gmw.exe /u:user /p:password /m:macronumber

Here's a free way to get around that.  

Open up Notepad and copy and paste this code:

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "k:\goldmine\gmw.exe /u:username /p:password"
Do Until Success = True
    Success = objShell.AppActivate("GoldMine")
    Wscript.Sleep 1000
Loop
objShell.SendKeys "{ENTER}"
WScript.Sleep 30000
objShell.SendKeys "%T"
WScript.Sleep 1000
objShell.SendKeys "E"
WScript.Sleep 1000
objShell.SendKeys "S"

Then save the file as "launchgm.vbs".  Double-clicking on it or putting it in your Windows Startup folder will launch GoldMine, login, wait 30 seconds, then type Alt-T, wait 10 seconds, type E, wait 10 seconds then type S.  

 

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on May 19, 2008 11:32 PM.

The previous post in this blog was 'Alarms Your Way' For Getting Things Done On Time.

The next post in this blog is Quick and Easy Statistical Analysis.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34