Coder Social home page Coder Social logo

Comments (28)

abdullah-erturk avatar abdullah-erturk commented on September 22, 2024 1

The problem still persists.

from shell.

RubicBG avatar RubicBG commented on September 22, 2024 1

image

20240303-2101-18.9878673.2.mp4

the first tests seem to be successful

from shell.

RubicBG avatar RubicBG commented on September 22, 2024 1

NS has no function to read JSON syntax - I have to improvise. This time I have reduced the possibility of errors - but the more I limit it the more the code becomes "heavy" and the verification time increases
Spotlight3.nss.txt
test this file (remove the .txt extension)
regardless if the code works or not i would like info if it is windows 11 or 10 and also the build version

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024 1

@RubicBG Cool, now it's working! Thanks!

2024-03-08 124648

Just please tell me how I can remove all unnecessary menu items from the Spotlight context menu, namely all those above the location name?

I apologize that the screenshot is my translation of the menu into Ukrainian, but there are items "Terminal", "File Manage" and "GoTo" at the top.

By the way, I need to remove these same menu items from the context menu of the Recycle Bin.

from shell.

RubicBG avatar RubicBG commented on September 22, 2024 1

where=not(wnd.is_desktop and sel.type==0)
this should be added to each code additionally and if "where=" is already present it should be merged like:
where=not(wnd.is_desktop and sel.type==0) and ( the_existed_where_here )

PS: there is a much easier way to restrict all the codes without having to edit them one by one - I will try these days to make a complete description/tutorial of how to use it and what exceptions should be foreseen

from shell.

RubicBG avatar RubicBG commented on September 22, 2024 1

If the entire translation can be done through just one single file, ...

