|
dosfroum
初级用户
 
积分 154
发帖 54
注册 2005-9-25
状态 离线
|
『楼 主』:
請問如何用命令滑鼠在特定位置點一下
請問在2000的命令提示字元下 如何讓滑鼠在特定位置點一下左鍵
謝謝
(別告訴我用vb寫比較快 我不會用vb)
我只需要批次檔在執行到某一行的時候 "點一下"左鍵
|
|
2005-10-24 21:15 |
|
|
本是
银牌会员
    
积分 2201
发帖 789
注册 2005-1-27
状态 离线
|
『第
2 楼』:
问题是这样的吗?
1)特定位置指的是屏幕上还是批处理文件中?
2)点一下是程序自动还是用户手动?或者:要返回状态到ERRORLEVEL吗?
3)为什么要指定在WIN2000提示符下?有特定作用吗?
4)是要编个一次性程序还是通用的重复使用的程序?
5)指定必须用ASM语言编制程序吗?
抱歉!我反提了几个问题。
[ Last edited by 本是 on 2005-10-25 at 15:45 ]
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2005-10-25 15:43 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第
3 楼』:
不用鼠标来点,而用键盘来按键不行吗?是不是非用鼠标不可?
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2005-10-25 17:58 |
|
|
dosfroum
初级用户
 
积分 154
发帖 54
注册 2005-9-25
状态 离线
|
『第
4 楼』:
是的 非用滑鼠來點 因為原本的軟體並沒有預設的地方 所以一定要用滑鼠點才行
-------------------------------------------------------------------------------------------------
问题是这样的吗?
1)特定位置指的是屏幕上还是批处理文件中?
回答一: 螢幕上 文件怎麻點?
2)点一下是程序自动还是用户手动?或者:要返回状态到ERRORLEVEL吗?
回答二:自動, 不用返回ERRORLEVEL 因為應該沒這麻厲害知道有沒有點到 要執行中的那套軟體
3)为什么要指定在WIN2000提示符下?有特定作用吗?
回答三:因為要點的那套軟體是在windows下運行. 所以在要windows2000的命令提示
4)是要编个一次性程序还是通用的重复使用的程序?
回答四:單一程序 我只要點一下就好了 重複的程序我會用批次檔中的迴圈來運行 就如dir一樣 只需要執行一次 下次需要的時候在行呼叫
5)指定必须用ASM语言编制程序吗?
回答五:不知道 因為我不會寫
|
|
2005-10-26 01:26 |
|
|
本是
银牌会员
    
积分 2201
发帖 789
注册 2005-1-27
状态 离线
|
『第
5 楼』:
关于“指定位置”的进一步辨析:
指定位置是一直是同一位置,还是每次要点不同位置?
从设计程序的角度,如果是前者非常简单,程序中直接用数值就行了;如果后者,需要从命令行上接收转化。
关于设计思想:
是否可用替换鼠标中断或用户中断,由程序返回点击状态,再自动恢复原中断?
|

my major is english----my love is dos----my teacher is the buddha----my friends--how about U |
|
2005-10-26 12:44 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第
6 楼』:
Re dosfroum:
这个使用 AutoIt 这个脚本程序会简单很多,只是我对此方面的知识了解很少,可以使用搜索引擎查找相关资料。
|

※ Batchinger 致 Bat Fans:请访问 [讨论]批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2005-10-26 15:06 |
|
|
dosfroum
初级用户
 
积分 154
发帖 54
注册 2005-9-25
状态 离线
|
『第
7 楼』:
Quote: | Originally posted by 本是 at 2005-10-26 12:44:
关于“指定位置”的进一步辨析:
指定位置是一直是同一位置,还是每次要点不同位置?
从设计程序的角度,如果是前者非常简单,程序中直接用栮.. |
|
當然是前者 但是還需要後者個配合
並沒有辦法得知第一次要點的座標位置
所以需要一次一次的修正
竟然可以修正 當然呼叫一次 配合不同的座標就可以點很多位置了
|
|
2005-10-26 19:26 |
|
|
dosfroum
初级用户
 
