活动桌面网站可以打开程序吗?
我一直认为用“活动桌面”html页面替换普通的Windows桌面图标可以启动我的程序,以及通过链接打开目录和文件。这将是定制桌面的一种非常酷的方式。
使用“file://”协议是我的第一个方法,但这不能正常工作。在 另一篇SO帖子我发现这个链接,但它有点超出我的理解范围。这是正确的方法吗?
我无法想象我是第一个考虑到这一点的人;这似乎是个好主意(不是吗?)。大家觉得怎么样?
I have always thought that replacing the normal windows desktop icons with an "active desktop" html page which can launch my programs, as well as open directories and files through links. This would be a really cool way to customize one's desktop.
Using the "file://" protocal was my first approach but this does not work correctly. In another SO Post I found this link but its a little over my head. Is this the correct approach?
I can't imagine that I am the first one to consider this; it seems like a good idea (no?). What do you all think?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我在网吧运行了一个设置,其中每个桌面都通过运行 Flash 应用程序的活动桌面进行控制。启动和关闭操作是通过用 python 编写的迷你网络服务器来处理的。操作系统是XP。
我的经验是 Active Desktop 不可靠。它会严重泄漏内存并且经常崩溃。他们可能在以后的版本中修复了它,但由于几乎没有使用它,我怀疑已经付出了很大的努力来修复其明显的脆弱性。
I ran a setup in a cyber cafe where each desktop was controlled via active desktop running a flash app. Launching and shutdown operations were handled with a mini webserver written in python. The OS was XP.
My experience was that Active Desktop is unreliable. It leaks memory terribly and regularly crashes. They might have fixed it in later versions but since hardly anyway uses it I doubt much effort has gone into fixing its obvious flakiness.
我喜欢使用活动桌面进行桌面定制的想法。您可以做的是注册您自己的架构
添加注册表条目。
这是我使用的第一个例子。
将其添加到 .reg 文件并导入到注册表中。
更改“myschema”和可执行文件的位置以满足您自己的需求
现在,如果您创建超链接,
您的计算机将使用命令行中的 href 打开您的 MySchema 应用程序。
请注意,因为 Ervironment.CommandLine 将进行 UTF 解码,因此
您还可以在 ShellExecute 命令以及运行对话框中使用此架构。
这是我用来入门的示例程序。你应该能够很快得到这个想法,
祝你的申请好运。当它完成时,我很想看到它。
编辑:我为此添加了一些匹配的字符串,因为它是一个很酷的功能,更多的人可能想使用这种技术来完成他们想做的事情。这些是我在下面寻找的东西, (未成功)如果有人想到更多,请告诉我。
自定义 url/uri 处理程序
自定义架构程序<br>
注册网址程序
处理网页链接
从 url 启动应用程序
I like the idea of active desktop for a desktop customization. What you can do is register your own schema
Add a Registry entry.
Here is the first example I worked with.
Add This to a .reg file and Import into the registry.
Change "myschema" and the location of the executable to match your own needs
Now if you create a hyperlink
Your computer will open your MySchema Application with the href in the command line.
just be mindful because Ervironment.CommandLine will be UTF Decoded therefore
You can also use this schema in the ShellExecute commands as well as the Run Dialog.
Here is the example program I used to get started with. You should be able to get the idea pretty quick
best of luck with your application. I would be eager to see it when it is complete.
EDIT: I am adding some matching strings for this as it is a cool feature and more people may want to use this technique for something they wanted to do.. These are the things i looked for it under, (unsuccessfully) Let me know if anyone thinks of any more.
custom url/uri handler
custom schema program
registry web address program
handle web link
launch app from url
我之前研究过你问的问题,但没有发现任何有效的方法。
最终,如果目标是完全定制您的桌面,我认为您可以通过研究类似的内容来获得类似的结果:http://rainmeter.net/RainCMS/" rel="nofollow">http://rainmeter.net/RainCMS/ /rainmeter.net/RainCMS/ 和 http://kaelri.deviantart.com/art /Enigma-103823591 Lifehacker 有大量关于如何使其全部运行的链接/教程。通过在桌面上使用 HTML,我能够运行远远超出我目标的桌面。
I've looked into what you've asked a while back and never found anything that worked well.
Ultimately if the goal is full customization of your desktop, I think you can get a similar result by researching something like this: http://rainmeter.net/RainCMS/ and http://kaelri.deviantart.com/art/Enigma-103823591 Lifehacker has tons of links/tutorials on how to get it all running. I was able to get a desktop running that far exceeded my goals with using HTML on the desktop.
我得到一些非常有趣的结果的一种方法(尽管我已经多年没有尝试过,现在无法确认它是否仍然可以在现代操作系统和现代 Flash 播放器上运行)是使用运行 flash swf 文件的活动桌面页面它包含我创建的用户界面(在我使用它时)可以从 swf 中启动程序。
One way I got some really interesting results (though I haven't tried it for years and can't confirm right now that it still works on a modern OS and modern flash player) was to use an active desktop page running a flash swf file that contained a user interface I had created and (at the time I was using it) could launch programs from within the swf.