Jump to content

akorx

Active Members
  • Posts

    99
  • Joined

  • Last visited

About akorx

  • Birthday 01/01/1980

Profile Information

  • Location
    France - Bretagne

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

akorx's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Hi, I use winmove() to resize and move a windows (on different corners of the screen) but when I use many monitors my window jumps between monitor 1 to monitor 2 (or the opposite)... How can I do find the "active" screen (= the monitor where is the windows I want to move) and force winmove() to stay on this screen?
  2. Hi my friends, First, sorry for my bad english... I use winmove() to move and resize the active windows that I have my screen, but some of them are not resizable (it could be for example the windows menu when you press the window key (with the flag), a simple windows message/alert with only a button, etc). Is there a way to know if a windows is resizable or not before to do it ?
  3. First, thanks for yours replies guys ! I haven't got the script here because it's on computer at work... but it has no "exit" because it runs every time, like an antivirus program. Endeed, it's a program to tile windows, fixe others at the top, etc. I can imagine that the crash of my program appears when I want to resize a window that is not responding (but his process is still there). We can understand behind this, that it's NOT a "normal case". A "normal case" is : the process exists or it doesn't exist, we can verify his state before running the function (resize for example). A zombie process or a process that is not responding is NOT a "normal case". You understand ? So I suppose that we can find a function "ON ERROR" that stops the resize function when it happens in order to keep my program alives, but how can we do this with autoit? PS : sorry for my bad english, I'm french.
  4. Nothing like "on error" ?
  5. Hi my friends ! Sometimes, I've not find the reason why, my program (a compliled script) stops working (crash) without error... Is there a way to keep it alive with something like this "on error do nothing" (I've time to find the reason before few weeks) ?
  6. "magic" ? what is it?
  7. The problem is that I can't capture the original size because my script doesn't run when the other program starts...
  8. Should I ask autoit's developers to add something like @SW_RESET to do this?
  9. I know WinMove() but this function resize the program with my choices but not with her original size... I think something like WinSetState($hWnd, "", @SW_SHOWNORMAL) could be a solution but I doesn't work. Is there another way with a windows function (or another autoit function that I've not seen) ?
  10. Hi, Sometimes a windows has a max size fixed by the developers; a user can resize it with the mousse... Is there a way with autoit to resize (= to restore) this windows at her "normal" size (this "normal" size is the defaut size when we start the program).
  11. Thanks, I didn't know this "library"... does it mean that I will be able to find a input with his name and send it a value?
  12. Hi my friends, I've a got a webpage on firefox where, when I've finished to complete some elements, I've to select an item in a list, click on one button to submit and go to another last page (so 3 steps)... I can't use send("{TAB}") to move between the elements because I'm not always in the same text box when i've finished. So I must find them by their name. Is there a way to do this with an hotkey with autoit? PS : sorry for my bad english.
  13. Hi guys (and girls too !), It's just a little question : with WinGetState() we can maximise or minimize a windows, but when a windows is maximised, how can we "unmaximised" it ?because WinSetState($hWnd, "", @SW_RESTORE) doesn't work.
  14. Oh nice work jguinch ! Congratulations ! Thank you very much for your help ! Thank you to the others to for theirs answers too. And finally thank for "Je suis Charlie" panel, I'm french...
  15. Yes I see... but I think there is necessarily a better solution, but which, that the question ! Perhaps a way with another autoit function? or with a windows dll?
×
×
  • Create New...