torgesta.com

Improve your bluetooth HotSync experience

Using bluetooth to sync a Palm Tungsten device with the desktop PC is a very convenient way to keep the device up to date. For laptops without built in bluetooth radio, a USB bluetooth device such as the D-Link DBT-120 is a perfect match. But it's not small enough to keep it in the computer all the time, when the laptop goes down into the bag, the USB bluetooth devive must be removed. And as many other laptop users, we've been irritated with how poorly the Palm HotSync software manages to cooperate with the Windows XP bluetooth software. As long as HotSync isn't running when the DBT-120 is inserted, everything will work fine. But if HotSync is running, the Windows bluetooth software won't be able to create the virtual COM port that it needs becasuse HotSync is locking it. We found that the easiset way to keep out of the COM-port blues is to stop HotSync when the device is removed from the computer and restart HotSync after the device is reinserted. That way, HotSync and the bluetooth software is kept from locking the same virual COM-port. Perfect if you disregard the fact that it's annoyingly easy to forget to do it everytime.

And this is where MyTrigger comes in handy. Using MyTrigger's unique features it's less than a 5 minute task to automate this process. To try this you need a copy of MyTrigger, a USB bluetooth device and a HotSync installation. What's left to do now is to create a script that can start and stop HotSync and configure MyTrigger to call this script.

Create a script to control HotSync

With Windows XP, Microsoft added a lot of really useful commands to the command line parser, the one that's the most useful for us here is taskkill. Taskkill will send a WM_CLOSE message to the specified application to give it the chance to shut down gracefully, most applications do. If the application don't, taskkill can be run with the /F switch that will terminate the in a more brutal mannor, but we don't need to do that here, HotSync plays by the rules and shuts down gracefully when it receives the WM_CLOSE Windows message. So the command line script needed to close HotSync is really simple:

taskkill /im hotsync.exe 

Open notepad, copy and paste the above line in to notepad and save the file in a suitable location, we suggest C:\Documents and Settings\All Users\Application Data\Scripts\stop_hotsync.cmd. Next step is to create a script that can start HotSync again, it's even easier. On most computers, HotSync is installed in c:\program files\palm\. Older Palm desktop installations are usually installed in c:\palm\, you need to find out which one it is on your computer. Deperning on where HotSync is installed, the scipt to start it looks like this:

call "c:\program files\palmone\hotsync.exe

So open notepad again and save the above one line script in a suitable location, we suggest C:\Documents and Settings\All Users\Application Data\Scripts\start_hotsync.cmd. Now we have all the scripts we need to to accomplish what we want. Let's configure MyTrigger.

Setting up MyTrigger

If MyTrigger isn't already running, start it from the Programs menu. As soon as the MyTrigger icon shows in the system tray, right click on it and select "MyTrigger settings" to bring up the settings dialog.

On the "USB" tab, click the Add button to add a new trigger. If you know the exact name of the bluetooth device, you can type it in to the "USB device (friendly name)..." edit box. But if you're like most of us, you probably don't remember the exact name. So instead, insert the USB bluetooth and wait, after a couple of seconds, the "Last event..." label should change into something like this:

As soon as MyTrigger displays the last detected USB event, you can double click on the text to copy it up to the "USB device (friendly name)..." edit box. Easy as 1,2,3. The next step is to type in the full path to the start_hotsync.cmd in to the "Insert command" and the full path to the stop_hotsync.cmd script in to the "Remove command" edit box. Click "Save" and then "OK" to exit the dialog.

That's it, you are good to go. The next step is to insert and remove the USB bluetooth device a couple of times to verify that HotSync starts and stops as expected. If you don't see the expected behaviour, your best bet is to check the log file, that will almost always give you the clues you need to fix the problem. If not as a licensed user you can always send an email to support@torgesta.com.

Good luck!

2007-05-17

Updated version of MyTrigger in the lab. After a far too long period of time without any news, we're glad to announce that MyTrigger 1.8 will be released shortly. The new release will most notably contain bug fixes, but threre are a couple of new features included as well. Please come back shortly for more information. .

2005-09-01

MyTrigger 1.7 is released. New features include support for Samba folder (folders on a remote Linux or Unix computer) and triggering by event id. . Read more about the new version on the product page.

2005-07-20

MyTrigger 1.6 is released. New features include running MyTrigger as a service, delaying folder triggers until the target file is unlocked, better support for Event log triggers, Stealth mode... Read more about the new version on the product page.

2005-06-27

torgesta.com support forum is online. The forum is intended to help users of torgesta.com products get help and help each other. Please visit today.

2005-02-14

MyTrigger 1.5 is released.

2005-01-21

Today we're making the beta of MyTrigger 1.5 publicly available. Your're welcome to download MyTrigger 1.5.111.0 right and try it out. Don't be shy with comments, we're wating for your feedback!

2005-01-18

Last week the first beta of MyTrigger 1.5 became available for our beta testers. The 1.5 versions bring a lot of new features to the table. Now MyTrigger can be used to monitor the file system, the event log, status of services and processes etc.

2004-12-03

MyTrigger 1.2 is soon ready for beta testing. We're looking for beta testers. If you’re interested in getting a peak at the next version really soon and see if MyTrigger 1.2 fits your needs, please drop us an email to betatest@torgesta.com for details. Those beta testers that provides real (and valuable) feedback will get one ore more free licenses for MyTrigger.

2004-11-24

A new MyTrigger usage sample have been added on the MyTrigger page. This one is about how to use MyTrigger to make using Hotsync and a USB bluetooth device a little easier.Go check it out!

2004-11-09

A MyTrigger usage sample have been added on the MyTrigger page. It describes how you can use program launcher MyTrigger as an automation tool to help your computer keep up to date with the latest Windows patches and Anti virus definitions. Go check it out!

2004-11-06

Automation tool MyTrigger 1.1 has received a 5 star rating over at TopShareware.com.

2004-11-01

MyTrigger 1.1 is released. Along with some bug fixes, this release include support for detecting changes in folders. With this new feature you can launch your custom scripts whenever a file or folder is changed in any way. Download your free trial today

2004-10-24

MyTrigger 1.0 is released. The build number of the 1.0 version is 1.0.49.0. If you have a previous build installed, you should upgrade.

2004-10-01

Program launcher and automation tool MyTrigger is released for beta testing. Do you want to participate as a beta tester? Navigate to the MyTrigger product page to read more.

2004-10-01

The web site is up and running.

 
 

copyright 2004