Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 使用Internetexplorer com对象如何模拟拖放?_Html_Internet Explorer_Powershell_Com_Drag And Drop - Fatal编程技术网

Html 使用Internetexplorer com对象如何模拟拖放?

Html 使用Internetexplorer com对象如何模拟拖放?,html,internet-explorer,powershell,com,drag-and-drop,Html,Internet Explorer,Powershell,Com,Drag And Drop,有很多使用JQuery的示例,但我找不到使用InternetExplorer的com接口模拟拖放的示例代码 $ie=New-Object -ComObject internetexplorer.application $ie.Visible=$true $ie.Navigate("http://www.asharepointsite.com") 然后呢?从web Developer工具中,drop事件似乎由主体处理,因此我尝试了$ie.Document.body.dragDrop(),但

有很多使用JQuery的示例,但我找不到使用InternetExplorer的com接口模拟拖放的示例代码

$ie=New-Object -ComObject internetexplorer.application  
$ie.Visible=$true
$ie.Navigate("http://www.asharepointsite.com")

然后呢?从web Developer工具中,drop事件似乎由主体处理,因此我尝试了
$ie.Document.body.dragDrop()
,但响应为False

子学院的问题是,当您必须“检查”元素时,如何使用开发工具检查它