Toasts for breakfast? No, Toasts for MorphOS!
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2053 from 2003/6/4
    As I ate my toast for breakfast and sat in front of my Hollywood stuff I thought: We need some message systems like Android Toasts for MorphOS. I think on OS4 there's Ringhio providing such a functionality. I guess this would be a rather easy to implement feature and while not revolutionary it's pretty handy though. Could something like that please added to MorphOS?
    I personally would like it very much as Hollywood supports these messages now on systems providing such a messaging system - but on MorphOS it yields some ugly console output..
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »01.03.19 - 08:17
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 471 from 2006/2/23
    From: the Planet of ...
    MagicBeacon exists for years. Ask Geit to add it ;).
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »01.03.19 - 08:28
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2053 from 2003/6/4
    I think MagicBeacon is a bit more and a bit different, but could probably be used for it.
    i would prefer just a plain messaging system that doesn't do anything by itself, but only if called by applications via according API calls. Best case IMHO if realized as a MUI class.
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »01.03.19 - 09:02
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    This is on my ToDo for some time now... no ETA yet though...
  • »01.03.19 - 09:23
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2053 from 2003/6/4
    Quote:

    jacadcaps schrieb:
    This is on my ToDo for some time now... no ETA yet though...


    Looking forward to it.
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »01.03.19 - 19:38
    Profile Visit Website
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 26 from 2011/4/24
    Just for the record, I tried to add MagicBeacon support to Hollywood but had some trouble getting it to work. Wrote an email to geit on Dec 28th, never got a reply, so that explains the console fallback :)
  • »06.03.19 - 16:52
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 389 from 2003/2/25
    From: Berlin
    What problems did you had? Maybe I can help!
    I used MagciBeacon in my otrMUI app.
  • »06.03.19 - 19:44
    Profile Visit Website
  • Caterpillar
    Caterpillar
    softwarefailure
    Posts: 26 from 2011/4/24
    Well, if it's on jacadcaps list I think I might just wait for the official version...
  • »06.03.19 - 21:21
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 389 from 2003/2/25
    From: Berlin
    One can also use SendRexxCommand() to show a bubble with MagicBeacon
    Code:

    Function p_MOSToast(text$, t)
    Local str$
    str$ = "BUBBLE \""..text$.."\""
    If HaveItem(t, "x") Then str$ = str$.." X "..t.x
    If HaveItem(t, "Y") Then str$ = str$.." Y "..t.y
    If HaveItem(t, "Font") Then str$ = str$.." Font \""..t.font.."\""
    If HaveItem(t, "Skin") Then str$ = str$.." Skin \""..t.skin.."\""
    If HaveItem(t, "Image") Then str$ = str$.." Image "..t.image
    If HaveItem(t, "Color") Then str$ = str$.." Color "..t.color
    If HaveItem(t, "Mouse") Then str$ = str$.." MOUSE"
    If HaveItem(t, "Center") Then str$ = str$.." CENTER"
    If HaveItem(t, "Duration") Then str$ = str$.." Duration "..t.duration
    SendRexxCommand("MAGICBEACON", str$)
    EndFunction

    p_MOSToast("Hello", {mouse=true, font = "Lux/26", Skin="Woo0t", image="Connected"})


    But SendRexxCommand() seems to have a problem with quotes in the command!?
    Although I use a backslash quote to surround the text with quotes, it only works if you don't use spaces in your text!
  • »08.03.19 - 18:30
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Korni
    Posts: 471 from 2006/2/23
    From: the Planet of ...
    Try to escape using * (asterisk)

    *"lol wtf*"
    http://korni.ppa.pl/modkowypaczek/ | My Rifle, My Bunny, and Me
  • »08.03.19 - 23:34
    Profile Visit Website