Search found 8 matches
- Sun Sep 23, 2007 9:35 am
- Forum: Technical / Scripting
- Topic: Get a program's Input Method
- Replies: 1
- Views: 3106
Microsoft Word
However!! The above script works well for simple word processing software such as Ultraedit, notepad, etc. It won't work for Microsoft Word! This headache me very, very much. Presently I appeal to Microsoft Word macro to change the input method to English. Here's the macro and you can use MS to auto...
- Sun Sep 23, 2007 9:05 am
- Forum: Technical / Scripting
- Topic: Get a program's Input Method
- Replies: 1
- Views: 3106
Get a program's Input Method
Some post previously seems relevant to this. Now I want to detect whether a program is using input method, such as Chinese. If so, change it to English. This can avoid many troubles when you're using MS "send" command. Script sample: Setfocus>UltraEdit* GetActiveWindow>window_title,X,Y GetWindowHand...
- Wed Sep 12, 2007 4:03 am
- Forum: Technical / Scripting
- Topic: LibFunc and Windows API
- Replies: 4
- Views: 6354
Handle
Ok, to get a file's handle: LibFunc>kernel32.dll,CreateFile,FileHandle,C:\1.bmp,GENERIC_WRITE,NULL,NULL,OPEN_EXISTING,FILE_FLAG_OVERLAPPED,NULL Message>FileHandle Again it didn't work! It said the dll can't be loaded. How the hell can I get the file's handle? p.s. I agree ImageMagick is wonderful. X...
- Fri Sep 07, 2007 1:24 am
- Forum: Technical / Scripting
- Topic: LibFunc and Windows API
- Replies: 4
- Views: 6354
LibFunc and Windows API
First I'd like to thank mtettmar for the helpful reply. It's some strange I can't reply to my last post, so I open a new. LibFunc is really useful! I wonder whether MS can call all the Windows API functions? I tried another api to paste one bmp file on another: LibFunc>gdi32.dll,BitBlt,r,c:\1.bmp,x,...
- Tue Aug 28, 2007 7:38 am
- Forum: Technical / Scripting
- Topic: SystemParametersInfo
- Replies: 6
- Views: 8944
SystemParametersInfo
with SystemParametersInfo, I found only one discussion in the forum. Detailed parameters: http://msdn2.microsoft.com/en-us/library/ms724947.aspx How can I use SystemParametersInfo in MS? Can anyone show an example calling SystemParametersInfo to change the desktop wallpaper? Oh,it shall be a functio...
- Wed Aug 22, 2007 4:29 am
- Forum: Technical / Scripting
- Topic: Stopwatch code
- Replies: 4
- Views: 6301
Ok now
Well, the stopwatch can work now. Thank mtettmar. I need one more help to make the stopwatch better------ When it paused, I want to change the "start" button to "Continue", but the code seems not work (Line 63). Let>hh=0 Let>mm=0 Let>ss=0 Let>ms=0 Let>B1=Start Let>B2=Pause/Zero Let>B3=Quit Dialog>Di...
- Tue Aug 21, 2007 10:28 am
- Forum: Technical / Scripting
- Topic: Stopwatch code
- Replies: 4
- Views: 6301
further questions
Thank you for the idea first. I've tried the first two, now the stopwatch can be stopped, but-- It can't be stopped immediately after I push the button! The button needs to be clicked several times before it takes effect. I think it's due to the 0.01s loop interval---MS can't get the mouse click act...
- Mon Aug 20, 2007 3:03 am
- Forum: Technical / Scripting
- Topic: Stopwatch code
- Replies: 4
- Views: 6301
Stopwatch code
I've written a stopwatch with MS. It can run, but can't be stopped!! Here's the code. who can show me what's wrong?? Thanks! Let>APP_TITLE=Aleu's StopWatch OnEvent>KEY_DOWN,VK83,0,Start OnEvent>KEY_DOWN,VK80,0,Pause OnEvent>KEY_DOWN,VK90,0,Zero OnEvent>KEY_DOWN,VK81,0,Quit Dialog>Dialog1 Caption=Ale...