|
|
|
02-20-2021, 04:33 AM
|
#81
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,458
|
Also, this doesn't look right:
The horizontal line and the spacing should be below the function explanation, not above it.
|
|
|
02-20-2021, 05:52 PM
|
#82
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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.
|
|
|
02-21-2021, 02:48 AM
|
#83
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,458
|
Thanks! Works great (again) now!
|
|
|
02-21-2021, 05:22 AM
|
#84
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Thanks!
|
|
|
02-22-2021, 03:13 PM
|
#85
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
There seems to be the GUID line missing.
From generated Reaper doc:
This was added in v6.13+dev0904.
|
|
|
02-22-2021, 03:20 PM
|
#86
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@nofish
I don't see this on REAPER v6.23 generated doc.... unreleased, or undocumented things ?
|
|
|
02-22-2021, 03:50 PM
|
#87
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Ah right, seems it was added with Razor Edit branch which isn't released yet (it's in current RC4).
Sorry for false alarm
|
|
|
03-03-2021, 06:16 AM
|
#88
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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 !
|
|
|
03-03-2021, 08:05 AM
|
#89
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,458
|
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 );
}
}
|
|
|
03-03-2021, 08:16 AM
|
#90
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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
|
|
|
03-03-2021, 08:28 AM
|
#91
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,458
|
Ok! Thanks!
|
|
|
03-08-2021, 06:11 PM
|
#92
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
ImgGUI added to the doc
|
|
|
05-06-2021, 05:46 PM
|
#93
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Quote:
Originally Posted by X-Raym
ImgGUI added to the doc
|
Now that your site got even bigger (and who knows what other extensions come in future ) I thought it could be nice being able to filter by extension.
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.
Last edited by nofish; 05-06-2021 at 05:52 PM.
|
|
|
05-07-2021, 12:19 AM
|
#94
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
Quote:
On second thought, we can search/filter by extension prefix (SWS_, JS_, ImGUI_..) I think that's fine.
|
And also NF_, very useful :P
|
|
|
05-07-2021, 02:38 AM
|
#95
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
BTW, do you feature OSARA as well? It's just one function but should be part of the docs anyway...
|
|
|
05-07-2021, 04:39 AM
|
#96
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
I dont have up to date version of osara on my config so not at this moment.
|
|
|
06-24-2021, 04:55 AM
|
#97
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
Update
- REAPER v6.30 / SWS v2.12.1.3 / Reapack v1.2.3.1 / JS_ReaScript API v1.220 / ReaImGui v0.5
Not sure why but it has become slow on my firefox,
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 ?)
|
|
|
06-24-2021, 05:47 PM
|
#98
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
The site updating when typing in the filterbox is quite slow for me for quite some time now (seems to vary though).
|
|
|
06-25-2021, 12:23 AM
|
#99
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
Maybe I will need to put ReaImGUI functions on a dedicate page... there are just so many of them !
|
|
|
06-25-2021, 06:00 AM
|
#100
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
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.
|
|
|
06-25-2021, 06:10 AM
|
#101
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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.....
|
|
|
07-15-2021, 07:17 AM
|
#102
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@nofish
THx for the report
simple SSL certificate expiration
I just renew it
Thx!
|
|
|
07-15-2021, 07:23 AM
|
#103
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
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...)
|
|
|
11-15-2021, 11:24 AM
|
#104
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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
|
|
|
11-15-2021, 11:39 AM
|
#105
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,630
|
Quote:
Originally Posted by X-Raym
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
|
Funny. I think about putting these sections into a dedicated "How To ReaScript"-page in my docs for the same reason
|
|
|
11-15-2021, 04:48 PM
|
#106
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Quote:
Originally Posted by X-Raym
Aka, are you ok for making this page a bit lightweight by keeping only sidebar, main infos and definitions list ?
|
Yes..
|
|
|
11-17-2021, 06:32 PM
|
#107
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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!
Last edited by X-Raym; 11-18-2021 at 07:47 AM.
|
|
|
11-18-2021, 07:41 AM
|
#108
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Quote:
Originally Posted by X-Raym
Let me know if you see any error in the document (things which are not displayed well).
|
It's hard to spot any quirks with this big amount of functions but at first glance it looks fine to me.
Thanks for continously maintaining it btw., invaluable for me when doing Reaper coding.
|
|
|
11-18-2021, 07:47 AM
|
#109
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@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).
|
|
|
11-18-2021, 07:49 AM
|
#110
|
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
|
What regular address? Maybe you should add it to OP?
|
|
|
11-18-2021, 08:00 AM
|
#111
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@MonkeyBars
Indeed, the OP surely deserved an update. Done!
|
|
|
11-18-2021, 08:06 AM
|
#112
|
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
|
Quote:
Originally Posted by X-Raym
@MonkeyBars
Indeed, the OP surely deserved an update. Done!
|
Thanks! Been using your site for weeks. By far the most convenient way to reference ReaScript functions. Appreciate your efforts a lot
|
|
|
11-18-2021, 02:25 PM
|
#113
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@MonkeyBars
Thx ! Knowing that this site is actually helpful is a big motivator to continue its enhancement 😉
|
|
|
11-18-2021, 03:44 PM
|
#114
|
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
|
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 :')
|
|
|
11-18-2021, 05:04 PM
|
#115
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
@MonkeyBars
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 !
|
|
|
11-18-2021, 05:20 PM
|
#116
|
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
|
Quote:
Originally Posted by X-Raym
You will become a legend as well when you will succeed !
|
Indeed I will!!
💪🤓
|
|
|
02-13-2022, 05:50 PM
|
#117
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
v6.47
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.
|
|
|
02-13-2022, 08:09 PM
|
#118
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,110
|
Thanks.
Just to note (to avoid any confusion) SWS v2.13 is currently still pre-release.
|
|
|
04-25-2022, 05:23 PM
|
#119
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,902
|
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
|
|
|
04-25-2022, 05:26 PM
|
#120
|
Human being with feelings
Join Date: Feb 2016
Location: Hollyweird
Posts: 2,637
|
The prototype string filter works faster than the old page for me (macOS Chrome).
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 05:29 PM.
|