Welcome to Our Community

Some features disabled for guests. Register Today.

Delete macro with long label

Discussion in 'Control Software' started by that-jim, Nov 29, 2021.

  1. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    157
    Today I did something dumb... I was 'playing' with macros and I accidently pasted a long bit of code in the label field. The text that I pasted in was so long that the button is now much wider than the window and now there is no way to access to gear icon to edit the label. I tried uninstalling and reinstalling the app and still the macro persists. Is there another way to edit the label or delete this macro?
     
  2. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,449
    Peter might have a faster way but

    press ctrl+shift+i to bring up the chrome dev tools.
    Go to the application tag.
    Under storage -> Local Storage -> http://localhost:3000 look for the macro buttons key.
    All of the macros are stored there. I dont know of any easy way to edit it, but its possible by clicking on the text in the value column. You can use your left and right arrows to position the cursor. You need to be very careful. If it were me, I'd copy the whole string first and paste that somewhere safe.
     
    Peter Van Der Walt and that-jim like this.
  3. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,449
    Also, did you try to full screen the app window?
     
  4. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    157
    Thank you! I copied the key and pasted it into a text editor, where it was easier to edit.
     
    Peter Van Der Walt and sharmstr like this.
  5. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    157
    No, I maximized the window and the button was still to big. I just searched and saw that you have a macro for that I will check it out.
     
    sharmstr likes this.
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,511
    Likes Received:
    4,422
    That would have been my suggestion too :) - thanks @sharmstr
     
    sharmstr likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice