如果不对反过来作者: TEST_HUAN 时间: 2013-7-5 09:03
因为有while语句,需要用括号
Remarks
The AppActivate method returns a Boolean value that identifies whether the procedure call is successful. This method changes the focus to the named application or window, but it does not affect whether it is maximized or minimized. Focus moves from the activated application window when the user takes action to change the focus (or closes the window).
In determining which application to activate, the specified title is compared to the title string of each running application. If no exact match exists, any application whose title string begins with title is activated. If an application still cannot be found, any application whose title string ends with title is activated. If more than one instance of the application named by title exists, one instance is arbitrarily activated.作者: 491623644 时间: 2013-7-5 09:50
谢谢!作者: kavensyw 时间: 2013-7-6 09:55 本帖最后由 kavensyw 于 2013-7-6 09:57 编辑