Jump to content

ARIrish

Members
  • Posts

    11
  • Joined

  • Last visited

About ARIrish

  • Birthday 05/14/1985

ARIrish's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. How come there's WinMinimizeAll, which apparently does exactly what it says on the tin, but no WinMinimize or WinMinimizeActive? How do I go about creating a script that ONLY minimises the active window? EDIT: Posted too quickly - just found out about WinSetState in the helpfile.
  2. That's great! Thanks a lot! I'll be sure and read through it and see if I can't figure it out.
  3. Thanks for the tip. I'll bear it in mind for the future.
  4. Thanks - I saw the GUICreate stuff and thought I might have to go that way. I'll try some stuff out.
  5. That's even better! Thanks!
  6. I've had a search through the helpfile, and a quick look on the forums, but I couldn't seem to find anything about this: I've edited a very simple code to eject my CD drive of choice, as follows: $CD = Inputbox("Open CD Drive", "Type drive letter:", "D", "", 50, 25, 500, 200)&":" CDtray(""&$CD&"", "OPEN") However, I want this to appear in a dialog with no system icon (top left corner) and no close button (top right). How can I make this happen? Also, when the script runs, I'd like the inputbox to get focus, but by default it doesn't seem to. Again, nothing in the help file as far as I could see. Sorry if I've just overlooked something, but I'd appreciates some pointers on this, as they are things I'll probably be using a lot.# EDIT: I just found this and put it into my code, but it doesn't seem to be working: WinActivate ( "Open CD Drive")
  7. Okay I'm a total idiot. I see what I've done wrong. Thanks again
  8. Okay, so I guess I need a little more help. Opt("TrayHideIcon", 1) gives me the following error: ERROR: Opt() called with illegal argument 1: "TrayHideIcon" Opt("TrayHideIcon", True) ~~~~~~~~~~~~~~~~~~~~~~~~^ I put it as the first line of my code. Any thoughts?
  9. I have a script that I want running in the background all the time, as if it's simply part of the normal interface. As such, I don't want there to be a systray icon for it. How can I get rid of this, either through options or scripting? Thanks.
  10. Brilliant Martin, cheers.
  11. How can I edit this script to make the mouse wrap functionality work on a toggle? ie, rather than esc exiting the script, it will either turn on mousewrap or, if mousewrapping is on, turn it off? I've tried a couple things: HotKeySet("{Esc}","_MouseWrap") $off = True Func _MouseWrap() If $off = True Then While 1 $pos = MouseGetPos() $off = False If $pos[0] < 2 Then MouseMove(@DeskTopWidth - 2, $pos[1], 1) If $pos[0] > @DeskTopWidth - 2 Then MouseMove(2, $pos[1], 1) Sleep(1) Wend ElseIf $off = False Then $off = True EndIf EndFunc But I am brand new to all this, so I don't know where to go from here. Any help would be much appreciated.
×
×
  • Create New...