[missing-sync-palmos-talk] access to memo data

Scott Gruby sgruby at markspace.com
Thu Jun 1 08:26:32 PDT 2006


On Jun 1, 2006, at 8:16 AM, Eric Allen wrote:

> I'm interested in writing an app that pulls data from the memo pad  
> on every
> sync and does something with it. Is there a specific format for the  
> memopad
> data stored by MarkSpace MemoPad?

The format for the data stored in Mark/Space MemoPad is not  
documented. However, you can write a conduit and application and  
bypass the Mark/Space MemoPad conduit and application.

> How about hooks so my applescript or obj-c
> app can be notified when the sync completes?

There are Objective-C hooks to be notified.


#define kSyncNotification  
@"com.markspace.missingsync.syncmanager.notification"
#define kSyncStartNotification [NSString  
stringWithFormat:@"com.markspace.missingsync.syncmanager.syncstart-% 
@", NSUserName()]

	NSDistributedNotificationCenter* center =  
[NSDistributedNotificationCenter defaultCenter];
	[center addObserver:self selector:@selector(syncStartNotification:)  
name:kSyncNotification object:kSyncStartNotification];
	[center addObserver:self selector:@selector(syncStopNotification:)  
name:kSyncNotification object:kSyncStopNotification];


- (void) syncStartNotification:(NSNotification *) inNotification
{
	NSDictionary *userInfo = [inNotification userInfo];
	[self handleScripts:YES conduitName:[userInfo  
objectForKey:kSyncConduitName]];
}

(I'd recommend using the Conduit Developer's mailing list: <http:// 
lists.markspace.com/mailman/listinfo/missing-sync-palmos-dev-talk> if  
you have further questions about development as your questions may be  
relevant to other developers.)


--
Scott Gruby
Mark/Space, Inc.
<http://www.markspace.com/>

Please visit <http://www.markspace.com/support/> for assistance with  
Mark/Space products.




More information about the missing-sync-palmos-talk mailing list