Open message window from G-code

More
22 Feb 2018 07:47 #106324 by aleksamc
Thank you very much for this nice code))

I need to write it only to M100 as bash.
#!/bin/bash
case ${1%.*} in
0)
yad --title "Title1" --on-top\
        --text "Text1"
;;
1)
yad --title "title2" --on-top\
        --text "text2"
;;
2)
yad --title "title3" --on-top\
        --text "text3"
;;

*)
yad --title "Title4" --on-top\
        --text "text parameter $1"

;;
esac

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 07:53 #106325 by nkp
Replied by nkp on topic Open message window from G-code
You will need to install yad

Please Log in or Create an account to join the conversation.

More
22 Feb 2018 11:04 #106328 by andypugh
I wonder if it would be worth trying to combine
linuxcnc.org/docs/2.7/html/man/man9/message.9.html
With the value-insertion parts of
linuxcnc.org/docs/2.7/html/man/man9/lcd.9.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum