Open message window from G-code
22 Feb 2018 07:47 #106324
by aleksamc
Replied by aleksamc on topic Open message window from G-code
Thank you very much for this nice code))
I need to write it only to M100 as bash.
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.
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.
22 Feb 2018 11:04 #106328
by andypugh
Replied by andypugh on topic Open message window from G-code
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
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.074 seconds