积分 154
发帖 54
注册 2005-9-25
状态 离线
|
『第
8 楼』:
Quote: | Originally posted by willsort at 2005-10-26 15:06:
Re dosfroum:
这个使用 AutoIt 这个脚本程序会简单很多,只是我对此方面的知识了解很少,可以使用搜索引擎查找相关资料。 |
|
我已經從google查道了 晚點就來試看看可不可行
謝謝
順便把相關訊息提供 有空的人可以看看 看是不是剛好有需要這個功能或改進自己原有的功能
首頁 http://www.autoitscript.com/autoit3/index.php
Introduction
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on 95, 98, ME, NT4, 2000, XP, 2003 out of the box with no annoying "runtimes" required! You can even make compiled executable scripts that can run without AutoIt being installed!
AutoIt was initially designed for PC "roll out" situations to reliably configure thousands of PCs, but with the arrival of v3 it has become a powerful language able to cope with most scripting needs.
AutoIt can:
Provide a general-purpose scripting language for all Windows versions
Simulate keystrokes (supports most keyboard layouts)
Simulate mouse movements and clicks
Move, resize and manipulate windows
Interact directly with "controls" on a window (set/get text from edit controls, check boxes and radio buttons, select items in drop-down lists, etc.)
Create complex user interfaces (GUIs)
Work with the clipboard to cut/paste text items
Provide a scriptable RunAs function for Windows 2000/XP/2003
Unlike AutoIt2, the new AutoIt v3 language has a much more standard syntax -similar to VBScript and BASIC - and now supports complex expressions, user functions, looping and everything else that veteran scripters would expect.
As with previous versions, AutoIt has been designed to be as small as possible (~115KB) and stand-alone with no external .dll files or registry entries required. Scripts can also be compiled into stand-alone executables with Aut2Exe.
There will also be updates to the ActiveX and DLL versions of AutoIt called AutoItX - unlike v2 this will be a combined control (COM and standard DLL functions in the same DLL). AutoItX will allow you to add the unique features of AutoIt to your own favourite scripting or programming languages!
Best of all, AutoIt continues to be FREE - but if you want to support the time, money and effort spent on the project and web hosting then you may donate using the link to your left in the menu.
|
|
2005-10-26 19:29 |
|
|
dosfroum
初级用户
 
积分 154
发帖 54
注册 2005-9-25
状态 离线
|
『第
9 楼』:
這個軟體不能用
kaspersky Workstation 會把他判斷成危險程式檔下來
所以@@a
有找到一套
http://www.yhhe.net/ape/ 模拟精灵2005v6.50
但是這套有問問題 運行後 不會自動關閉 會常駐
久了就會發瘋 原因好像是temp檔裡面的檔案 無法覆寫
因為用這套壓成的exe檔 運行後 會自動解壓 後呼叫程式 不是由單一檔案夠成
等於每次呼叫一次 就會解壓縮一次@@
所以請各為在幫幫忙 小小的程式就好 功能不用太多 只要在這定座標點一下@@a
|
|
2005-10-26 22:39 |
|
|
lpclimber
初级用户
 
积分 168
发帖 85
注册 2005-8-26
状态 离线
|
|
2005-10-26 23:35 |
|
|
dosfroum
初级用户
 
积分 154
发帖 54
注册 2005-9-25
状态 离线
|
『第
11 楼』:
Quote: | Originally posted by lpclimber at 2005-10-26 23:35:
支持一下! |
|
請問支持什麼 介紹的這個軟體 還是這個問題妳也想要答案@@a
|
|
2005-10-27 01:13 |
|
|
fape2005
新手上路

积分 2
发帖 1
注册 2006-4-29
状态 离线
|
『第
12 楼』:
Quote: | Originally posted by dosfroum at 2005-10-26 22:39:
找到一套
http://www.yhhe.net/ape/ 模拟精灵2005v6.50
但是這套有問問題 運行後 不會自動關閉 會常駐
久了就會發瘋 原因好像是temp檔裡面的檔案 無法覆寫
因為用這套壓成的exe檔 運行後 會自動解壓 後呼叫程式 不是由單一檔案夠成
等於每次呼叫一次 就會解壓縮一次@@
所以請各為在幫幫忙 小小的程式就好 功能不用太多 只要在這定座標點一下@@ahttp://www.yhhe.net/ape/ 模拟精灵2005v6.50
但是這套有問問頮.. |
|
1、並不一定要壓縮成exe,直接呼叫fap檔案就可以。
2、模擬精靈可以在運行完成以後自動關閉自已
stopPlay = function() --這個函數回放停止時被調用.
win.exit(0);
end;
3、壓縮成exe後,的確是解壓後再執行,但並不是每次都會解壓,隻有第一次會解壓。
如果發現已經解壓,那麼以後執行這個exe即不再有解壓過程。
如果要求快速,不要關閉模擬精靈即可,響應熱鍵很快,可以休眠或隱藏
|
|
2006-4-29 04:20 |
|