Jump to content

lordicast

Active Members
  • Posts

    331
  • Joined

  • Last visited

Profile Information

  • Location
    SuiSun CA

Recent Profile Visitors

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

lordicast's Achievements

Universalist

Universalist (7/7)

0

Reputation

  1. Thanks, no more being lazy for me!
  2. Hello everyone long time no see the site looks wonderful, I didn't see anything on this subject when searching so i decided to post a topic. GuiCtrlSetFont doesnt seem to work with InputBox? is there another way? or should I just use a GUI, I am trying to make the font larger.
  3. You could get the Coords. of your window then get the Coords. of your mouse and Set a action for the mouse clicks when then meet. Or just set action for the mouse click when your Guis window is active. I would just hide the mouse when my window is active personally. with GUISetCursor ( [cursorID [, override [, winhandle]]] ) CursorId = 16 will hide the mouse cursor. Lookup Functions MouseDown MouseGetPos MouseCoordMode
  4. Dont know what you meant alex, but I figured it out. Because the 2 monitors are the same size I can launch 2 Gui's and use "- @DesktopWidth" in X Coord. column.
  5. I have a GUI I want to open in a certain monitor, similar to Powerpoints presentation mode. When I have 2 different GUIs that launch but both in the same window. I have tried using the x,y way with no luck.
  6. Over a hundred files need 1 word changed! heres what i got #include <Word.au3> HotKeySet('{esc}', 'esc') Func esc() Exit 0 EndFunc ;==>esc While 1 _Move() WEnd Func _Move() Dim $MyExt[1] = ["doc"] For $i In $MyExt $search = FileFindFirstFile("*." & $i) While 1 $file = FileFindNextFile($search) If @error Then ExitLoop TrayTip("Found File:", "Replace file " & $file, 10) $true = @ScriptDir & '\' & $file $oWordApp = _WordCreate($true, 0, 0) $oDoc = _WordDocGetCollection($oWordApp, 0) $oFind = _WordDocFindReplace($oDoc, "Orange", "Banana", 2, 0) _WordQuit($oWordApp, -1) WEnd FileClose($search) Next MsgBox(0, '', 'Done') EndFunc ;==>_Move Error: --> Word.au3 Warning from function _WordDocFindReplace, $_WordStatus_NoMatch
  7. Thanks for replies, yes it is a textbox and it driving me mad!
  8. This is strange the _WordDocFindReplace works fine when replacing in a text style document but will not replace text in a table like word document. Any thoughts?
  9. http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2
  10. for toggle #include <StaticConstants.au3> #include <GUIConstantsEx.au3> HotKeySet("`", "ShowGUI") GUICreate("Quick Search", 200, 100) $HelpMenu = GUICtrlCreateMenu("Help") $HelpItem = GUICtrlCreateMenuItem("Help file", $HelpMenu) $state = 1 While 1 $msg = GUIGetMsg() If $msg = $HelpItem Then MsgBox(0, "Info", "Only a test...") if $msg = $GUI_EVENT_CLOSE then Exit WEnd Func ShowGUI() if $state = 1 Then GUISetState(@SW_SHOW) $state = 0 Else GUISetState(@SW_HIDE) $state = 1 EndIf EndFunc
  11. Thats exactly what it was I forgot the name. Toast UDF is great for what is needed here. thanks Melba
  12. What you should do is modify your security settings. Just a thought
  13. Most functions have a @error response. find Failure: Returns 0 and sets @ERROR also check SetError in helpfile. if @Error then msgbox(0,'Error','You got a error') endif
  14. Why dont you just use tooltip or custom message box. Search for the UDF for custom boxes.
  15. when they tried to do that to me I kept calling for a new IP because my internet was not working lol not really but it works! just act completely computer illiterate.
×
×
  • Create New...