AutoHotkey Community

It is currently May 23rd, 2012, 4:02 pm

All times are UTC [ DST ]


Search found 13 matches
Search these results:

Author Message

 Forum: Support   Topic: Incorrect Window Title from AutoIt3 Window Spy?

Posted: March 13th, 2011, 10:34 pm 

Replies: 2
Views: 125


I'm trying to write a very simple script to activate a window. I copied and pasted the window title given from the Window Spy and this code does not work: Esc::ExitApp #x:: ifwinexist Guitar Pro 5 - offspring_self_esteem2.gp5 { Winactivate } return The code works when I copy/paste the titl...

 Forum: Support   Topic: Newbie, execute script based on webpage button press.

Posted: October 4th, 2009, 8:06 pm 

Replies: 23
Views: 1472


It's a program where my Mom writes her notes for work. The program has a lot of repetitive tasks and I told my Mom I would try to help her automate some of the stuff. Right now I have all the automated tasks as hotkeys, but I thought I could improve it by detecting when buttons are pressed and execu...

 Forum: Support   Topic: Newbie, execute script based on webpage button press.

Posted: October 4th, 2009, 7:21 pm 

Replies: 23
Views: 1472


Thanks for the reply tank. Yeah this may be more complicated than I anticipated. My real application is to detect a button press in an offline program, so the parsing of the domain name would not be a viable option. I'll probably read up on using Javascript with AutoHotkey to make this work. Thanks ...

 Forum: Support   Topic: Newbie, execute script based on webpage button press.

Posted: October 4th, 2009, 6:17 pm 

Replies: 23
Views: 1472


Hello, I haven't used AutoHotkey in a while and was wondering how to do this: I want to execute a script based on whether the "Google Search" button is pressed or if the "I'm Feeling Lucky" button is pressed on http://www.Google.com. I want to do this without using the image sear...

 Forum: Support   Topic: How to re-direct a url in Firefox?

Posted: May 4th, 2009, 7:16 am 

Replies: 1
Views: 351


Does anyone have suggestions how to re-direct a url in Firefox? I read some forum topics on checking a url and it went way over my head (I don't understand dll's yet). Basically what I would want to do is if you went to http://www.yahoo.com, it would re-direct you to http://www.google.com. Thanks.

 Forum: Support   Topic: How to send a key command to an unselected Firefox tab?

Posted: April 27th, 2009, 6:49 pm 

Replies: 0
Views: 340


Hello, I was trying to send a key command (space bar button) to a Firefox tab that I don't have active. For example, if I have two tabs with two different websites, http://www.google.com and http://www.yahoo.com. I have the http://www.google.com tab selected but I want to send the space bar button t...

 Forum: Support   Topic: Question how someone's ControlSend script for iTunes works.

Posted: April 27th, 2009, 5:34 pm 

Replies: 6
Views: 365


Yeah that is odd. Thanks for the help Krogdor, it makes a lot more sense now.

 Forum: Support   Topic: hotstrings not working in Office 97

Posted: April 27th, 2009, 4:11 am 

Replies: 2
Views: 259


The AutoHotkey Help file says:

"Note: Hotstrings require Windows NT/2000/XP or later."

Maybe that means it won't work in Office 97. I haven't personally tried hotstrings in anything other than Office 2003 and Windows XP. Sorry I can't be of that much help!

 Forum: Support   Topic: Question how someone's ControlSend script for iTunes works.

Posted: April 27th, 2009, 4:06 am 

Replies: 6
Views: 365


When I run that code I get a messagebox with the following:

0x60348
0x60348

I'm not really sure what that symbolizes.

 Forum: Support   Topic: Question how someone's ControlSend script for iTunes works.

Posted: April 27th, 2009, 3:51 am 

Replies: 6
Views: 365


Thanks for the response Krogdor.

Do you know why the following does not work?



Code:
#p::

   DetectHiddenWindows,On
   ControlSend, ahk_parent, {space}, iTunes

return


I'm wondering why the class name is necessary. The above code uses only a windows title.

 Forum: Support   Topic: Question how someone's ControlSend script for iTunes works.

Posted: April 27th, 2009, 3:34 am 

Replies: 6
Views: 365


Hello, I found a great script to control the Play / Pause feature of iTunes even when it is minimized. It sends the "space" bar command to iTunes, which plays/pauses music. I didn't understand how the code worked so I figured I would ask here. Here is the script: #p:: DetectHiddenWindows,O...

 Forum: Support   Topic: Newbie needs some help with syntax.

Posted: April 24th, 2009, 1:06 am 

Replies: 7
Views: 509


Quote:
Everybody does it a liitle different, but here is how I structure my scripts.

AutoExecute
Functions
SubRoutines
Hotkeys


I guess it's just a quirk of the program that you should put your autoexecute lines first and then hotkeys. Thanks for the example.

 Forum: Support   Topic: Newbie needs some help with syntax.

Posted: April 23rd, 2009, 11:11 pm 

Replies: 7
Views: 509


Hello, I just discovered Autohotkey last week and it is an amazing program. I had a question about syntax though. When I run the following code: #n:: MsgBox test return MsgBox test2 Esc::ExitApp The “msgbox test 2” line does not execute. If I change the code to: MsgBox test2 #n:: MsgBox test return ...
Sort by:  
Page 1 of 1 [ Search found 13 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group