Welcome! Log In Create A New Profile

Advanced

Custom Buttons Containing More Than One LIne of Code

Posted by Kasahabo 
Custom Buttons Containing More Than One LIne of Code
June 29, 2015 02:54AM
I would like to create a custom button in Pronterface that will allow me to move an indicator across my heated bed. I have created custom buttons to home as well as other one line commands but, have not been able to add additional lines of code. If I press enter to start a new line the button closed, pressing the down arrow key does not work either. I am looking to create one button to home, then rapid down to a specific point in the Z axis then move the X and Y axis to several different locations on the plate. Is this even possible?

Thank you for your help.
Re: Custom Buttons Containing More Than One LIne of Code
June 29, 2015 01:09PM
When I read your question I thought this would be a good thing to do so I ran a google search for scripts which lead me to macros.

In Pronterface go to Settings -> Macros -> new
Enter a macro Name example multiLine
Enter your line commands
Save

Got to add custom button
Add button with command = name of macro

Clicking button then sends info in maco
Re: Custom Buttons Containing More Than One LIne of Code
June 30, 2015 03:12AM
Hello

Thank you for taking time to help me. That was exactly what I needed to know. I tried to google, but evidently was not asking the right question.
Sorry, only registered users may post in this forum.

Click here to login