Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: JScript Panel (Read 312285 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: JScript Panel

Reply #1125
My repositories remained intact for several hours after my initial outburst in the SMP thread. The decision was well considered.

I just checked https://jscript-panel.github.io/gallery/ to see if there were any component updates and find that they have been removed.

I have been reading the forum posts and I see that this is a thoughtful decision.

I just want you to know that I abandoned the foobar 32-bit version because I was able to replace thanks to your Jscript Panel3 all the panels I had developed under WSH panel.
And I also replaced Quick Search by your Qsearch. And Keep Queue for your Queue Viewer. I also have Cover Info, Cover resizer and Musicbrainz64 installed.

I'm really sorry. I don't know your reasons for this decision. I would very much like you to go back and reinstate these components even if you don't update them regularly. Pity those of us who use your components.



Re: JScript Panel

Reply #1128
The keyboard shortcuts for opening dialogs are here...

https://jscript-panel.github.io/docs/configuration-window/#keyboard-shortcuts

There's nothing much to say about using the dialog. :/

edit: I guess you can look at the searchFlags in the Scintilla docs...

https://www.scintilla.org/ScintillaDoc.html#searchFlags

The three checkboxes toggle these flags-

Code: [Select]
SCFIND_MATCHCASE
SCFIND_WHOLEWORD
SCFIND_REGEXP | SCFIND_CXX11REGEX





Re: JScript Panel

Reply #1132
The above needs correcting: 720px is also supported. People on 600px can do one.  :))

Actually, this subject has come up before. Anyone can copy/paste the script they want from any text editor in to the window. Even with the buttons out of view, Ctrl+S will apply and then they can close.



Re: JScript Panel

Reply #1135
Opens button menu in configuration window:

  • Alt+T: Tools menu
  • Alt+S: Samples menu

and

  • Alt+O: Ok
  • Alt+A: Apply
  • Alt+C: Cancel



It would be great if these could be added to the user info here (where I can find them): https://jscript-panel.github.io/docs/configuration-window/

Are there two key combinations for "apply"?  The above says Ctrl+S.
It's your privilege to disagree, but that doesn't make you right and me wrong.

 

Re: JScript Panel

Reply #1136
It's not going to be documented on the docs page.

It's a generic windows thing that *some* dialogs will implement when pressing the Alt key.

Open dialog for the first time, look at the buttons.. nothing to see.



Now press the Alt key, look again and spot the difference....



See how some letters are underlined. That's the key combo with Alt you need to use.




Re: JScript Panel

Reply #1139
It's not going to be documented on the docs page.

It's a generic windows thing that *some* dialogs will implement when pressing the Alt key.

Open dialog for the first time, look at the buttons.. nothing to see.



Now press the Alt key, look again and spot the difference....



See how some letters are underlined. That's the key combo with Alt you need to use.


Big problem: that is not visible on my 600px screen (which is why the hot keys are necessary), so there is no visual clue.  The keyboard shortcuts are useful, but less useful when the information is buried in a forum thread.  What's so wrong with including it in the documentation – surely something in the software (rather than the OS) allocates the hot letter in a button name?

I note the Style button has no hot key, but as I can't really use the editor anyway that hardly matters.
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: JScript Panel

Reply #1140
In the sample 'thumbs' . I would like to move the pictures coordinate x , y . They start at 0 on the top left .
Can I move them to something x = 50 and y = 50 ?
I change theirs size by : panel.width = 200 and panel height = 200. Thanks a lot

Re: JScript Panel

Reply #1141
Pretty much every object in my scripts was designed to have custom x,y,w,h values. The one exception to that was thumbs. It's always been hardcoded to fill the whole panel. Changing values without breaking it will be difficult.

Re: JScript Panel

Reply #1142
I hope I'm in the right section.

I have the following error:

Error: Spider Monkey Panel v1.6.1 (Lastfm Cover: Lastfm Cover by zeremy)
CheckMenuRadioItem failed:
Index is out of bounds

File: thumbs.js
Line: 345, Column: 25
Stack traces:
  _thumbs/this.rbtn_up@thumbs.js:345:25
  _panel/this.rbtn_up@panel.js:85:11
  on_mouse_rbtn_up@lastfm_cover.js:197:18

The error occurs when I right-click on the "Panel properties" menu and change the value from 3 to 4 in the "THUMBS.ASPECT" field

The problem also occurs in the original smoralis footuner-master skin.







Re: JScript Panel

Reply #1144
Sorry :-[

Re: JScript Panel

Reply #1145
Hello, I wanted some help regarding scripting... In the Album Art section of the GitHub Documentation, it's mentioned that it supports displaying images from certain online sources.

Basically, I have a radio station where it doesn't send its album art through StreamUrl but instead hosts it somewhere else and even has an API to work with. Currently, I've implemented all the HTTP GET requests using JScript Panel and I am finally ended up with the URL of where the images are hosted but I am not sure if I can draw that image or if there's a way to just include an URL and the Panel draws the image... will be extremely helpful if you could provide some pointers...

Re: JScript Panel

Reply #1146
Nope, you can't draw remote images as such. You'd have to download a copy, save it locally and then use utils.LoadImage to create an image object which you can then draw. To download, look at utils.DownloadFileAsync. To create folders to save in, look at utils.CreateFolder.

https://jscript-panel.github.io/docs/namespaces/utils/#utilscreatefolderpath
https://jscript-panel.github.io/docs/namespaces/utils/#utilsdownloadfileasyncwindow_id-url-path

To remove, look at...

https://jscript-panel.github.io/docs/namespaces/utils/#utilsremovepathpath

Re: JScript Panel

Reply #1147
Nope, you can't draw remote images as such. You'd have to download a copy, save it locally and then use utils.LoadImage to create an image object which you can then draw. To download, look at utils.DownloadFileAsync. To create folders to save in, look at utils.CreateFolder.

https://jscript-panel.github.io/docs/namespaces/utils/#utilscreatefolderpath
https://jscript-panel.github.io/docs/namespaces/utils/#utilsdownloadfileasyncwindow_id-url-path

To remove, look at...

https://jscript-panel.github.io/docs/namespaces/utils/#utilsremovepathpath

Thanks! was about to resort to this since there wasn't any information out there regarding loading remote images.


Re: JScript Panel

Reply #1149
Marc,
Is it possible to use font awesome for one specific menu using "AppendMenuItem(flags, item_id, text)" ?
I didnt find anything in the doc (i think).
Thanks