用于平铺Windows veritaclly的java脚本将无法正常工作,为什么? [英] java script to tile windows veritaclly won't work, why?

查看:77
本文介绍了用于平铺Windows veritaclly的java脚本将无法正常工作,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在记事本中创建了以下行。我把它保存为js文件和

图标将其显示为javascript文件。它应该在我运行时平铺所有打开的

窗口。第一次运行它我得到一个字符错误

1,所以我删除了打开的括号,然后在

运行它时得到另一个编译错误。有人可以为我做这个工作吗?


(新的ActiveXObject(" Shell.Application"))。TileVeritcally()

I have the following line created in Notepad. I saved it as a js file and
the icon shows it as a javascript file. It is supposed to tile all open
windows when I run it. The first time I run it I get an error in character
1, so I delete the open parentheses and then get another compile error when
I run it. Can somebody make this work for me?

(new ActiveXObject("Shell.Application")).TileVeritcally ()

推荐答案

没有窗口通过任务栏上的右键菜单执行此操作吗?


Tony

" Jane Dickerson" < JA *************** @ aol.com>在留言中写道

news:ct ******************** @ netdoor.com ...
Doesn''t windows do this through the right click menu on the taskbar?

Tony
"Jane Dickerson" <ja***************@aol.com> wrote in message
news:ct********************@netdoor.com...
I在记事本中创建以下行。我将其保存为js文件,并且图标将其显示为javascript文件。当我运行它时,它应该平铺所有打开的窗口。第一次运行它时我得到了一个错误的字符
1,所以我删除了打开的括号,然后在运行它时得到另一个编译错误
。有人可以帮我这个吗?

(新的ActiveXObject(Shell.Application))。TileVeritcally()
I have the following line created in Notepad. I saved it as a js file and
the icon shows it as a javascript file. It is supposed to tile all open
windows when I run it. The first time I run it I get an error in character
1, so I delete the open parentheses and then get another compile error when I run it. Can somebody make this work for me?

(new ActiveXObject("Shell.Application")).TileVeritcally ()



Jane Dickerson说:
Jane Dickerson said:

我在记事本中创建了以下行。我将其保存为js文件,并且图标将其显示为javascript文件。当我运行它时,它应该平铺所有打开的窗口。第一次运行它时我得到了一个字符错误
1,所以我删除了打开的括号,然后在运行它时得到另一个编译错误。有人可以帮我吗?

(新的ActiveXObject(Shell.Application))。TileVeritcally()

I have the following line created in Notepad. I saved it as a js file and
the icon shows it as a javascript file. It is supposed to tile all open
windows when I run it. The first time I run it I get an error in character
1, so I delete the open parentheses and then get another compile error when
I run it. Can somebody make this work for me?

(new ActiveXObject("Shell.Application")).TileVeritcally ()



检查拼写。

没有名为TileVeritcally()的方法。


Check the spelling.
There is no method named "TileVeritcally()".


Jane Dickerson写道:
Jane Dickerson wrote:
我在记事本中创建了以下行。


这不重要。

我把它保存为js文件,图标显示为javascript
文件。


这是因为Windoze在文件名中仅使用.foobar作为类型标识符

而不是(也)文件内容应该如此。您可以命名一个

Word文档.js并且Exploder会将它传递给WSH。

当我运行它时应该打开所有打开的窗口。


你如何理解这个想法?

我第一次运行它时我在第1个字符中出错,


什么错误?

所以我删除了打开的括号然后得到另一个编译错误


这是一个无用的错误描述。你得到了什么错误?

当我运行它时。


定义:运行

有人可以为我工作吗?


你有没有想过真正的调试,包括首先咨询

相关手册(MSDN Library)?

(新的ActiveXObject (Shell.Application))。TileVeritcally()
I have the following line created in Notepad.
That is unimportant.
I saved it as a js file and the icon shows it as a javascript
file.
It is because Windoze uses only .foobar in filenames as type identifier
and not (also) the contents of files as it should. You could name a
Word document .js and Exploder would pass it to the WSH.
It is supposed to tile all open windows when I run it.
How do you get the idea?
The first time I run it I get an error in character 1,
What error?
so I delete the open parentheses and then get another compile error
That is a useless error description. What errors do you get?
when I run it.
Define: run
Can somebody make this work for me?
Have you ever thought of real debugging, including consulting the
related manual (MSDN Library) first?
(new ActiveXObject("Shell.Application")).TileVeritcally ()




大多数情况下,该属性是TileVertically。你在做什么

这里只是语法上的J(ava)脚本,你应该得到更多答案

在一个处理Windows脚本宿主的组中。

PointedEars



Most certainly the property is `TileVertically''. What you are doing
here is only syntactically J(ava)Script, you should get more answers
in a group dealing with the Windows Script Host.
PointedEars


这篇关于用于平铺Windows veritaclly的java脚本将无法正常工作,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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