Search found 495 matches
- Fri Mar 23, 2007 3:48 am
- Forum: Technical / Scripting
- Topic: ScreenShot results in totally Black Image [RESOLVED]
- Replies: 9
- Views: 12687
In my main macro the line is very simple. GetScreenRes>mx,my ScreenCapture>0,0,mx,my,%SCRIPT_DIR%\graphics\export.bmp And this is working perfectly for everyone except this one guy. He uses two monitors But so do I And he has tried with only 1 monitor I have written a very simple tool fro him to tes...
- Fri Mar 23, 2007 2:01 am
- Forum: Technical / Scripting
- Topic: ScreenShot results in totally Black Image [RESOLVED]
- Replies: 9
- Views: 12687
If "printscreen" is used (Press Print Screen), and then an "edit-paste" performed in an image application (such as mspaint, etc), is it also black there? I'm wondering if this is something specific to just msched, or just a screenshot-type thing in general. Me too... The guy said that printscreen s...
- Thu Mar 22, 2007 8:34 pm
- Forum: Technical / Scripting
- Topic: ScreenShot results in totally Black Image [RESOLVED]
- Replies: 9
- Views: 12687
ScreenShot results in totally Black Image [RESOLVED]
Hi there, One of my users is experiencing this problem. There is a section of my code that uses the screenshot feature etc. It works great but this one person could never get a result from it. We have now realised that the reason for this is that the screen image taken is always completely black. I ...
- Thu Mar 01, 2007 6:46 pm
- Forum: Technical / Scripting
- Topic: response to users' input
- Replies: 18
- Views: 16345
Wouldn't: WaitReady>0 be useful for this purpose? I am using this in a similar way in a script that runs things form the command line. From help: WaitReady suspends script execution until the foreground window has finished processing mouse, keyboard, show window, and optionally, paint events. Issue ...
- Thu Feb 22, 2007 9:37 am
- Forum: Technical / Scripting
- Topic: Slight problem with GOTO
- Replies: 6
- Views: 7028
Understood.mtettmar wrote:Goto will always go to the first matching label. Duplicate labels is a no-no and I suppose Macro Scheduler really ought to not even let you create a duplicate label.
In my laziness I expected it to go to the "nearest" matching label but of course 1st makes much more sense.
- Thu Feb 22, 2007 2:06 am
- Forum: Technical / Scripting
- Topic: Slight problem with GOTO
- Replies: 6
- Views: 7028
- Thu Feb 22, 2007 1:36 am
- Forum: Technical / Scripting
- Topic: Slight problem with GOTO
- Replies: 6
- Views: 7028
- Thu Feb 22, 2007 12:37 am
- Forum: Technical / Scripting
- Topic: Slight problem with GOTO
- Replies: 6
- Views: 7028
Slight problem with GOTO
I suppose this is just me but I would be interested to hear your opinion on it: I had a lot of confusion tonight after a slight redesign of one of my scripts. It basically involved a GOTO command This section was in this case skipped due to another IF>THEN Show>LWarning Label>LWarningLoop GetDialogA...
- Tue Feb 20, 2007 7:17 pm
- Forum: Technical / Scripting
- Topic: Saving Keys to press as variables
- Replies: 4
- Views: 5636
- Tue Feb 20, 2007 6:34 pm
- Forum: Technical / Scripting
- Topic: Saving Keys to press as variables
- Replies: 4
- Views: 5636
- Tue Feb 20, 2007 5:00 pm
- Forum: Technical / Scripting
- Topic: Saving Keys to press as variables
- Replies: 4
- Views: 5636
Saving Keys to press as variables
Hi there, I wrote a script that defines some keys to be pressed in my main script. I won't go into detail now but I have come across a problem which I'm sure will be quite easy for more experienced users to solve. Example: My main script requires the pressing of the "k" key to open a dialog. Some us...
- Mon Feb 19, 2007 12:45 pm
- Forum: Technical / Scripting
- Topic: How would I make an area grey out if a box is checked?
- Replies: 12
- Views: 20470
I did edit my post above once again before I saw your new post. My apologies. It is tricky stuff though for a n00b like me. After reading the help I would still never have been able to do what you did for me although maybe I would have realised that the dll error was because I had something incorrec...
- Mon Feb 19, 2007 11:52 am
- Forum: Technical / Scripting
- Topic: How would I make an area grey out if a box is checked?
- Replies: 12
- Views: 20470
- Mon Feb 19, 2007 11:50 am
- Forum: Technical / Scripting
- Topic: How would I make an area grey out if a box is checked?
- Replies: 12
- Views: 20470
Ok I have got around this by entering a word as the value of that edit box and then doing this before the dialog action loop begins: LibFunc>User32,FindWindowExA,edit2Hwnd,dlgHwnd,0,TEdit,number Let>Dialog1.msEdit1=%deftracks% rda>Dialog1 Hope this makes sense. It does seem though, that using an act...
- Mon Feb 19, 2007 11:36 am
- Forum: Technical / Scripting
- Topic: How would I make an area grey out if a box is checked?
- Replies: 12
- Views: 20470
OK this works great except I have found a problem or even a "bug" if you like. //Get Handle of filename Edit Box LibFunc>User32,FindWindowA,dlgHwnd,TForm,Export Settings LibFunc>User32,FindWindowExA,edit1Hwnd,dlgHwnd,0,TEdit,%deffilename% LibFunc>User32,FindWindowExA,edit2Hwnd,dlgHwnd,0,TEdit,%deftr...