Advanced Edit Box Exposure for Scripting
Advanced Edit Box Exposure for Scripting
You know how you have those really nice edit boxes that you use to edit things such as Custom Icons, PFAs, and more?
It would be very nice if it's possible to use such type of Edit Boxes for scripting as well. These type of edit boxes are perfect for editing lists of any type. The advanced Edit Box even allows you to edit stuff just as text (Editor Mode F6) so I think it would be amazing! It would be very useful for the script I have been working on, it allows the user to edit the list content but only through a text box and that becomes kind of annoying and a bit clunky to use.
Boring and Clunky for Lists Editing? What do you think?
Boring and Clunky for Lists Editing? What do you think?
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Advanced Edit Box Exposure for Scripting
So you're proposing such box as an input box, right?
Yes, it could be useful. Specially because it could provide a way to provide visual interaction using icons.
For writing scripts, I'm really missing a CTRL+F (find) function and a copy button. But each time I think about it, considering all of the stuff I already produced without such features, it may turn out to be a frustration if/when they find their way thru the GUI.
Yes, it could be useful. Specially because it could provide a way to provide visual interaction using icons.
For writing scripts, I'm really missing a CTRL+F (find) function and a copy button. But each time I think about it, considering all of the stuff I already produced without such features, it may turn out to be a frustration if/when they find their way thru the GUI.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: Advanced Edit Box Exposure for Scripting
Yeah pretty much!SkyFrontier wrote:So you're proposing such box as an input box, right?
Yes, it could be useful. Specially because it could provide a way to provide visual interaction using icons.
For writing scripts, I'm really missing a CTRL+F (find) function and a copy button. But each time I think about it, considering all of the stuff I already produced without such features, it may turn out to be a frustration if/when they find their way thru the GUI.
CTRL+F? You mean the Command ID #260? That's what I used to get the Ctrl+F dialog to pop up. But with new functions and tools, there's always frustration that comes with it. But sometimes it's worth it
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Advanced Edit Box Exposure for Scripting
CTRL+F like in notepad. I really miss a way to locate a string when XYscripting. Yes, I do my best to code outside, but then it's a pain switching back and forth as in XY I can immediately preview/debug what the script is doing. When things get hard, a "copy" button would allow copying the whole script without having to select all code - and lose the line I was working at. So they are complimentary.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: Advanced Edit Box Exposure for Scripting
Oh! I see. Yeah that will be very useful. I generally gave up trying to code inside XYplorer and just rely on Notepad2-mod. Mainly because I miss the ability to double click a word and Notepad2-mod (and various other programming text editors) will correctly highlight that word only. The text editor in XYplorer is very "stupid" in that regard but that's because of how simple it is. For example:SkyFrontier wrote:CTRL+F like in notepad. I really miss a way to locate a string when XYscripting. Yes, I do my best to code outside, but then it's a pain switching back and forth as in XY I can immediately preview/debug what the script is doing. When things get hard, a "copy" button would allow copying the whole script without having to select all code - and lose the line I was working at. So they are complimentary.
[+|"VLC Media Player" ] The brackets show the actual content which includes the extra space at the end.
In XYplorer coding, when I double click "Player", it will end up selecting ["Player" ] or selecting VLC will select [+|"VLC ]. It's maddening
With text editors, selecting "VLC" will get you [VLC] while "Player" will get you [Player] as expected.
And a yes a copy button would be very useful too!
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Advanced Edit Box Exposure for Scripting
Isn't SC inputselect() pretty close?
FAQ | XY News RSS | XY X
Re: Advanced Edit Box Exposure for Scripting
Not quite if you planning on allowing the user to edit the list like add new items, edit the items, browse to a different item, and so forth.admin wrote:Isn't SC inputselect() pretty close?
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Advanced Edit Box Exposure for Scripting
Well, ok. But the window you mean is totally specialized to List Management. I cannot open it to scripting.
FAQ | XY News RSS | XY X
Re: Advanced Edit Box Exposure for Scripting
Perhaps you can add a tweak to make the single line script boxes always show up as multi-line. Save clicks on the edit button = slightly longer mouse button life
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Advanced Edit Box Exposure for Scripting
Which single line script boxes?
FAQ | XY News RSS | XY X
Re: Advanced Edit Box Exposure for Scripting
Single-line boxes like these:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Advanced Edit Box Exposure for Scripting
Aah, these ones. No, sorry (again!), not possible (again!).
FAQ | XY News RSS | XY X
Re: Advanced Edit Box Exposure for Scripting
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Advanced Edit Box Exposure for Scripting
Ah I see. That's too bad... 
XYplorer Beta Club