如何在vbscript运行时在图标托盘中显示图标? [英] how to show icon in icon-tray while vbscript is running ?

查看:131
本文介绍了如何在vbscript运行时在图标托盘中显示图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好,

i是vbscript中的新手,现在我想在vbscript中执行这些任务,

1)我想在图标托盘中显示图标我点击vbscript。

2)Vbscript有10个或更多功能,当功能根据该图标的工具提示改变时也改变了。

3)当最后一个功能完成时,它会显示你的脚本已完成工作的通知

4)显示通知后,10秒内图标将从图标托盘中删除。

如果有人知道解决方案让我知道。

谢谢。

Good morning everyone ,
i am new in vbscript and now i want to do these task in vbscript ,
1)I want to show icon in icon-tray when i click on vbscript.
2)Vbscript has 10 or more functions , when function change according to that icon's tooltip also changed.
3)when last function finishes , it will show notification that "your script has finished work "
4)After showing notification , within 10 seconds icon will be removed from icon-tray.
If anyone know solution let me know.
Thank you.

推荐答案

你不爱你的生活吗?为了上帝的缘故,请不要使用VBScript。



如果我建议,你应该看看 PowerShell [ ^ ]用于您正在执行的脚本。它更友好,已经为你做了很多事情。



接下来,你到目前为止尝试了什么?你刚刚在这里提到了功能要求。事实上,只留下怎么做?,我首先会问为什么要实现这个?。让脚本在任务栏中显示内容有什么额外的好处。



如果您仍想在VBScript中执行此操作,您可能会从此类似的操作中获得一些帮助讨论:



http:// support2.microsoft.com/kb/176085/en-us?p=1 [ ^ ]



当我试图将PowerShell卖给你时,这让事情变得更加简单。看看这里:



http:/ /technet.microsoft.com/en-us/library/ff730952.aspx [ ^ ]
Don't you love your life? For god's sake, please don't use VBScript.

If I may suggest, you should instead look at PowerShell [^]for the scripting which you are doing. It's more friendly and does a lot of things for you already.

Next, what have your tried so far? You just mentioned that functional requirements here. And in fact leave alone "How to do this?", I would first ask "Why should you implement this?". What is the added advantage of having a Script show something in a task bar.

If you still want to do it in VBScript, you might get some help from this similar discussion:

http://support2.microsoft.com/kb/176085/en-us?p=1[^]

And as I tried to sold PowerShell to you, that makes this thing really simpler. Have a look here:

http://technet.microsoft.com/en-us/library/ff730952.aspx[^]


这篇关于如何在vbscript运行时在图标托盘中显示图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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