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.
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即不再有解壓過程。
如果要求快速,不要關閉模擬精靈即可,響應熱鍵很快,可以休眠或隱藏