Re: 24U 'post notification'
Re: 24U 'post notification'
- Subject: Re: 24U 'post notification'
- From: julifos <email@hidden>
- Date: Mon, 07 Jul 2003 13:39:07 +0200
>
I am having no luck "getting to" the data returned from 24U's Appearance
>
osax:
>
>
=====
>
post notification
>
--> <<data NMrc0993EB10>>
>
=====
>
>
Can I get to that value at the end there?
>
(That is a hex time stamp, right? [1])
>
>
Most things with <<>> around them are "just up ahead" on the learning curve.
>
Not too close that they'll run out in front of the car, but close enough to
>
make me go a bit slower.
>
>
If I should have found information about access <<data ...>> under some
>
particular terminology in the LG, what is that term?
>
>
Thanks.
>
--
>
Gary
>
>
[1] I know I can get this elsewhere, without 24U, but this is also returned
>
from the actual 'post notification' call I am using, which has a few more
>
arguments than are shown here. (Flashing menu icon, to be exact.)
I think that the stuff returned from a "post notification" is a simple id
number that you can later pass to "remove notification", just as the "id
number" you get when opening for access a file:
set x to post notification "kapullo" with bouncing in dock
--> <<data NMrc00000000>>
delay 1
remove notification x
--> is similar to:
set x to (open for access file "path:to:whatever")
--> which returns an small integer
close access x
So, the osaxen knows what notification remove if you posted several ones.
jj
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.