Settime无法正常工作 - UFT,VBScript,SWFCALENDAR对象

发布于 2025-01-30 17:39:36 字数 273 浏览 2 评论 0原文

我有一个对象SWFCALENDAR,必须在其中设置时间HH:MM格式。我正在使用类似于以下的代码。

VbWindow("Window").SwfCalendar ("datetimepicker").SetTime FormatDateTime(Now,4)

在这种情况下,它设置了时间,但是一旦移动到下一个对象,时间就会更改为默认时间。谁能帮助我解决这个问题?

注意:由于某些其他原因,我无法使用类型。因此,我将尽可能地使用Settime解决这个问题。

I have an object SwfCalendar in which I have to set time in hh:mm format. I am using a code similar to the below one.

VbWindow("Window").SwfCalendar ("datetimepicker").SetTime FormatDateTime(Now,4)

In this case, it sets the time but as soon as it moves to the next object, the time is changed to a default time. Can anyone help me in resolving this issue?

Note : I cannot use Type for some other reasons. So, as much as possible, I will have to fix the issue with SetTime.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文