|
| |
Scriptable ResPloder
I'm in the process of adding scriptability to ResPloder. It's actually quite easy to add with REALbasic. You need to add an 'aete' resource that specifies the Apple Events you're going to recognize. Then you need to add some code to your App object's HandleAppleEvent event. In that event you'll get an AppleEvent object, which is REALbasic's encapsulation of an apple event. It's trivial to get the pieces out of the event and add replies.
But there is one interesting wrinkle. ResPloder explodes and implodes in a thread. HandleAppleEvent won't naturally wait around for the thread to complete. But if HandleAppleEvent returns before the operation has been completed, then the caller may think things are finished. Ideally HandleAppleEvent should wait until the explosion/implosion is finished before returning. It turns out there is a trick you can use to make that happen. Use ShowModal on a modal dialog inside of HandleAppleEvent. That will cause HandleAppleEvent to pause until somebody hides the dialog. Control will then return to HandleAppleEvent, which is then free to return a response to the caller. That trick fits very well with ResPloder's progress dialog. So instead of 'Show'-ing the progress dialog, I now 'ShowModal' it and low-and-behold HandleAppleEvent waits for the explode/implode to complete before returning.
Cool.
9:42:51 AM #
|
|
Radio Poster and MovableType
MT 2.11 is out. I upgraded and now Radio Poster can post to an MT weblog using the MetaWeblog API. Almost. It won't work with the currently shipping version of Radio, unfortunately. There's a bug in Radio Poster. Well. I didn't have anything to test it with except Radio, so a bug slipped through. The problem is that when posting with the MetaWeblog protocol selected, Radio Poster ignores the Blog ID field in the configuration tab and always uses "home" instead. That works fine with Radio, of course. But for MT I need to set the blog id or MT won't let me post. I'm going to release a new version of Radio Poster to fix this problem. But I'm trying to decide how much other stuff I want to add. I really want to be able to control multiple weblogs and right now you just can't do that with Radio Poster.
9:24:17 AM #
|
|
|
|
© Copyright
2002
Will Leshner.
Last update:
5/5/02; 9:24:19 AM.
|
|
| May 2002 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
30 |
31 |
|
| Apr Jun |


|