Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Wed Nov 16, 2016 8:35 am

The whole masks should be copy/pasted into the Mask text box, not the Filter. Here is the excerpt from the Usage section:
"The Mask text box is located near the bottom of the Settings dialog box. It displays the whole mask and its content is automatically updated whenever you modify some of the previous controls above it. However, this works in other way as well, i.e. you could type some mask from scratch or modify some existing one in the Mask text box and the corresponding controls above it will be automatically updated. Of course, you could copy/paste masks to that text box, e.g. if you find it posted in the Forum."

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by MMFrLife » Wed Nov 16, 2016 7:57 am

I tried it and the second I paste into filter field it freezes up almost all the other fields from use (no message), seems regardless of whatever else I set first.

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ditc » Wed Nov 16, 2016 7:08 am

Thank you very kindly for this! Sadly, I don't know where I should input this info. I tried to input it in the SQL area of making a new MagicNode, but it said "Mask is not valid".

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Wed Nov 16, 2016 6:09 am

MN5 mask (viewtopic.php?p=429159#p429159):
Code: Select all
<Group|Name:Artists...>\Artists that begin with the same <ID:1> characters|Icon:Top level|Filter:Songs.ID IN (SELECT Songs.ID FROM Songs INNER JOIN ArtistsSongs ON Songs.ID = ArtistsSongs.IDSong AND IfNull(ArtistsSongs.PersonType, 1) = 1 INNER JOIN Artists ON ArtistsSongs.IDArtist = Artists.ID WHERE SubStr(Artists.Artist, 1, <Number|Caption:Number of characters|Value:7|MinValue:1|MaxValue:100|ID:1>) IN (SELECT SubStr(Artist, 1, <ID:1>) AS sLeft FROM Artists WHERE ID IN (SELECT IDArtist FROM ArtistsSongs WHERE IfNull(ArtistsSongs.PersonType, 1) = 1) GROUP BY sLeft HAVING Count(sLeft) > 1))\<Artist|Unknown:No>

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by Haaden2 » Thu Aug 25, 2016 1:45 pm

I think I understand your point. The potential modification you mention would look a lot less clumsy, be more intuitive (at least to me), and save limited space in the dialog box. I would be really pleased if you decide that's what you want to do!

Thanks again for this and the other add-ons you bring to the MM community!

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Thu Aug 25, 2016 12:50 pm

The problem with your request is that the <If> tag represented with the check box could affect not just one nested tag/control/variable, but it could affect/contain two or more nested tags/controls between <If> and <End If>. If you tick on/off such check box, then all nested controls would be enabled/disabled. Even more, you could have <If> ... <End If> construction without any nested tags. So, the Value argument of the <If> tag could be also considered as one variable which could be 0 or 1.

In another words, there is no direct correspondence between your <If|Caption:Specific Genre...> tag and <String|Caption:Genre...> tag and their related controls.

However, maybe I could modify the script to display the nested spin/edit control on the same line with its parent check box when:
1. the Caption of the check box is empty and
2. there is just one Number/String tag inside of the <If> ... <End If> construction represented by that check box.

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by Haaden2 » Thu Aug 25, 2016 10:57 am

Yes, there may be room for 28 controls, but I can't see how to use fewer than 2 controls for 1 variable in my situation. For example, I have an Artists node for which I want to choose optional variables such as Rating, Year, Genre, Occasion, etc. The mask is quite simple, with the filter being strings of parameters for each variable, one after the other. Each variable has a check box to indicate whether the variable is to be applied and then a text or number box for the value to be applied. For instance, the filter contains this string for a Genre option:
Code: Select all
<If|Caption:Specific Genre|Value:0|ID:20>AND <Genre> Like '%<String|Caption:Genre|Value:Pop/Rock|ID:21>%'<End If>

If there was a way to reduce the controls from 2 to 1 for each variable, I would have enough space to fit everything into the dialog box. But I haven't figured out a way to construct my mask and filter to use just 1 control for each optional variable.

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Thu Aug 25, 2016 7:24 am

Haaden2 wrote:Is there any way to get more lines to display in the Adjust Magic Node dialog box, maybe with a scroll bar or some other means?

Thanks for the kind words. Unfortunately, there is no way to add more controls to the dialog box than they could fit on the screen (actually, you could add them, but they will be invisible outside of the screen). The limiting factor is the program API - I already suggested to MM developers to add an ability for scripts to add the scroll bars, but they haven't responded at all.

However, I think you really overdone it. The height of each control is 30 pixels including the empty space between them; now, if you have a screen with 1080 pixels vertical resolution and the task bar with 100 pixels height, and let say that the title bar of dialog box is 100 pixels and the bottom row with OK/Cancel buttons is 40 pixels, this all means that you could have (1080 - 100 - 100 - 40) / 30 = 28 controls. I think more adjusting variables than that would be really too much for just a single node.

Currently, the adjustment dialog box could have the spin/slider controls for numbers and the edit controls for strings. I had an idea to add a possibility for users to add the drop-down combo box control(s) to the adjustment dialog box as well. Such control would allow a choice between several options for a single variable and maybe it could simplify some layouts of that dialog box. However, I am not sure how easy would be to implement that thing in the script. Besides, I think that RegExp Find & Replace add-on would have more benefits with added combo boxes than Magic Nodes.

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by Haaden2 » Thu Aug 25, 2016 3:59 am

I cannot say enough about how great Magic Nodes is and ZvezdanD's support of it! The Adjust Magic Nodes capability in the enhanced version 5.x has made a huge difference in how I interact with my 190k tracks of music. Maybe I've overdone it, but over time I've developed an adjustable Magic Node that now won't fit in the dialog box, even when I maximize it on my screen.

Is there any way to get more lines to display in the Adjust Magic Node dialog box, maybe with a scroll bar or some other means?

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Fri Aug 12, 2016 1:30 am

The problem with their "solution" is that they are not updating their algorithm for recognizing malicious code, but they just added my files to their white-list instead, which is something that you could do by yourself if you follow the links from my previous post with their instructions for exclusions. Which is also kind of bummer because, if I understand correctly, when I release any new versions of my add-ons someone should submit these updated files to them again, so they could put such files to their white-list over and over.

I don't want to imply anything, but here is the part of message that I got from one user having the same problem with their anti-virus:
"After your first response to my concern, I ran two Web-based scans from major anti-virus solutions. Neither of them found fault with MagicNodes.vbs. Clearly, F-Secure had reported a false alarm. It's ratings had slid since I chose F-Secure, so I changed to another anti-virus solution."

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by willyvds » Wed Aug 10, 2016 10:17 am

I have received a message that the fasle positive issue would be resolved. I have checked but unfortunately it isn't resolved. I have let them know.
Will keep you posted.

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by willyvds » Sat Aug 06, 2016 5:49 am

I have had a similar reply from them. Thanks!

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Sat Aug 06, 2016 1:25 am

I have uploaded all my free add-ons to F-Security and here is their answer:
"We downloaded the files from dropbox, and few of those files are indeed detected.
We have white-listed those detected files, and a new database update will be released to resolve this issue as well.

For the meantime, you may exclude this file from Real-time Scanning.Instructions for exclusions can be found here:

Internet Security 2013/2014:
https://community.f-secure.com/t5/Secur ... ta-p/15398

Internet Security 2015:
https://community.f-secure.com/t5/Secur ... ta-p/56363

Policy Manager and PSB Workstation:
https://community.f-secure.com/t5/Manag ... ta-p/66013

For the latest database updates please visit this page:
https://www.f-secure.com/en/web/labs_gl ... l/view/140

We apologize for any inconveniences that this may have brought you."

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by willyvds » Sun Jul 31, 2016 4:24 am

I removed the MN version with the extra features, and installed the free version. The same happens: I run a manual scan of the pc, this scan reveals no problems, I start MM with MN and it is fine, but when I restart MM with MN an hour later the scanner gives an error message and removes the MN file.
By the way if I scan the MagicNodes-4.3.2.mmip file manually, the scanner also reports an issue. So they did not resolve the issue as reported.
I did submit this as you requested and will keep you posted.

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2

Post by ZvezdanD » Fri Jul 29, 2016 2:43 pm

willyvds wrote:Sorry but after a few hours, the worm issue has returned.

I don't understand how it has returned if nothing was changed. The anti-virus should work and report consistently.

willyvds wrote:Let me know if it helps if I also report this issue.

Please try to install the freely available version of the add-on to see if the same thing will happen with it as well, then submit that version to F-Secure:
https://www.f-secure.com/en/web/labs_gl ... t-a-sample

Top