At 6:11 PM -0500 12/7/99, Lou Krieg wrote:
>I have a need to launch my own application when the cradle or modem HotSync
>buttons are pressed. In OS 3.1 and later this is easily configured from
>Prefs.
>
>However, it appears that when my app is launched, it only gets a normal
>launch code, not the sysAppLaunchCmdSyncRequestLocal or
>sysAppLaunchCmdSyncRequestRemote codes, meaning I cannot distinguish the
>cause of the launch.
>
>Are they only sent if the launched app has the HotSync app's creator code?
>Or is there some way to indicate that I can handle (and should receive)
>those launch codes?

You guessed correctly: the launch codes are only sent if the app selected for the 
HotSync button (either one) is set to the HotSync app. It's hard coded. The HotSync 
buttons are hard keys with codes hardCradleChr and hardCradleChr2. Isn't there some 
way to detect whether your app was launched with a hard key?
-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks

Reply via email to