![]() |
#81 |
Human being with feelings
Join Date: Apr 2011
Posts: 3,711
|
![]() |
![]() |
![]() |
![]() |
#82 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
So I fix my parser and the doc.
It seems that between v6.18 and v6.23, "EEL" has been replaced by "EEL2" mentions. This completely broke my parser and inject two times the functions. 1 hour and half to find the source of the issue 🙄 Doc fixed and updated anyway! PS : now I understand why the previous html file was two times bigger than usual.
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#84 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Thanks!
|
![]() |
![]() |
![]() |
#85 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]() ![]() There seems to be the GUID line missing. From generated Reaper doc: ![]() This was added in v6.13+dev0904. |
![]() |
![]() |
![]() |
#86 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
@nofish
I don't see this on REAPER v6.23 generated doc.... unreleased, or undocumented things ?
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#87 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Ah right, seems it was added with Razor Edit branch which isn't released yet (it's in current RC4).
Sorry for false alarm ![]() |
![]() |
![]() |
![]() |
#88 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
So in REAPER v6.24 you can press F1 on a function in the IDE and it open (and regenrate) the reascripthelp.html page. Cool!
But better if it load this web API doc page right ? :P I tried several browser addons solutioon, non work. But with Greasemonkey (an browser addon to add custom javascript to any webpage)... I made it :P Here is the code: https://gist.github.com/X-Raym/98eca...407bb9f7b10a0f with this, pressing F1 on IDE will openr eascript.html and redirect ASAP to my API doc. You can mod the script so that it doesnt d that automatically but based on a keypress for eg. Cheers !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#89 |
Human being with feelings
Join Date: Apr 2011
Posts: 3,711
|
![]()
Great! Thanks!
![]() Would it be possible to make it not open a new tab every time F1 is pressed?.. It would need a few lines added to the script, but I am not familiar with JavaScript in order to do it. Pseudo code: Code:
if( window.location.toString().search("reascripthelp.html") >= 0 ) { if( window.location.toString().search("https://www.extremraym.com/cloud/reascript-doc/") >= 0 ) { close the opened tab and load it to the existing window } else { window.location.replace("https://www.extremraym.com/cloud/reascript-doc/" + window.location.hash ); } } |
![]() |
![]() |
![]() |
#90 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
Greasemonkey (or Tapermonkey for chrome) are run on web page context, not browser, so it can't access other tabs.
Maybe use an addon like Duplicate Tab closer to close previously opened ones.. https://addons.mozilla.org/fr/firefo...content=search I will not investigate too much time on finding workarround though, I already have the web page always open. :P
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#92 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
ImgGUI added to the doc
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#93 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Now that your site got even bigger (and who knows what other extensions come in future
![]() Similar to currently being able to filter by Language ('Display Lua only' etc.), just per extension. Would do you think about it, would it be hard to implement? edit: On second thought, we can search/filter by extension prefix (SWS_, JS_, ImGUI_..) I think that's fine.
__________________
me on Soundcloud (Beats Rap Reggae) Wikiloops - free online jams, check it out my ReaScripts SWS issue tracker Donations Last edited by nofish; 05-06-2021 at 05:52 PM. |
![]() |
![]() |
![]() |
#94 | |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]() Quote:
And also NF_, very useful :P
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
|
![]() |
![]() |
![]() |
#95 |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,816
|
![]()
BTW, do you feature OSARA as well? It's just one function but should be part of the docs anyway...
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
![]() |
![]() |
![]() |
#96 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
I dont have up to date version of osara on my config so not at this moment.
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#97 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
maybe I have too much addon but I'll surely try to make the HTML even cleaner as I realized that it has errors now (non which prevent render but which maybe could prevent good and faster rendering ? Has anyone found issue ?)
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#98 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
The site updating when typing in the filterbox is quite slow for me for quite some time now (seems to vary though).
|
![]() |
![]() |
![]() |
#99 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
Maybe I will need to put ReaImGUI functions on a dedicate page... there are just so many of them !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#100 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Maybe one page with ReaImGUI and JS extension functions (and all future extensions to come)?
So (only) people using these will see them if wanted? (Ok, same could be done for the SWS functions, but since SWS is (imo) so common it may feel like almost native. :P But fine for me also if it moved to a extension dedicated page.) Thanks for the update btw. |
![]() |
![]() |
![]() |
#101 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
It is only ReaUmGUI which is huge, it almost double the size of document, it is 1.5 MB now which is use for just pure HTML.
I will also check if the html can be even more consize. A simple class name change can be several Ko of diff because repeated so many times. But in other browser like Brave it works very nicely so.....
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#102 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
@nofish
THx for the report simple SSL certificate expiration I just renew it Thx!
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#103 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Thanks.
(and sorry for the confusion, deleted post and moved to Slack PN because I wasn't sure if you're ok with mentioning publicly...) |
![]() |
![]() |
![]() |
#104 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
Poll: do you see any advantage of keeping the firsts paragraphs of the doc (the one speaking how to use EEL and Python etc), considering that these information are already available elsewhere on reaper.fm ? Aka, are you ok for making this page a bit lightweight by keeping only sidebar, main infos and definitions list ?
I'm trying to make my parser simpler, and skipping this section will help save some dev time spent on correcting HTML :P
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#105 | |
Human being with feelings
Join Date: May 2017
Location: Somewhere over the Rainbow
Posts: 6,816
|
![]() Quote:
![]()
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
|
![]() |
![]() |
![]() |
#106 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Yes..
|
![]() |
![]() |
![]() |
#107 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
Can you please try the new version ?
EDIT: now live at the regular URL https://www.extremraym.com/cloud/reascript-doc/ The main diff is that there is no intro text, just list of functions, and that is 99.999% valid html (there is just some invalid character in ids, for some compatibility based on original document). it is mostly HOW it is generated, which is now just a double click on a python script, which means that I will be able to update this way more easily (... well... I have spend days to save few minutes for each times.... but you know sometimes, these few minutes are just too much friction :P) if it is good, I'll make it live. Let me know if you see any error in the document (things which are not displayed well). Thx!
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation Last edited by X-Raym; 11-18-2021 at 07:47 AM. |
![]() |
![]() |
![]() |
#108 | |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]() Quote:
Thanks for continously maintaining it btw., invaluable for me when doing Reaper coding. ![]() |
|
![]() |
![]() |
![]() |
#109 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
@nofish
That is all I wanted to hear :P It is now live at the regular address! CTRL/CMD + MAJ + R to refresh the page onj your browser if loaded from cache (just checked update date written on the top of the page).
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#110 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,737
|
![]()
What regular address? Maybe you should add it to OP?
|
![]() |
![]() |
![]() |
#111 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
@MonkeyBars
Indeed, the OP surely deserved an update. Done!
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#112 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,737
|
![]() |
![]() |
![]() |
![]() |
#113 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
@MonkeyBars
Thx ! Knowing that this site is actually helpful is a big motivator to continue its enhancement 😉
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#114 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,737
|
![]()
Hi X-Raym,
You're simply a legend I only just started scripting. I took on an existing unfinished project. It's huge so I need all the help I can get, and it's so great to have a proper function docs tool to look up API hooks nearly instantly. My project was started on this thread https://forum.cockos.com/showpost.ph...&postcount=212 Once I have the beta ready I'd love to get your opinion on the codebase. Don't worry, it's only 1500 lines :') |
![]() |
![]() |
![]() |
#115 | |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
@MonkeyBars
Quote:
Haha what an empowering compliment 💪🤓 Non-Destructive glue hm ? Well.. that's pretty hard for a first script 😜 Even now I wouldn't have jump on it. You will become a legend as well when you will succeed !
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
|
![]() |
![]() |
![]() |
#116 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,737
|
![]() |
![]() |
![]() |
![]() |
#117 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
Updated with REAPER v6.47 / SWS v2.13.0.0 / Reapack v1.2.4rc1 / JS_ReaScript API v1.301 / ReaImgui v0.5.10
JS_ReaScript API got some new ZIP related features.
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#118 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,333
|
![]()
Thanks.
Just to note (to avoid any confusion) SWS v2.13 is currently still pre-release. |
![]() |
![]() |
![]() |
#119 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,489
|
![]()
For people who find my doc page slow, please try this prototype
http://www.extremraym.com/cloud/reas...c/index_3.html and please please please if you have issue, report ! seems it has performance issue since months for some people and no one told me �� For info, even the old version was working extra fast on my end. Next and final step of this protoype is substring highlight on filter. I will write this from scratch, cockos style (no dependency!). EDIT link edited
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
![]() |
![]() |
![]() |
#120 |
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,737
|
![]()
The prototype string filter works faster than the old page for me (macOS Chrome).
__________________
My ReaScripts: Superglue – Buss Driver – Fold Source – Various Utilities – My ReaPack repo URL |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|