Myriad Forum « myrweb - disable download »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Dec 17th, 2017, 8:28pm 
   Myriad Forum
   Myrweb / Melody Player & other freeware programs
(Moderator: Forum Administrator)
   myrweb - disable download
   
« Previous topic | Next topic »
Pages: 1 2  Reply | Notify of replies | Print
   Author  Topic: myrweb - disable download  (Read 903 times)
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
myrweb - disable download  
« on: Apr 20th, 2017, 12:28am »
Quote | Modify

I am using a script to produce myrweb.html files, e.g.,  
 
score.WebExport(fullPathName, FORMAT_HTML)
 
Is there any way to disable the download function on the resulting web page?
offline
Andre_B
Board Master
*****





   


Gender: male
Posts: 584
Re: myrweb - disable download  
« Reply #1 on: Apr 20th, 2017, 8:34am »
Quote | Modify

Before calling score.WebExport, make a call to  
 
Application.WebExportSetup(1)  
 
This will give you a panel, which is similar to the setup panel in interactive mode (but different) and you can tick the wanted includes Under "Save to format".  
 
You need to do that only once.  
 
Alternatively, you can update the control file  
Appdata\Roaming\ACAMPREF\Myriad\MyrWebMyrScript.setup  
offline

André Baeck, belge vivant dans le Gard
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download  
« Reply #2 on: Apr 20th, 2017, 9:18am »
Quote | Modify

Thank you.
 
But I can't the MyrWebMyrScript.setup file or any of the directories above it. I'm using Mac OS, if that matters.
 
And by doing it "only once" do you mean once for all time, or once each time I run the program?
offline
Andre_B
Board Master
*****





   


Gender: male
Posts: 584
Re: myrweb - disable download  
« Reply #3 on: Apr 20th, 2017, 10:52am »
Quote | Modify

No idea where that can be on Mac, but anyway I wouldn't suggest these files to be altered by people not familiar with modifying them (or similar ones).  
 
Indeed, "once and for ever" ... but obviously you can run it again whenever you like, so that "ever" isn't necessarily a very long time.  
 
If you want to have a script creating a myrweb with attached files, and another one without (or with another subset), there might be a way using GetWebExportSetup, but I did not yet succeed in using it.
offline

André Baeck, belge vivant dans le Gard
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download  
« Reply #4 on: Apr 20th, 2017, 4:14pm »
Quote | Modify

Thanks, again.
offline
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download   Web_Advanced_Export.jpg
« Reply #5 on: Apr 21st, 2017, 1:40am »
Quote | Modify

I am still stuck. I've attached a couple of screen shots.
 
When I run Application.WebExportSetup(1) I get the Web Export window, which doesn't seem to have anything I need at the moment.
 
I click on Advanced and get the Web Advanced Export window. The line that seems most relevant is called "toolset". The only choice is "default" and it says "see manual".
 
I browsed the manual for quite awhile and searched for "toolset", "tool icons", "download" and a number of others. Found nothing.
 
Why is this so hard?
 
P.S. [I guess I can only attach one file, so it will be the Advanced one]
offline

aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download  
« Reply #6 on: Apr 21st, 2017, 4:32am »
Quote | Modify

I wrote a simple script that calls  
 
     Application.WebExportSetup(1)
 
and then exports the file
 
     score.WebExport(fullPathName, FORMAT_HTML)  
 
But nothing I do (changing the Title, suppressing the lyrics ) has any effect on the exported file.
 
What am I missing here?
offline
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download  
« Reply #7 on: Apr 21st, 2017, 4:41am »
Quote | Modify

This is really making me crazy.
 
I just tried putting in a background image, and it worked!
 
Which tells me that my test script is set up properly. But why do some things work and others not?
 
Qu'est-ce qui se passe ici?
« Last Edit: Apr 21st, 2017, 4:42am by aheezen » offline
Andre_B
Board Master
*****





   


Gender: male
Posts: 584
Re: myrweb - disable download  
« Reply #8 on: Apr 21st, 2017, 11:01am »
Quote | Modify

Indeed, suppressing the lyrics isn't active - also in interactive mode.  
 
About the title bar, there is something which I want to check further before commenting.  
 
I don't see an option to put a background image, where did you put that on? Or do you mean a background color?  
 
I think that the "Advanced Setup" parameter screen was designed with the complete set of options planned, though some were not implemented yet (this was mentioned in a blog comment, I think). The development top priority for myrweb is to have the volume control per track (or group, rather). I understand that this (currently in user test) is part of "toolset" for which currently no other set than the default is available.
« Last Edit: Apr 21st, 2017, 11:22am by Andre_B » offline

André Baeck, belge vivant dans le Gard
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download   combo.pdf
« Reply #9 on: Apr 21st, 2017, 6:42pm »
Quote | Modify

