Search found 132 matches

by need4speed
19 Oct 2017, 04:31
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 68593

Re: Screen clipping

How to set transparency of the screenshots? In order to compare screenshots I overlay them and set the topmost semi-transparent. Unfortunatelly this code works only with standard Windows but not with screenshots created by the ScreenClipping script: #SingleInstance, Force ;credits go to the one who ...
by need4speed
25 Aug 2017, 15:29
Forum: Ask For Help
Topic: script does not work in 64 bit AHK
Replies: 6
Views: 1710

Re: script does not work in 64 bit AHK

I used "my" script without actually understanding it.
Thank you all for the code and explanations.
by need4speed
25 Aug 2017, 02:39
Forum: Ask For Help
Topic: script does not work in 64 bit AHK
Replies: 6
Views: 1710

script does not work in 64 bit AHK

sorry if this ain't be a bug, but I don't see why this is should not work in the 64 bit Version. to reproduce insert a long text in WordPad. the vertical scroll bar appears, after running the script WheelUP/Down are inverted in AutoHotkeyA32.exe & AutoHotkeyU32.exe. In AutoHotkeyU64.exe WheelUP/Down...
by need4speed
22 Aug 2017, 04:27
Forum: Ask For Help
Topic: Recommendations regarding AutoHotkey 2.0-a
Replies: 2
Views: 705

Recommendations regarding AutoHotkey 2.0-a

Anyone already using Version 2 ? I am still learning v1 and I don't want to waste any time and avoid learning something that will be abolished in v2. I understand AutoHotkey 2.0-a is still in Alpha stage but is it recommendable to switch or start using v2 right away in this state? Is there a approx....
by need4speed
17 Aug 2017, 07:13
Forum: Ask For Help
Topic: Font width when printing
Replies: 7
Views: 1563

Re: Font width when printing

Albireo wrote:My wish is to be able to automate the handling.
Right now, there are about 100,000 sentences I want to gain control of.
How many and which of these sentences are too long for the fields on the printing?
not ahk, but anyways have you checked this and this?
by need4speed
16 Aug 2017, 07:50
Forum: Ask For Help
Topic: Font width when printing
Replies: 7
Views: 1563

Re: Font width when printing

instead of calculating my work-around would be to copy & paste the text in an text processor like word.
there you could display the ruler on the top and additionally if necessary use the print preview to see whether the text fits or not. of course you could automate this task if you wish.
by need4speed
31 Jul 2017, 07:11
Forum: Ask For Help
Topic: how to stop and start sound?
Replies: 3
Views: 1037

Re: how to stop and start sound?

first you need to detect whether a sound is currently beeing played: https://autohotkey.com/board/topic/32290-how-to-detect-if-a-sound-was-played/ then you can stop the playback via SoundPlay Command. Use a nonexistent File as parameter. SoundPlay, Nonexistent.avi edit, i played around a bit, this c...
by need4speed
19 Jul 2017, 15:43
Forum: Ask For Help
Topic: Disallow MButton on tabs
Replies: 2
Views: 734

Re: Disallow MButton on tabs

Sorry the confusion. I changed it deliberately via MButton::Send, ^v because I do a lot of copy paste work and I am tired of using the keyboard. So what I try to achieve is when MButton is pressed, a check should happen. If mouse is over a tab then MButton should work normally and not paste the clip...
by need4speed
19 Jul 2017, 09:39
Forum: Ask For Help
Topic: Disallow MButton on tabs
Replies: 2
Views: 734

Disallow MButton on tabs

when pressing MButton, Paste (Send, ^v) is executed. How to exclude Tabs (or maybe other controls) because this could lead to issues? First I figured out MouseGetPos, , , id, control retrieves the control so I could exclude them, but how exactly? GroupAdd seem not to work with Tabs. pseude code: Gro...
by need4speed
30 Jun 2017, 11:18
Forum: Ask For Help
Topic: change control style Topic is solved
Replies: 4
Views: 1280

Re: change control style Topic is solved

Thanks Alguimist! Very kind of you.
by need4speed
29 Jun 2017, 07:14
Forum: Ask For Help
Topic: change control style Topic is solved
Replies: 4
Views: 1280

Re: change control style Topic is solved

