AutoHotkey Community

It is currently May 23rd, 2012, 3:56 am

All times are UTC [ DST ]


Search found 121 matches
Search these results:

Author Message

 Forum: Support   Topic: Locking a window to prevent resizing

Posted: May 20th, 2012, 8:00 pm 

Replies: 3
Views: 70


Thanks Leef_me. I modified to provide a quick toggle. f3:: WinGet, Style, Style, A If (Style & +0x40000) WinSet, Style, -0x40000, A Else WinSet, Style, +0x40000, A return It prevents the window from being resized, but I can still move the window which would still throw off a script using the &qu...

 Forum: Support   Topic: Help to Play alert when window exists

Posted: May 18th, 2012, 11:52 pm 

Replies: 5
Views: 67


I am on Windows 7 which was the issue. You were correct about VA. I did some research and the following now appears to work for what i need. #persistent #Include VA.ahk SetTimer, checkwindow, 1000 return checkwindow: IfWinExist, extabit.com: Please enter VA_GetMasterMute() VA_SetMasterMute(false,1) ...

 Forum: Support   Topic: Help to Play alert when window exists

Posted: May 18th, 2012, 5:25 am 

Replies: 5
Views: 67


Using the correction from Alpha Bravo the script now runs each time the pop up window appears. I ran into an issue where it wouldnt unmute to play the sound, but found that was due to Windows compatability. In the current state it doesnt alert on the first pop up if unmuted already, but I think I ca...

 Forum: Support   Topic: Help to Play alert when window exists

Posted: May 18th, 2012, 12:04 am 

Replies: 5
Views: 67


I am trying to create a script that will play an audiable alert once the pop up captcha window appears. The problem I am having is that it isnt recognizing the title or class and just plays the alert even if the window doesnt exist. Also if I close the captcha window and it opens a new one I dont ge...

 Forum: Support   Topic: Locking a window to prevent resizing

Posted: May 9th, 2012, 4:59 pm 

Replies: 3
Views: 70


I have some scripts where it cant read the window text of where I want to click so I use mouseclick. However I need to make sure I don't accidentally move or resize a window being called upon so that it doesn't click the wrong spot by mistake. 1. How can I toggle locking an active window to prevent ...

 Forum: Support   Topic: Ping results in a GUI?

Posted: February 16th, 2012, 8:33 pm 

Replies: 7
Views: 354


Ok. The Time showed, but still no output from the ping. Realized my issue is 2 fold. 1. The reason the the GUI isn't reading the last line is because the >ping.txt always adds an extra row so it is reading the blank row. Would the solution to be better to try and delete the last row before the file ...

 Forum: Support   Topic: Ping results in a GUI?

Posted: February 15th, 2012, 11:11 pm 

Replies: 7
Views: 354


Your code is right, i think. You just need to add the "refresh" routine. In that routine you will do the ping and the GuiControl. The posted code kept opening a new cmd prompt every second so I had to move the ping command out of the refresh, which solved the multiple windows opening, but...

 Forum: Support   Topic: Ping results in a GUI?

Posted: February 15th, 2012, 8:53 pm 

Replies: 7
Views: 354


By add "> file.txt" you can write the results of your ping to a text file, read that file and update it via a loop Thanks! that gives me a starting point. Since I am only concerned with the result of the last ping status ("request time" out or "Reply from xxx") instead...

 Forum: Support   Topic: Ping results in a GUI?

 Post subject: Ping results in a GUI?
Posted: February 15th, 2012, 4:50 pm 

Replies: 7
Views: 354


I'm definitely a rookie when it comes to GUIs let alone AHK but wanted to know if its possible to pipe the output of a ping to a GUI. The problem I am trying to solve is that I want to be able to run a continuous ping and see when an IP address no longer times out in a window that is always on top. ...

 Forum: Support   Topic: run command: open webpage in IE kiosk

Posted: December 14th, 2011, 6:03 pm 

Replies: 2
Views: 258


I had a similar issue for a file where once I put the path to iexplore it resolved the issue. May be worth a shot
Code:
Run, "c:\program files\internet explorer\iexplore.exe" -k ""file://path to local html" 

 Forum: Support   Topic: Help with scripting a Wireless reset.

Posted: December 12th, 2011, 8:00 pm 

Replies: 2
Views: 107


Thanks Gast! I had to add a winkill of the help window each time it loops to verify the help message isn't being shown when the terminal does ping. I do have a question of the Mycommand2. From what I understand it states that after the wirelessreset.bat completes to go the displayhelp so it can disp...

 Forum: Support   Topic: Help with scripting a Wireless reset.

Posted: December 12th, 2011, 12:04 am 

Replies: 2
Views: 107


I have 2 wireless devices that keeps dropping off their network. I have attempted to adapt a script originally posted by ChessKing but have become stuck. Currently everything runs OK as long as the target pings, or if the wireless reset resolves, but if for example the router is down preventing the ...

 Forum: Scripts   Topic: PsExec (GUI Front End) - Remote Process Execution

Posted: July 13th, 2011, 9:23 pm 

Replies: 29
Views: 41513


Does anyone know how this could be tweaked to allow it to pipe the results?

 Forum: Support   Topic: Fixing sleep time in loop

Posted: June 2nd, 2011, 7:08 pm 

Replies: 12
Views: 278


I've tried the following to allow two different FormatTime versions but now it isn't recognizing the the If statement anymore. Any suggestions? Loop, ; Tells it to continuously run { Process, Exist, TSP.EXE ; Tells script to look for tsp.exe running If ErrorLevel ; Found FormatTime, TimeString1...

 Forum: Support   Topic: Fixing sleep time in loop

Posted: June 2nd, 2011, 1:36 am 

Replies: 12
Views: 278


Well I found that I had two versions of the script running which explains why the file was being appended for both formats. however I am still curious if there is a way I can put different time formats for each part of the IF else.
Sort by:  
Page 1 of 9 [ Search found 121 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group