AutoHotkey Community

It is currently May 22nd, 2012, 12:43 pm

All times are UTC [ DST ]


Search found 36 matches
Search these results:

Author Message

 Forum: Support   Topic: leave GUI edit box contents unselected

Posted: March 31st, 2012, 5:14 pm 

Replies: 1
Views: 56


I have a nested GUI. When I press a button another GUI form pops up. I use that popup GUI to display data in a edit control. However every time this pops up the entire contents of the edit box is already selected. I want it to popup without any of the contents selected by default. What would I need ...

 Forum: Support   Topic: GUI editable textbox event

Posted: March 15th, 2012, 4:34 am 

Replies: 10
Views: 246


SetTitleMatchMode 2 #IfWinActive, New GUI Window Enter:: msgbox, Success! ; Add some other actions here, like Gosub to go to a label. Return #IfWinActive ; I don't know why this code doesn't work for my GUI form when it works for everything else. My GUI has a window title "New GUI Window"...

 Forum: Support   Topic: Gui Edit control, select all text

Posted: March 14th, 2012, 3:59 am 

Replies: 2
Views: 114


I have an edit control where I want to have all of the text in it selected when it is given focus (clicked on). Any ideas on how to do this?

 Forum: Support   Topic: Get date of previous and future dates

Posted: March 10th, 2012, 9:36 pm 

Replies: 3
Views: 97


Given an arbitrary date, 3-10-2012 for example, how do I get a date that is x days prior or after that date? For example, 10 days after 3-10-2012 is 3-20-2012, 10 days prior is 2-29-2012. How do I use autohotkey to do this programmatically?

 Forum: Support   Topic: Changing text on GUI form

Posted: February 11th, 2012, 1:56 am 

Replies: 3
Views: 136


You can add the text as variable in several lines, but how do you remove it? If you want to use a variable as text, i.e. if you want to display text that is the content of a variable, use this: Gui, Add, Text,, %textToDisplay%`n%AnotherText% Percentage signs are generally used to call variables. And...

 Forum: Support   Topic: Changing text on GUI form

 Post subject: Changing text on GUI form
Posted: February 10th, 2012, 6:25 am 

Replies: 3
Views: 136


I want to have GUI text that changes. For example, instead of something like this: Gui, Add, Text,, text I want something like this Gui, Add, Text,, $textToDisplay so that in a g-label of a edit control, I can access the $textToDisplay variable and change its value. It should behave similar to Statu...

 Forum: Support   Topic: GUI editable textbox event

Posted: February 8th, 2012, 4:24 am 

Replies: 10
Views: 246


I want to have the form submit and run some code when enter is pressed and the textbox has focus. However when the textbox does not have focus, the enter key should work as it normally would. Yes, you can use "Gui, Submit" to send the text in the box to a variable, and "Gui, Destroy&q...

 Forum: Support   Topic: GUI editable textbox event

 Post subject: GUI editable textbox event
Posted: February 8th, 2012, 3:36 am 

Replies: 10
Views: 246


I have a textbox and a button that I click on after I type something into the textbox. The button's event then saves the textbox value to a variable and then runs some code. Is it possible for me to skip the button and have an event launch when the enter key is pressed while the textbox has focus?

 Forum: Support   Topic: Change text size on GUI button

Posted: February 8th, 2012, 1:50 am 

Replies: 1
Views: 71


Using the following code I add buttons on a GUI .

Gui, Add, Button, x132 y70 w120 h20 , Button 1

is there a way to make the text "Button 1" bigger so that it is more readable?

 Forum: Support   Topic: Check if mouse left key was pressed

Posted: October 30th, 2011, 12:55 am 

Replies: 2
Views: 279


I have a script that moves the mouse around and clicks some controls. However at one point it will need to wait for the mouse left button to be pressed and released, and then it will continue running the rest of the code. So it is something like this. #1:: some code that runs ;wait 5 seconds for lef...

 Forum: Support   Topic: Save data:image/jpg;base64 data as an image

Posted: August 10th, 2011, 3:03 am 

Replies: 2
Views: 456


On google image search they have their images embedded into the source as "data:image/jpg;base64" followed by some other data. Is there any way to take that data and save it as an image file using autohotkey and maybe with the help of another program?

 Forum: Support   Topic: What's the best way to make a filter program

Posted: August 10th, 2011, 2:16 am 

Replies: 1
Views: 70


for example, I have two text files. The first text file has the data I want to have filtered. The second file is the blacklist. When I run the script, it will check each line of the first text file to see if it contains any terms from the blacklist. If it does, then that entire line is added to a fi...

 Forum: Support   Topic: Simple display box that times out

Posted: August 3rd, 2011, 1:51 am 

Replies: 3
Views: 78


Thanks for the response. Will that hold up the rest of the script though? I want the message box to display something and the script to continue on immediately, and then the message box will time out on its own.

 Forum: Support   Topic: Simple display box that times out

Posted: August 3rd, 2011, 1:26 am 

Replies: 3
Views: 78


I want to have a small box that shows up on screen for like 2 seconds, displaying a message, and then disappears. What's the best way to make something like that in autohotkey?

 Forum: Support   Topic: urldownload to file issue

 Post subject: urldownload to file issue
Posted: May 23rd, 2011, 1:04 am 

Replies: 1
Views: 121


There are some webpages that seem to use javascript to modify links so that when I view the source for the page while in the browser I might see src="image.jpg" however when I look in the source for the page after I downloaded it using urldownload to file it might look something like "...
Sort by:  
Page 1 of 3 [ Search found 36 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group