thanks BoBo for answering. Maybe I was not clear enough, what I was looking to achive. I would like to change the styles of a Text Control in a Dialog of a running application. First I would like to enable the Text Control and second add a vertical Scroll bar. I figured out (via WinSpy) the styles w...
by need4speed
28 Jun 2017, 08:44
Forum: Ask For Help
Topic: change control style Topic is solved
Replies: 4
Views: 1280

change control style Topic is solved

#NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% Gui Add, Edit, x37 y74 w120 h21, Edit Gui Add, Button, x40 y112 w80 h23 gOK, &OK Gui Show, w387 h381, Window Return GuiEscape: GuiClose: ExitApp ; Do not edit above this line OK: WinSet, Style, ^0xC00000 ; hides the title bar ControlSetText, ...
by need4speed
26 Apr 2017, 08:31
Forum: Ask For Help
Topic: Hotkey works only once
Replies: 4
Views: 1114

Re: Hotkey works only once

thanks, i try to understand, so i did some Research. According to the many questions out there in Forum & Internet there seems to be a great confusion amongs unsers when and how to use #IfWinActive, IfWinActive or if WinActive("") exactly. for instance the following code does not work realiably. Aft...
by need4speed
26 Apr 2017, 04:26
Forum: Ask For Help
Topic: Hotkey works only once
Replies: 4
Views: 1114

Hotkey works only once

Hello Folks, I Need some help please with this script. For some reason this works as expected but only once. Then I Need to restart the script to get it working again. Why is that? Any Suggestion on how to improve the code? Thank You :wave: ~Numpad0:: #IfWinActive, FancyApplication FindClick("C:\ima...
by need4speed
21 Feb 2017, 19:27
Forum: Ask For Help
Topic: RunWait when application already running
Replies: 1
Views: 443

RunWait when application already running

something I don't understand, when running this script and notepad is already running another notepad instance is started, after closing notepad, the MsgBox pops up showing ErrorLevel: 0. RunWait, notepad,,UseErrorLevel,OutputVarPID Msgbox, ErrorLevel: %ErrorLevel%`nOutputVarPID: %OutputVarPID% when...
by need4speed
26 Jan 2017, 11:28
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 391
Views: 286740

Re: AutoGUI - GUI Designer and Script Editor

after implementing razerhalos mods i'm still having issues with restoring guis via the Windows cloning tool. eg. cloning this window does not restore the code below: ; Generated by AutoGUI 1.3.3a #NoEnv #Warn #SingleInstance Force SetWorkingDir %A_ScriptDir% Gui Add, Tab3, x32 y40 w312 h202, Tab 1|T...
by need4speed
25 Jan 2017, 10:04
Forum: Ask For Help
Topic: disabling Working in background mouse pointer
Replies: 0
Views: 445

disabling Working in background mouse pointer

I use a script to take screenshots in the background. the script works fine, but whenever a screenshot is taken, the mouse pointer " Working in background " is shown, which I find distractive. how to avoid that mouse pointer when the script is running, and if necessary re-allow it when the script is...
by need4speed
23 Jun 2016, 04:13
Forum: Ask For Help
Topic: [Solved] Help on RegExReplace Topic is solved
Replies: 5
Views: 1307

Re: [Solved] Help on RegExReplace Topic is solved

ok with your help :clap: I came up with this code. I'm not sure if this is the best solution for my problem, but it seems to work: SetTimer, OnChangeText, 1000 OnChangeText: ControlGetText, Edit1Var, Edit1, Window if NewText != %Edit1Var% { NewText := "*" Trim(Edit1Var, " ") "*" ControlFocus, Edit1,...
by need4speed
22 Jun 2016, 01:51
Forum: Ask For Help
Topic: [Solved] Help on RegExReplace Topic is solved
Replies: 5
Views: 1307

Re: Help on RegExReplace Topic is solved

thank you evilC. :thumbup:
by need4speed
21 Jun 2016, 06:38
Forum: Ask For Help
Topic: [Solved] Help on RegExReplace Topic is solved
Replies: 5
Views: 1307

[Solved] Help on RegExReplace Topic is solved

I'd like to automatically change the Input of a TextBox. 1. sometimes the text's first or/and last char has one or more space characters which should be deleted 2. an Asterix should be added at the begining and the end " Input " should become "*Input*" I found some useful code ; Validate charcters a...

Go to advanced search