Search found 775 matches

by divanebaba
24 Jul 2017, 13:01
Forum: Ask For Help
Topic: Folder Deletion
Replies: 6
Views: 536

Re: Folder Deletion

Hi. My english is not the best, so I have read your question long time before, but have not really understand, what you want to do. Even I don't know the content of your File.txt. Apart from this, as I know, Labels in Loops are not possible, even your first loop parses for word wrap (`n) and stores ...
by divanebaba
23 Jul 2017, 03:44
Forum: Ask For Help
Topic: Script stops working when certain program is Active
Replies: 4
Views: 621

Re: Script stops working when certain program is Active

Hi. Windows Key + b is predefined by Windows operating system for selecting the first icon in the notification area. (Source: Wikipedia ) However AHK normaly should override this. I'm using most time the RAlt key when I want to define any hotkey with AHK. Try it with RAlt key like RAlt & b to preven...
by divanebaba
22 Jul 2017, 22:56
Forum: Ask For Help
Topic: Show Icon on compiled Script as a picture in Gui
Replies: 3
Views: 464

Re: Show Icon on compiled Script as a picture in Gui

Hi. A few years ago I used autohotkey basic and I was able to input bmp file into ahk files and even into compiled versions. https://s-media-cache-ak0.pinimg.com/originals/a3/4a/0d/a34a0d04799e0c3e28310e6e0fefa51a.jpg Unfortunately this method does not works now. Maybe the new autohotkey version, I'...
by divanebaba
22 Jul 2017, 21:35
Forum: Ask For Help
Topic: Add control button to MsgBox
Replies: 7
Views: 660

Re: Add control button to MsgBox

Hi. You choosed a very difficult example. If it is not necessary, that the word continue is written on your button in the MsgBox make it easy and take this example: F1:: Step A MsgBox, 4,, Would you like to abort? IfMsgBox Yes return Step B Step C Step D Return Now, when you press No , your script w...
by divanebaba
22 Jul 2017, 21:21
Forum: Ask For Help
Topic: Problem with Autohotkey with Windows Live Mail.
Replies: 3
Views: 241

Re: Problem with Autohotkey with Windows Live Mail.

Hi. My english is so bad, you will not believe why. OK, I don't really have understand your problem and have even not really understand the job, your script is doing. But one thing seems strange. You are parsing with `n and later you add only `r . Look to this section out=%out%%A_LoopField%`r } } ou...
by divanebaba
22 Jul 2017, 20:50
Forum: Ask For Help
Topic: EXCEL COM suddenly stopped working
Replies: 2
Views: 321

Re: EXCEL COM suddenly stopped working

Hi. To fill a cell in Excel with AHK, I'm using this code: xlApp := ComObjCreate("Excel.Application") xlApp.Visible := True xlApp.Workbooks.Open(FileNameTmp) xlApp.Range("A1").Value := myVariable As you can see, I'm opening a template XLS-file called FileNameTmp. FileNameTmp has to be defined before...
by divanebaba
22 Jul 2017, 20:35
Forum: Ask For Help
Topic: Add control button to MsgBox
Replies: 7
Views: 660

Re: Add control button to MsgBox

Hi. Yes you can, but only with predefined buttons that the MsgBox offers. The help file says To determine which button the user pressed in the most recent MsgBox, use the IfMsgBox command. For example: MsgBox, 4,, Would you like to continue? (press Yes or No) IfMsgBox Yes MsgBox You pressed Yes. els...
by divanebaba
22 Jul 2017, 15:45
Forum: Ask For Help
Topic: Variable using a variable
Replies: 3
Views: 407

Re: Variable using a variable

Hi. You can not use space char in your variable. Try this: linenum = 1 string = line%linenum% Content of the variable string will be line1 . If the content of string has to be the content of the variable line1 , use linenum = 1 string := line%linenum% Edit: derz00 made correct. In a string you can u...
by divanebaba
22 Jul 2017, 13:03
Forum: Ask For Help
Topic: GUI Control inside function Topic is solved
Replies: 5
Views: 1145

Re: GUI Control inside function Topic is solved

Hi.
You can create your GUI outside the function and can use only Gui, SleepWarning: show ... inside your function to display your sleep warning.
I think this will prevent your error message and the need of using definitions for the variables.
by divanebaba
22 Jul 2017, 12:48
Forum: Ask For Help
Topic: GUI: Drag N' Drop to get WinTitle
Replies: 1
Views: 220

Re: GUI: Drag N' Drop to get WinTitle

