topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • June 21, 2018, 08:28 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)  (Read 26922 times)

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 748
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #50 on: April 13, 2018, 10:45 AM »
Hey there .o/

I've been thinking about a possible improvement : since having spaces in the variable field can prevent some commands from working (but not always, and one might even want to add parameters that way), how about adding a checkbox option in the add/edit button window for that button to automatically "remove" spaces from the variable string before passing it to the command?

Note: then it would be nice if the tooltip that shows the command preview and status of the "run confirmation" also stated about that.
-ConstanceJill (April 13, 2018, 03:31 AM)

Just from the left and right side of the variable correct?
Carroll - HamRadioUSA.net
« Last Edit: April 13, 2018, 12:38 PM by hamradio »

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 748
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #51 on: April 13, 2018, 12:36 PM »
Hey there .o/

I've been thinking about a possible improvement : since having spaces in the variable field can prevent some commands from working (but not always, and one might even want to add parameters that way), how about adding a checkbox option in the add/edit button window for that button to automatically "remove" spaces from the variable string before passing it to the command?

Note: then it would be nice if the tooltip that shows the command preview and status of the "run confirmation" also stated about that.
-ConstanceJill (April 13, 2018, 03:31 AM)

Just from the left and right side of the variable correct?

I decided to go on and do the above as figured it was the most logical. It is now updated and can find the link on original post.  :Thmbsup:

Note: It does not remove the whitespace from the variable combo, but will ignore it if set to when it is needed, so that the combo entry is normal behavior.
Carroll - HamRadioUSA.net

ConstanceJill

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 135
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #52 on: April 13, 2018, 02:26 PM »
Yes, that would be the idea: only ignore those at the beginning and end, since those are likely to be introduced by mistake when copying and pasting.
Thanks a lot!

Edit: now that I think a bit more about it, I can't quite see any reason not to ignore whitespace as long as it's only at the beginning and end of the variable string but... anyway, it's still good to have the option, I guess :D
« Last Edit: April 13, 2018, 02:39 PM by ConstanceJill »

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 748
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #53 on: April 13, 2018, 02:50 PM »
Yes, that would be the idea: only ignore those at the beginning and end, since those are likely to be introduced by mistake when copying and pasting.
Thanks a lot!

Edit: now that I think a bit more about it, I can't quite see any reason not to ignore whitespace as long as it's only at the beginning and end of the variable string but... anyway, it's still good to have the option, I guess :D
-ConstanceJill (April 13, 2018, 02:26 PM)

Hope the new checkbox layout is okay for you as well. If not I can change them around, but they all wouldn't fit on the top line so I moved the variable one's to the middle bottom.
Carroll - HamRadioUSA.net

ConstanceJill

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 135
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #54 on: April 16, 2018, 03:55 AM »
Yeah, it's OK :)

By the way there's a very minor issue: while the tooltip which appears when hovering the mouse over a button does show the command as it will be ran (removing whitespace at the beginning and end), the one that appears in the status bar does not.

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 748
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #55 on: April 16, 2018, 11:06 AM »
Yeah, it's OK :)

By the way there's a very minor issue: while the tooltip which appears when hovering the mouse over a button does show the command as it will be ran (removing whitespace at the beginning and end), the one that appears in the status bar does not.
-ConstanceJill (April 16, 2018, 03:55 AM)

Thanks! That minor detail should be fixed in the minor update to build 2.
Carroll - HamRadioUSA.net

ConstanceJill

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 135
    • View Profile
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #56 on: April 16, 2018, 01:11 PM »
Thank you :]

hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 748
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: NANY 2013 Release: Customizable Remote Administration Panel (CRAP)
« Reply #57 on: April 16, 2018, 01:40 PM »
Thank you :]
-ConstanceJill (April 16, 2018, 01:11 PM)

You're Welcome :)
Carroll - HamRadioUSA.net