Real-time updates for pages do not cover feed content yet.


  Currently facebook sends me an email notification (for example when someone posts on the fan page wall). What I need is for a script to run that updates my admin whenever there is a unread notification.


You could pipe incoming mail to a script, have it analyze the mail body (what page it was send for), and then trigger the notification … 

Notification Trigger event
As a bit of background - Windows has a facility for Touch/TabletPCs whereby it shifts the position of popups/menus depending on your "handedness" (to prevent the menu appearing under your hand). 

Essentially what this does is if you are set to "right handed" (which it seems to default to once you've connected a touch device), every popup you open is artificially kicked to the left - this causes massive layout issues where we try and line up a popup with the item it "popped up from" :

Tablet PC Settings set to Left handed - no artificial correction from Windows


Tablet PC Settings set to Right handed - Windows artificially adjusts our positioning


We can detect what this setting is set to with SystemParameters.MenuDropAlignment, and for trivial popups we can adjust this using the actual width of the popup - but for dynamic popups and when we throw right to left support into the mix, this just doesn't work.

Currently it's looking more likely that we are going to have to go through every popup, manually work out a value to adjust the kick, and add something like this to every one:

&lt;MultiDataTrigger&gt;
    &lt;MultiDataTrigger.Conditions&gt;
        &lt;Condition Binding="{Binding Source={x:Static SystemParameters.MenuDropAlignment}}" Value="True"/&gt;
        &lt;Condition Binding="{Binding RelativeSource={RelativeSource Mode=Self}, Path=FlowDirection}" Value="RightToLeft"/&gt;
    &lt;/MultiDataTrigger.Conditions&gt;
    &lt;MultiDataTrigger.Setters&gt;
        &lt;Setter Property="HorizontalOffset" Value="-50"/&gt; &lt;!-- Set to arbitrary value to test --&gt;
    &lt;/MultiDataTrigger.Setters&gt;
&lt;/MultiDataTrigger&gt;


So.. back to the question :-) Does anyone know of a way to stop a WPF popup looking at this setting at all? 

For those that don't have a touch device you can access the Tablet PC settings by running:

C:\Windows\explorer.exe shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}

And see the mess it makes for yourself :-)