Hi. A way to recognize a dropped window is till now unknown for me. A similar way I use is to right click a window, I want to recognize. I'm clicking on a button to start my recognizing label, called CatchWinTitle , ant then I right click the destinated window. It is not what you want, but maybe it ...
by divanebaba
22 Jul 2017, 12:33
Forum: Ask For Help
Topic: Loop stops functioning
Replies: 2
Views: 230

Re: Loop stops functioning

Hi. I think your script isn't able to leave your loop. It detects the WinAmp-window, sends keystroke to OBS and continues detecting same WinAmp-window again and again. In your case, you have to even close the WinAmp-window after detecting it. Instead of continue , you have to break your loop. Using ...
by divanebaba
21 Jul 2017, 19:01
Forum: Ask For Help
Topic: MouseMove glitching?
Replies: 2
Views: 238

Re: MouseMove glitching?

Referring to MouseMove the help file says: MouseMove, X, Y [, Speed, R] ... If this parameter is the letter R, the X and Y coordinates will be treated as offsets from the current mouse position. In other words, the cursor will be moved from its current position by X pixels to the right (left if nega...
by divanebaba
20 Jul 2017, 14:18
Forum: Ask For Help
Topic: GuiControl to check radio button - How to do it correctly? Topic is solved
Replies: 5
Views: 891

Re: GuiControl to check radio button - How to do it correctly? Topic is solved

Hello kdaube. It was my fault, because first time I made difference between Radio Control and Button and so i added real buttons. Even it was not easy for me to understand, why your label called DictType went back to create the gui with GoTo, Reshow . If you only wanted to update your Text Control, ...
by divanebaba
20 Jul 2017, 13:02
Forum: Ask For Help
Topic: GuiControl to check radio button - How to do it correctly? Topic is solved
Replies: 5
Views: 891

Re: GuiControl to check radio button - How to do it correctly? Topic is solved

The added GuiControl commands are manipulating only the buttons I've added.
The Radio Controls are not effected by them. They have same functions as before.
by divanebaba
20 Jul 2017, 12:56
Forum: Ask For Help
Topic: GuiControl to check radio button - How to do it correctly? Topic is solved
Replies: 5
Views: 891

Re: GuiControl to check radio button - How to do it correctly? Topic is solved

Hi. I don't see any button to activate or deactivate. Maybe I don't have understand your question. My english is, because of german teacher's recommendation, not the best. Maybe or not, I've added some buttons and modified a little bit your script. Maybe it helps. dictType := "FMUserDictionary" isLa...
by divanebaba
20 Jul 2017, 11:16
Forum: Ask For Help
Topic: Future date script and guicontrol, MonthCal error
Replies: 2
Views: 370

Re: Future date script and guicontrol, MonthCal error

Hi. In your code guicontrol, MonthCal, MyDateTime, %n% n has to be in YYYYMMDDHH24MISS format. I think, you are using wrong format. This could cause your problem, because your function returns d MMMM yyyy format, which can not be used by GuiControl command. formattime, date1, %date1%, d MMMM yyyy
by divanebaba
20 Jul 2017, 07:10
Forum: Tooltime
Topic: Online Trackingwebsite - Onlinetracking
Replies: 0
Views: 994

Online Trackingwebsite - Onlinetracking

Hallo Leute. Ich habe eine Trackingseite eingerichtet, deren Inhalte von einem AHK-Programm erstellt und dem PHP-Skript zur Verfügung gestellt werden. Weitere Informationen hier . Ich habe das PHP-Skript, welches ich im Internet fand und für meine Bedürfnisse modifiziert habe, noch funktioneller und...
by divanebaba
20 Jul 2017, 04:38
Forum: Ask For Help
Topic: keystroke repeat after delay ?
Replies: 1
Views: 521

Re: keystroke repeat after delay ?

Hi. Try this: spammerVar = 0 F6:: if (spammerVar = 1) { spammerVar = 0 settimer, spammer, off } else { spammerVar = 1 settimer, spammer, 6500 } return spammer: sendinput e return Using a timer is less difficult than manipulating KeyDelay or orher system settings. I have used F6 key to start and stop...
by divanebaba
20 Jul 2017, 04:25
Forum: Ask For Help
Topic: ALT disables AHK. [help]
Replies: 1
Views: 190

Re: ALT disables AHK. [help]

Hello.

Try this:

Code: Select all

MButton::LButton
Without the send command, in my opinion, AHK will be able to combine modifier-keys with mouseclicks.
by divanebaba
20 Jul 2017, 04:19
Forum: Ask For Help
Topic: AHK Auto correct file?
Replies: 2
Views: 289

Re: AHK Auto correct file?

Hello from Germany.

For geman words, Andreas Borutta, has made a list with misspellings. You can find it here.
For english words, I'm sorry, I don't have qualified answer. :D

Go to advanced search