WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Howto display popup message?  (Read 3343 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Howto display popup message?
« on: August 06, 2009, 02:48:14 PM »
What is the easiest way to display a popup message from command line in TC 2.x?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Howto display popup message?
« Reply #1 on: August 06, 2009, 02:50:16 PM »
couldn't you use `popup Hello World`?
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Howto display popup message?
« Reply #2 on: August 06, 2009, 03:08:06 PM »
Message is displayed by a program, sent to STDOUT Piping doesn't work with popup. Assigning output to a variable then using it as an argument with popup is a bit better, but window is full width and lines are not formatted as in the original text.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline florian

  • Full Member
  • ***
  • Posts: 116
    • Home Page
Re: Howto display popup message?
« Reply #3 on: August 06, 2009, 03:27:22 PM »
Quote
Message is displayed by a program, sent to STDOUT Piping doesn't work with popup.
my_program | xargs popup

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: Howto display popup message?
« Reply #4 on: August 06, 2009, 09:12:37 PM »
Most likely popup ignores it

Possible way: invoke aterm with something

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10986
Re: Howto display popup message?
« Reply #5 on: August 07, 2009, 11:38:57 AM »
Xdialog is available as an extension, it is pretty advanced in possible handling. Or in the base, dialog+aterm should work.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Howto display popup message?
« Reply #6 on: August 07, 2009, 12:16:34 PM »
Xdialog is available as an extension, it is pretty advanced in possible handling. Or in the base, dialog+aterm should work.

Thanks, dialog seems to be appropriate at the moment as it is part of the system.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."