Jump to content

MichaelCrawley

Active Members
  • Posts

    45
  • Joined

  • Last visited

Reputation Activity

  1. Like
    MichaelCrawley got a reaction from ioa747 in Is it possible to toggle between to different applications.   
    @ioa747 I have not tested this I think the will be much cleaner thank you!!!   
  2. Like
    MichaelCrawley reacted to SmOke_N in Is it possible to toggle between to different applications.   
    Watch your quotes, I didn't really read through the post, I just happened to catch this:
    ;If is is not open it will open the fuction for excel Run('"C:\Program Files (x86)\Microsoft Office\Office16\excel.exe" "C:\Users\mcrawley\Desktop\this file.xlsm", @SW_MAXIMIZE') Should be more like:
    ;If is is not open it will open the fuction for excel Run('"C:\Program Files (x86)\Microsoft Office\Office16\excel.exe" "C:\Users\mcrawley\Desktop\this file.xlsm"', @SW_MAXIMIZE) No?
  3. Like
    MichaelCrawley got a reaction from ioa747 in Is it possible to toggle between to different applications.   
    @ioa747 Correct that will get me started where I want to go....  I can work though the rest.
  4. Like
    MichaelCrawley reacted to ioa747 in Is it possible to toggle between to different applications.   
    Func Toggle($hWin1, $hWin2) ;==>Toggle between web pages ConsoleWrite('@@ (8) :(' & @MIN & ':' & @SEC & ') Toggle()' & @CR) ;### Trace Function Static $bFirst = True If $bFirst Then If WinExists($hWin1) Then WinActivate($hWin1) Send("^1") Else MsgBox(0, 'Toggle @error:', "$hWin1 not exist" ) EndIf Else If WinExists($hWin2) Then WinActivate($hWin2) Send("^2") Else MsgBox(0, 'Toggle @error:', "$hWin2 not exist" ) EndIf EndIf $bFirst = Not $bFirst EndFunc ;==>Toggle  
  5. Like
    MichaelCrawley reacted to Danp2 in Open pages and move page to a different screen   
    Have you tried it yourself using WInMove?
  6. Like
    MichaelCrawley got a reaction from ioa747 in Moving Screens   
    Oh my, I did not even see this I really apreciate the work you put into this.   This is awesome, If you don't mind I am going to save this reuse it in other areas because I certain I will use it.    I am going to see if I can break it down into smaller componets to ame sure I understand it.
  7. Like
    MichaelCrawley reacted to mistersquirrle in Always on top feature   
    Another option if it's a GUI that you're creating is to use the ExStyle for $WS_EX_TOPMOST:
    #include <WindowsConstants.au3> #include <GUIConstants.au3> Global $hGui = GUICreate('Au3Gui', 200, 100, -1, -1, -1, $WS_EX_TOPMOST) GUISetState(@SW_SHOW, $hGui) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE GUIDelete($hGui) Exit EndSwitch WEnd  
  8. Like
    MichaelCrawley got a reaction from argumentum in Application Is blocked   
    Just an update, to whoever is interested, I worked with security and the application is no longer being blocked. 
  9. Like
    MichaelCrawley got a reaction from rsn in Application Is blocked   
    Just an update, to whoever is interested, I worked with security and the application is no longer being blocked. 
  10. Like
    MichaelCrawley reacted to argumentum in Application Is blocked   
    for what I read there, signing your executable could be used to make a filter to let it run. Maybe. If it's a solution, is within reach. Ask your admins.
  11. Thanks
    MichaelCrawley reacted to rsn in Application Is blocked   
    If your organization is using Palo Alto Networks Anti Malware stuff, you (or whoever manages it) will likely have to open a support ticket to get an exception put in place for the false positive.
    See here.
  12. Thanks
    MichaelCrawley reacted to water in Force Close a Excel   
    Quite easy:
    #include <Excel.au3> Global $oExcel = _Excel_Open() ; Starts a new Excel instance or connects to an already running instance If @error Then ... ; Write an Error-Message and Exit _Excel_Close($oExcel, False, True) ; Does not save any open workbooks and closes the Excel instance If @error Then ... ; Write an Error-Message and Exit  
×
×
  • Create New...