Undocumented yab functions
#1
I recently came across some yab functions that seem to have escaped from the documentation.

Code:
a = pcworkspaces

a- window get "MainWindow", "workspace"

These appear in neither the yab commands textfile nor in the Besly app. I just had a feeling that they had to exist, so I, ummmm, ripped apart an existing app to extract its code and see how it was done. Sorry, lorglas, I think it was one of yours.

In fact, looking at the list of reserved keywords there may be a few more undocumented commands. roundrect, anyone?
Reply
#2
(08-28-2024, 10:23 AM)clasqm Wrote: I recently came across some yab functions that seem to have escaped from the documentation.

Code:
a = pcworkspaces

a- window get "MainWindow", "workspace"

These appear in neither the yab commands textfile nor in the Besly app. I just had a feeling that they had to exist, so I, ummmm, ripped apart an existing app to extract its code and see how it was done. Sorry, lorglas, I think it was one of yours.

In fact, looking at the list of reserved keywords there may be a few more undocumented commands. roundrect, anyone?


No problem, thank you for reporting. I will take a look in the commands file. On the webside yab.besly.de the reported commands are descripe. I will check it.
Reply
#3
(11-06-2024, 12:17 PM)lorglas Wrote:
(08-28-2024, 10:23 AM)clasqm Wrote: I recently came across some yab functions that seem to have escaped from the documentation.

Code:
a = pcworkspaces

a- window get "MainWindow", "workspace"

These appear in neither the yab commands textfile nor in the Besly app. I just had a feeling that they had to exist, so I, ummmm, ripped apart an existing app to extract its code and see how it was done. Sorry, lorglas, I think it was one of yours.

In fact, looking at the list of reserved keywords there may be a few more undocumented commands. roundrect, anyone?


No problem, thank you for reporting. I will take a look in the commands file. On the webside yab.besly.de the reported commands are descripe. I will check it.

Update: From the two you reported, i forget only roundrect in this list of content. I added this to next release.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)
Free Web Hosting