it is not a good idea to translate all menus and items with a single nss file. For each name, tool-tip, description, information in panels ..., a variable with a different name must be created. I have more than 100 nss files and some of them have more than 300 commands (like "Nilesoft Shell Theme Manager" https://discord.com/channels/1106387012707168318/1139275510506082336 with over 8600 item names and over 600 menu names, although not all need to be translated)

what can be done is to split each nss file into two separate files - one will contain the code and the other only the translations. even if the code file changes, it can still recognize the translations from the second file. and the variable names will only apply to the first file

I am Bulgarian, but I prefer my menus to be in English

from shell.

RubicBG avatar RubicBG commented on September 22, 2024 1

spotlight3.nss.txt
Тhere is no information about these links in the code you sent me, that's why they don't appear for you. if the code contains this information with any of the following sessions of Windows Spotlight, they will appear

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024 1

spotlight3.nss.txt

Awesome, now it's perfect! Thank you very much for your work!

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024 1

need feedback
Is everything understandable?

Yes, from the description, I understand why it's needed and how it works.

Haven't tested it myself yet, because I'm too lazy to edit back all the .nss I've already fixed using your instructions above:

where=not(wnd.is_desktop and sel.type==0) and ( the_existed_where_here )

from shell.

crcastilho avatar crcastilho commented on September 22, 2024

Same thing here.

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

can any of you take a screenshot before and after installing NS so I can get a better idea of the unwanted result

from shell.

crcastilho avatar crcastilho commented on September 22, 2024

Right click on
image
before NS gets this
image
and after gets this
image
Hope this helps.

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

It helps me understand the situation:

As you know, Microsoft has started to create a "modern" context menu (it has "Show more options" to display the "old" context menu). (I guess) Microsoft is trying with the modern context menu to limit the placement of commands by registry editing or by registering .dll files (restrict or control is still not clear) If you want to understand how commands are placed in the modern context menu you can watch this: https://www.youtube.com/watch?v=LfBQm-FY-2I

NS can NOT change the modern context menu - it "dresses" like a skin the old context menu with new options. When installing the program, it disables мodern context menu so it can run.

'Windows Spotlight Learn':
Screenshot 2023-10-22 064032Screenshot 2023-10-22 063805
I'm using it for the first time, but this is what the two menus look like on my computer (Win11 Pro 64-bit: 22621.2428)

I didn't know if it was NS script related - that's why I asked. Currently there is no such option to disable NS only for a given menu to show the modern context menu. I don't know if it's still possible because it might hinder his work

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

Unfortunately, the problem persists. I have no "Switch to next picture" option in the context menu from Shell :(

Canary version 1.9.14, Windows 11 Pro 23H2 22631.3085

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

"Switch to next picture" - and I don't have it anymore, I tried to restore it but without success - it is possible that this option was removed by Microsoft with some update

I need help, or rather information to see if there is anything I can do:

  • I need a (older) version of windows where it is still working
  • i need export for the registry key: HKEY_CLASSES_ROOT\CLSID\{2cc5ca98-6485-489a-920e-b3e88a6ccce3}
    There is the information about the commands, at the moment I only have SpotlightClick - SpotlightNext, SpotlightLike, SpotlightDislike are gone

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

@RubicBG Cool, thanks!
Is this already coming in the new stable version or is it already in Canary?

from shell.

RubicBG avatar RubicBG commented on September 22, 2024
  • since the code depends entirely on what and how Microsoft feeds the information, any change by Microsoft the code may stop working - the code will be available as "Snippets" and will not be in a stable nor canary version
  • set of 4 wallpapers are changed about a week apart - I'll need a week or two to check everything is working properly before I share the code
  • if anyone wants to discuss something more on the topic, please visit https://discord.com/channels/1106387012707168318/

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

Windows Spotlight (beta)
https://nilesoft.org/forum/viewtopic.php?t=21
need feedback

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

need feedback

It's not working for me, see the video for details:

2024-03-06.174544_1.mp4

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

can play the clip, pls resend

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

Unfortunately, I've already removed this video from my PC((( But I have it playing on this page with no problems.
Try refreshing the page, or opening it in another browser, or saving it to your PC and watching it afterwards.

Of course I can download it from here and upload it again, but what will change?

If it still doesn't play for you, I'll re-record it tomorrow....

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

I was able to watch the video - I have an idea how to fix it, but I need time

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

Cool, it worked!

It would be even cooler if in future versions you could actually change all of this in just one .nss file, so that you don't have to edit all the added menus separately each time you update.

Already not entirely on the topic of the topic, but it would be great if, with some of the future versions of the program, the translation of all added items and sections of the context menu could be done in one single file! For example, I made a 100% translation of all Shell items into Ukrainian, but every time I update the version of your program, I have to MANUALLY check EACH .nss file for changes and manually update their translation, which is very inconvenient and takes a lot of time.

If the entire translation can be done through just one single file, then this will make your program more popular among non-English speaking audiences! For example, I will be happy to share the Ukrainian translation for your program if there is such an opportunity in the future.

I apologize for the off topic.

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

There is another problem with this context menu, which you can see in the screenshot. In the submenu of each wallpaper there are several empty menu items, clicking on which does not lead to anything:

2024-03-08 173329

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

item(title='Spotlight JSON' cmd=io.file.write(path.combine(user.desktop, this.title +'.txt'), sys.ver.name + "\n\n" + sys.ver + "\n\n" + reg.get('HKCU\Software\Microsoft\Windows\CurrentVersion\DesktopSpotlight\Creatives', 'Creatives')))

this command will generate a file on the desktop - send me the file. The structure in non-English sources may be different

from shell.

Rus1anB avatar Rus1anB commented on September 22, 2024

this command will generate a file on the desktop - send me the file. The structure in non-English sources may be different

Spotlight JSON.txt

like "Nilesoft Shell Theme Manager" https://discord.com/channels/1106387012707168318/1139275510506082336

Unfortunately, I do not get to the server using this link and cannot view the content(

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

Unfortunately, I do not get to the server using this link and cannot view the content

#423 (comment)

I don't know why the discord channel reject the users

from shell.

RubicBG avatar RubicBG commented on September 22, 2024

https://nilesoft.org/forum/viewtopic.php?t=23
need feedback
Is everything understandable?

from shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.