So "see manual" means to consult a manual that doesn't exist about features that are not implemented? I guess I am pleased that someone is at least thinking about documentation.
 
About " volume control per track (or group, rather)": This would be very valuable to my application. A couple of days ago I noticed a new icon (on what I'm calling the "toolbar") - It appears to be a mixer but only shows one volume slider (Page 1 of attached PDF - that file has two staves, only the tenor line is enabled in print setup).
 
But your mention of "(or group, rather)" caught my attention: I don't know what you mean by "group", exactly. Is there maybe some way I could regroup things and get a real mixer?
 
Page 2 of the attachment shows how I added the background image.
Page 3 shows the effect of that change. It also shows that I widened and centered the score via the "HTML setup" button on the Web Advanced Export window.
Page 4 shows the HTML.
« Last Edit: Apr 21st, 2017, 6:54pm by aheezen » offline
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download  
« Reply #10 on: Apr 21st, 2017, 6:51pm »
Quote | Modify

Is there any way to know what has been implemented? Another thing that would also be extremely valuable to me to be able to change tempo and/or jump around in the piece - the Web Advanced Export window refers to a Time Management Bar. I can only hope...
 
You referred to the "setup panel in interactive mode". Where would I find that? As it stands now I have to use a script to get the setup panels.
 
You also referred to a "blog comment" - where is this blog?
« Last Edit: Apr 21st, 2017, 6:53pm by aheezen » offline
Andre_B
Board Master
*****





   


Gender: male
Posts: 584
Re: myrweb - disable download  
« Reply #11 on: Apr 21st, 2017, 8:41pm »
Quote | Modify

on Apr 21st, 2017, 6:51pm, aheezen wrote:

You referred to the "setup panel in interactive mode". Where would I find that? As it stands now I have to use a script to get the setup panels.

 
In interactive mode, you have to enable this setup panel via:
Configuration Menu / Global Setup / print-export  
and tick the last entry  
 
I'll answer your questions (all I hope) one at a time, that better fits the time I have available.
offline

André Baeck, belge vivant dans le Gard
Andre_B
Board Master
*****





   


Gender: male
Posts: 584
Re: myrweb - disable download  
« Reply #12 on: Apr 22nd, 2017, 7:06pm »
Quote | Modify

on Apr 21st, 2017, 6:42pm, aheezen wrote:
About " volume control per track (or group, rather)": This would be very valuable to my application. A couple of days ago I noticed a new icon (on what I'm calling the "toolbar") - It appears to be a mixer but only shows one volume slider (Page 1 of attached PDF - that file has two staves, only the tenor line is enabled in print setup).
 
But your mention of "(or group, rather)" caught my attention: I don't know what you mean by "group", exactly. Is there maybe some way I could regroup things and get a real mixer?

 
The mixer shows not only volume sliders, but also a "pan indicator" (which I think is much to small).
 
They apply to groups (of staves), which need to be created.  
The first approach is to create a group for each staff: on the HTML export panel, there is a rectangle headed "split tracks" and underneath an "apply groups" selection: select "Each singer separately", for instance.
offline

André Baeck, belge vivant dans le Gard
Andre_B
Board Master
*****





   


Gender: male
Posts: 584
Re: myrweb - disable download  
« Reply #13 on: Apr 22nd, 2017, 7:14pm »
Quote | Modify

on Apr 21st, 2017, 11:01am, Andre_B wrote:
Indeed, suppressing the lyrics isn't active - also in interactive mode.  

 
I did not catch exactly what this option means.  
Actually, "See Lyrics" causes an "eye" to appear on the "toolbar" - and this gives a pop-up menu with  
 
- the option to display measure numbers
- the option to select a staff  
 
In the latter case the lyrics are displayed on the screen, without the notes, as would be in a karaoke.    
offline

André Baeck, belge vivant dans le Gard
aheezen
Board Newbie
*





   


Gender: male
Posts: 30
Re: myrweb - disable download  
« Reply #14 on: Apr 22nd, 2017, 9:29pm »
Quote | Modify

on Apr 22nd, 2017, 7:06pm, Andre_B wrote:

...
They apply to groups (of staves), which need to be created.  
The first approach is to create a group for each staff: on the HTML export panel, there is a rectangle headed "split tracks" and underneath an "apply groups" selection: select "Each singer separately", for instance.  

 
Do you know if there is a way to create these groups in a script? [Is this "grouping" something specific to myweb or is it related to "merged staves" or other aspects of the way staves are displayed and/or printed.]
 
Again, thanks very much for all your help. I think I'm finally catching on. A little.
 
offline
Pages: 1 2  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Last update:  (c) Myriad