<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Office of Information Technology Blog &#187; Calendars</title>
	<atom:link href="http://blog.oit.wvu.edu/category/calendars/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.oit.wvu.edu</link>
	<description>OIT’s technology blog for WVU faculty, staff and students</description>
	<lastBuildDate>Fri, 20 Nov 2009 20:25:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automating the gMigrate Program</title>
		<link>http://blog.oit.wvu.edu/2009/08/04/automating-the-gmigrate-program/</link>
		<comments>http://blog.oit.wvu.edu/2009/08/04/automating-the-gmigrate-program/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:21:43 +0000</pubDate>
		<dc:creator>Roman Olynyk</dc:creator>
				<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Groupwise]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://blog.oit.wvu.edu/?p=1287</guid>
		<description><![CDATA[A technique to automate the GroupWise calendar migration program, gMigrate]]></description>
			<content:encoded><![CDATA[<p>Back in April 2009, I wrote about <a href="http://blog.oit.wvu.edu/2009/04/07/gmigrate/">Getting Your GroupWise Calendar on an iPod Touch (a penny-pincher’s solution)</a>. This trick lets you use a free program called gMigrate to migrate your GroupWise calendar over to Google Sync (Beta), which in turn synchronizes your calendar with your iPhone or Touch. This synchronization process is entirely manual, however. You have to run gMigrate whenever you update your GroupWise calendar and want to have that information to appear on your iPhone. Well, that&#8217;s not entirely true any more. With a little bit of Windows tweaking, I can show you how to automate this process.</p>
<p>In a nutshell, we are going to use a freeware scripting language called AutoIt to run the gMigrate program for us, and then we are going to use the <a href="http://blog.oit.wvu.edu/2009/08/04/creating-a-scheduled-task-in-windows">Windows Scheduled Tasks utility</a> to automatically run the script.</p>
<h2>AutoIt</h2>
<p><a href="http://www.autoitscript.com/autoit3/">AutoIt</a> is a freeware scripting language, which can be used to automate the Windows graphical user interface. It will work on Windows 2000, XP, 2003, Vista, and Windows Server 2008. One of AutoIt&#8217;s cool features is a Windows Info monitor, which you use to determine the ID numbers of command buttons. Once you know those IDs you can write an AutoIt script that will execute a program and interact with it by clicking specific command buttons. In addition, you can also complile the script into an executable file.</p>
<p>The download page for AutoIt is here: <a href="http://www.autoitscript.com/autoit3/downloads.shtml">http://www.autoitscript.com/autoit3/downloads.shtml</a>.</p>
<p>Assuming that you have already configured your gMigrate with your GroupWise and GMail account information, here is a simple script that will run gMigrate and click the appropriate command buttons:</p>
<blockquote><p>; gMigrate Automation by Roman Olynyk, 8/4/2009<br />
Run ( &#8220;C:\Program Files\gMigrate\CompanionLink.exe&#8221;)<br />
WinWaitActive(&#8221;gMigrate&#8221;, &#8220;&#8221;, 10)<br />
ControlClick (&#8221;gMigrate&#8221;, &#8220;&#8221;, &#8220;[ID: 1881]&#8220;)<br />
WinWaitActive ( &#8220;gMigrate&#8221;, &#8220;Completed Synchronization&#8221;, 20)<br />
ControlClick (&#8221;gMigrate&#8221;, &#8220;&#8221;, &#8220;[ID: 2]&#8220;)<br />
ControlClick (&#8221;gMigrate&#8221;, &#8220;&#8221;, &#8220;[ID: 1]&#8220;)</p></blockquote>
<p>I saved my script with the name &#8220;automigrate.AU3.&#8221; Here&#8217;s what this script does:</p>
<ol>
<li>Comments begin with semi-colons</li>
<li>The Run command needs the exact path. In this script I am using the default installation path for gMigrate. If your path is different, change it here.</li>
<li>The WinWaitActive command will wait for up to 10 seconds for the dialog box titled &#8220;gMigrate&#8221; to appear.</li>
<li>Once the dialog box appears, simulate a mouse click to the &#8221; Migrate&#8221; command button (ID 1881).</li>
<li>After clicking, wait for up to 20 seconds for the message &#8220;Completed Synchronization&#8221; to appear.</li>
<li>When &#8220;Completed Synchronization&#8221; dialog appears, click the OK button (ID 2).</li>
<li>Finally, clicking the OK button (ID 1) on the gMigrate dialog causes that program to close.</li>
</ol>
<p>That&#8217;s it. This is a bare-bones script. A more careful programmer can add proper error handling routines to allow for instances where the gMigrate program might fail. Also, this script will run as a foreground task, as I have not added any commands to hide its operation from the user.</p>
<p>You can test out the script by right-clicking over the AU3 file and selecting &#8220;Run Script&#8221; from the top of the menu. Once you are satisfied with the operation, you can go to the Tools menu of the SciTE4AutoIt3 program editor and run the complile command, which will convert your script into an executable file.</p>
<p>In a <a href="http://blog.oit.wvu.edu/2009/08/04/creating-a-scheduled-task-in-windows/">separate posting</a>, we&#8217;ll talk about how you can configure Scheduled Tasks in Windows to periodically run your migration script.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oit.wvu.edu/2009/08/04/automating-the-gmigrate-program/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a Scheduled Task in Windows</title>
		<link>http://blog.oit.wvu.edu/2009/08/04/creating-a-scheduled-task-in-windows/</link>
		<comments>http://blog.oit.wvu.edu/2009/08/04/creating-a-scheduled-task-in-windows/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 14:54:40 +0000</pubDate>
		<dc:creator>Roman Olynyk</dc:creator>
				<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Groupwise]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://blog.oit.wvu.edu/?p=1272</guid>
		<description><![CDATA[The Windows Scheduled Task utility can be configured to run a script file that can migrate your GroupWise calendar to your iPhone or Touch]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.oit.wvu.edu/2009/08/04/automating-the-gmigrate-program/">Previously</a>, I showed you how you can use <strong>AutoIt</strong> to create a simple script that will click through the gMigrate program. Once you have turned your script into an executable file, you can now tell Windows to run it at certain intervals. The following instructions assume that you are using Windows XP.</p>
<ol>
<li>In the Windows XP Control Panel, select the <strong>Scheduled Tasks</strong> command.</li>
<li>With Scheduled Tasks open, double-click on the &#8220;Add Scheduled Task&#8221; icon, which should be at the top of the list of tasks.<br />
<img class="alignleft size-full wp-image-1274" src="http://blog.oit.wvu.edu/files/2009/08/scheduled_tasks.png" alt="scheduled_tasks" width="128" height="19" /></li>
<li>A Scheduled Task Wizard will appear; click <strong>Next&gt;</strong> to continue.</li>
<li>The Scheduled Task Wizard will display a list of programs from which you can select. Your automigrate program will not be in this list, so you must use the <strong>Browse</strong> command button to locate and select it.</li>
<li>Once you have selected the program, the wizard will ask you to type in a name for the task, followed by a group of radio buttons for when you would like this task performed. I chose &#8220;Daily.&#8221;<br />
<img class="alignnone size-medium wp-image-1275" src="http://blog.oit.wvu.edu/files/2009/08/automigrate_sched-300x221.png" alt="automigrate_sched" width="300" height="221" /></li>
<li>After clicking <strong>Next&gt;</strong> again, the Scheduled Task Wizard asks you to select the time and day when you would like the task to start. I&#8217;m configuring my task to run while I&#8217;m usually at work, so I chose a time in the morning after I&#8217;ve had a chance to settle in and possibly work with my calendar &#8212; say 9:30 a.m. Also, since I don&#8217;t normally work weekends, I can opt to run this task only on <strong>Weekdays</strong>.<br />
<img class="alignnone size-medium wp-image-1276" src="http://blog.oit.wvu.edu/files/2009/08/running_on_weekdays2-300x221.png" alt="running_on_weekdays2" width="300" height="221" /></li>
<li>The next dialog asks you to provide your username and password for you computer. When you have typed in that information, click the <strong>Next&gt;</strong> button.</li>
<li>The wizard will display a dialog box, which confirms when Windows will run this task. Notice that there&#8217;s a checkbox where you can &#8220;Open advanced properties for this task when I click Finish.&#8221; <strong>Select this checkbox</strong>, because it will allow you to set how often you want this task to run. As an added precaution, note that you can choose to stop the task if it is still running at the time you&#8217;ve selected.<br />
<img class="alignnone size-full wp-image-1277" src="http://blog.oit.wvu.edu/files/2009/08/confirmation_dialog.png" alt="confirmation_dialog" width="441" height="325" /></li>
<li>The Advanced Schedule Options let you set how many times a day you want the program to run.<br />
<img class="alignnone size-full wp-image-1278" src="http://blog.oit.wvu.edu/files/2009/08/advanced_schedule.png" alt="advanced_schedule" width="368" height="300" /></li>
<li>Once you click the <strong>Apply</strong> button, your scheduled task will run under the conditions that you have set for it.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.oit.wvu.edu/2009/08/04/creating-a-scheduled-task-in-windows/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Getting Your GroupWise Calendar on an iPod Touch (a penny-pincher&#8217;s solution)</title>
		<link>http://blog.oit.wvu.edu/2009/04/07/gmigrate/</link>
		<comments>http://blog.oit.wvu.edu/2009/04/07/gmigrate/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 13:00:11 +0000</pubDate>
		<dc:creator>Roman Olynyk</dc:creator>
				<category><![CDATA[Calendars]]></category>
		<category><![CDATA[Groupwise]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>

		<guid isPermaLink="false">http://blog.oit.wvu.edu/?p=1041</guid>
		<description><![CDATA[Google Sync and gMigrate will let you display your GroupWise Calendar on your iPod Touch or iPhone.]]></description>
			<content:encoded><![CDATA[<p><em>A couple of months ago we posted about <a href="http://blog.oit.wvu.edu/2009/01/22/groupwise-email-on-your-iphone-or-ipod-touch/">accessing GroupWise email on an iPhone or iPod Touch</a>. At that time we did not know of a way to sync GroupWise calendars with these devices as well.  Since then we&#8217;ve found one method to do that and, though not perfect, it might be of interest to you.  It should be noted that this is</em><em> just a tip we&#8217;ve discovered and might be of use to some of you</em><em> and should be attempted at your own risk. This is not to be considered a support document. Let us know if you know of any other tips we should include on the blog for these devices.  Thanks! &#8211; Ed.</em></p>
<p>I depend upon my WVU GroupWise account to keep track of my appointments and tasks, but I’m not always at my PC.  Until recently, however, my only recourse for a portable calendar was to use <a href="http://oit.wvu.edu/training/instructions/groupwise/gwpdac701.php">PDA Connect</a> to synchronize my PalmPilot with GroupWise.</p>
<p>My latest device, an iPod Touch, appeared to support many PDA-like functions.  However, I quickly discovered that getting my GroupWise calendar onto the Touch was going to be expensive, vis-à-vis <a href="http://www.apple.com/mobileme/">Apple’s MobileMe</a> or <a href="http://www.companionlink.com/products/companionlink.html">CompanionLink</a>.  What’s a penny-pincher to do?</p>
<p>CompanionLink Software used to have a free product called <a href="http://www.companionlink.com/products/gmigrate.html">gMigrate</a>, which allowed me to port my GroupWise calendar data over to <a href="http://www.google.com/calendar/">Google Calendar</a>.  This is not a dynamic process:  I have to run gMigrate every time that I want to pass my GroupWise calendar over to Google calendar.</p>
<p>The &#8220;Eureka!&#8221; moment came when Google announced <a href="http://www.google.com/mobile/apple/sync.html">Google Sync (Beta) for the iPhone</a>.  This tool lets you synchronize the built-in calendar and contacts on an iPhone (and iPod Touch) with your Google account.  So, you can go from GroupWise to Google with gMigrate, and you can then go from Google to an iPod Touch with Google Sync.  Although this sounds rather complex, you can manage the entire process in just a few clicks – after the initial configuration, of course.</p>
<p>Ingredients:</p>
<ul>
<li>iPhone or iPod Touch</li>
<li>GroupWise account</li>
<li>Google account</li>
<li>Google Sync</li>
<li>gMigrate</li>
<li>WiFi access</li>
</ul>
<h2>Getting gMigrate</h2>
<p>Although gMigrate is no longer available directly from CompanionLink Software, you can still download it from a number of software repositories, such as <a href="http://download.cnet.com/gMigrate/3000-2064_4-10629569.html">Cnet’s download.com</a> or <a href="http://www.softpedia.com/get/Office-tools/Diary-Organizers-Calendar/gMigrate.shtml">Softpedia</a>.</p>
<p>Install gMigrate by running the executable setup launcher.  When you run gMigrate, configure it as follows:</p>
<p><img class="aligncenter size-full wp-image-1045" src="http://blog.oit.wvu.edu/files/2009/04/image001.jpg" alt="image001" width="231" height="276" /></p>
<ol>
<li>In the Email field, type in your Gmail username.</li>
<li>In the Password field, type in your Gmail password.</li>
<li>In the From field, click the selection arrow and select GroupWise 6.5.</li>
<li>Click on the Advanced button, which should display a GroupWise Login dialog:<br />
<img class="aligncenter size-full wp-image-1156" src="http://blog.oit.wvu.edu/files/2009/04/image002-gmigrate.jpg" alt="image002-gmigrate" width="356" height="269" /></p>
<ol type="a">
<li>Type in your GroupWise UserID and password</li>
<li>Click OK.</li>
</ol>
</li>
<li>Click on the Migrate button.  A CompanionLink Process dialog will indicate your progress.</li>
</ol>
<p><img class="aligncenter size-full wp-image-1043" src="http://blog.oit.wvu.edu/files/2009/04/image003.jpg" alt="image003" width="281" height="127" /></p>
<p>Successful completion is indicated by a dialog that looks like this:</p>
<p><img class="aligncenter size-full wp-image-1042" src="http://blog.oit.wvu.edu/files/2009/04/image004.jpg" alt="image004" width="207" height="127" />Google calendar should now be populated with calendar items from your GroupWise account.  Remember that you will have to run gMigrate each time that you want any changes in your GroupWise calendar to appear in Google Calendar (i.e., start gMigrate and click on the Migrate button).</p>
<h2>Getting Google Sync for iPhone</h2>
<p>Google Sync for iPhone uses the Microsoft Exchange ActiveSync protocol to synchronize the data on your iPod Touch with your Google Calendar.  It will support synchronization with up to five calendars and the contacts in your My Contacts group.</p>
<p>Setting up Google Sync is a fairly straightforward process, but you should be aware that Sync is a beta product.  In addition, the Sync setup will delete the existing contacts and calendar information on your iPhone or Touch.  Backup your data first!</p>
<p>It is not necessary for me to reproduce Google’s instructions here.  Just point your browser to <a href="http://www.google.com/support/mobile/bin/answer.py?answer=138740&amp;topic=14252">Sync: Set Up Your iPhone or iPod Touch</a>.</p>
<p>Once you’ve set up Google Sync, the synchronization should begin automatically if you have Push enabled on your device.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oit.wvu.edu/2009/04/07/gmigrate/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
