VBScript和小工具 [英] Vbscript and gadgets

查看:74
本文介绍了VBScript和小工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试仅使用vbs,xml和html制作适用于Windows 7的小工具.现在,我被困在如何制作设置表单,以及如何保存然后调用它们的问题上.有人可以启发我如何使用vbs做到这一点. vb是否使用system.gadget.settings?

Hello, I am trying to make a gadget for windows 7 using only vbs, xml, and html.  right now I am stuck on how to make the settings form, and how I can save and then recall them. Could someone enlighten me on how to do this with vbs.  and does vbs use the system.gadget.settings?

推荐答案

例如,您可以使用注册表来使用它.将值保存到注册表中,然后读取.绝对可以.
小工具主窗口只创建一次,每次打开时都进行设置.

You can to it using registry, for example. Save values to registry and read them after. This works, definitely.
Main gadget window is created only once, and settings each time when you want to open it.

使用Javascript,您可以检测用户是否按了确定或取消,如果按了确定,则可以进行保存.
希望这对您的解决方案有所帮助.

Javascript provides you possibility to detect if user pressed ok or cancel and you can make saving if ok is pressed.
Hope that this can be idea for your solution.

  内纳德(Nenad)

    Nenad


这篇关于VBScript和小工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