Search found 1259 matches

by Shadowpheonix
26 Sep 2016, 11:00
Forum: Ask for Help (v1)
Topic: Scroll Lock led control when change language
Replies: 1
Views: 947

Re: Scroll Lock led control when change language

Something like this?

Code: Select all

~<!Shift::
Send {ScrollLock}
Return
by Shadowpheonix
23 Sep 2016, 17:20
Forum: Ask for Help (v1)
Topic: am i doing anything wrong?,why this don't work.
Replies: 14
Views: 2768

Re: am i doing anything wrong?,why this don't work.

not working man i want to be holden shift and ctrl and to press arrow right or numpadright That is exactly what each of the code examples Exaskyrz provided does. If his code examples are not working for you, then it is likely due to the window you are trying to interact with. See How to Make AHK Wo...
by Shadowpheonix
23 Sep 2016, 17:13
Forum: Ask for Help (v1)
Topic: How to get the current gui default button? Topic is solved
Replies: 35
Views: 8840

Re: How to get the current gui default button? Topic is solved

How would I know the default gui button set by someone else? The default button can only be changed by your code. No one else can change it. You can provide them with an interface to change it, but your code makes the actual change. This means your code can keep track of which button is the default...
by Shadowpheonix
23 Sep 2016, 12:35
Forum: Ask for Help (v1)
Topic: library and function
Replies: 6
Views: 3380

Re: library and function

Sounds like there is a typo or something in your WinHTTPRequest.ahk file. If you are unable to find it yourself, post that file for us to review.
by Shadowpheonix
23 Sep 2016, 12:31
Forum: Ask for Help (v1)
Topic: macros for over 5 button mouse
Replies: 2
Views: 1511

Re: macros for over 5 button mouse

To see the example mentioned in BlackHolyman's answer, take a look at the Special Keys section of the AutoHotkey documentation.
by Shadowpheonix
22 Sep 2016, 10:36
Forum: Ask for Help (v1)
Topic: Program unresponsive to script when open
Replies: 4
Views: 1030

Re: Program unresponsive to script when open

What exactly is your key command doing currently? (Meaning please show your code)
by Shadowpheonix
19 Sep 2016, 10:22
Forum: Ask for Help (v1)
Topic: #SingleInstance force and start as admin
Replies: 2
Views: 1144

Re: #SingleInstance force and start as admin

When running Admin scripts, I personally use #SingleInstance Ignore instead. That avoids having two copies running and avoids that script shutdown issue.
by Shadowpheonix
15 Sep 2016, 09:31
Forum: Ask for Help (v1)
Topic: Scroll one line with Ctrl+Up or Ctrl+Down
Replies: 7
Views: 2907

Re: Scroll one line with Ctrl+Up or Ctrl+Down

There is if the application developer included one. To my knowledge, Microsoft Outlook and Word do not. My recommendation is to go ahead and make the mouse wheel changes that evilC recommended, and then to also add... WheelUp:: Send {WheelUp 3} Return WheelDown:: Send {WheelDown 3} Return This give...
by Shadowpheonix
14 Sep 2016, 11:54
Forum: Ask for Help (v1)
Topic: IfWinNotExist Babylon, do ... Otherwise do what it normally does (don't use autohotkey) Topic is solved
Replies: 6
Views: 1579

Re: IfWinNotExist Babylon, do ... Otherwise do what it normally does (don't use autohotkey) Topic is solved

If you mean the hotkey, simply send the hotkey. should i use it this way to prevent it from triggering itself? $F1:: If !WinExist("ahk_class Babylon_Results") Run, "C:\Program Files\Babylon\Babylon-Pro\Babylon.exe" else SendInput, {f1} return Yes. However, I think this may be more what you were ori...
by Shadowpheonix
14 Sep 2016, 11:01
Forum: Ask for Help (v1)
Topic: Notificate forum replies by e-mail
Replies: 2
Views: 907

Re: Notificate forum replies by e-mail

Yes, it is possible. 1. Go to your User Control Panel (it is an option when you click the person icon on the toolbar at the top of this forum). 2. Select the Board Preferences tab. 3. Select the Edit Notification Options entry on the left. 4. Enable the Email option for anything you want notificatio...
by Shadowpheonix
13 Sep 2016, 15:40
Forum: Ask for Help (v1)
Topic: Difference of using a single SendInput Vs Using a couple SendInput?
Replies: 4
Views: 1118

Re: Difference of using a single SendInput Vs Using a couple SendInput?

The single send cannot be interrupted by other para threads. Nor does AHK get a change to wait after 10ms of execution (not that it will considering sendinputs speed). didn't quite understand what you said. Could you explain in a little simppler words if that's possible for you, tnx :) According to...
by Shadowpheonix
13 Sep 2016, 15:21
Forum: Ask for Help (v1)
Topic: Can "Run, mailto...." command also set emailclient accountnumber?
Replies: 4
Views: 1805

Re: Can "Run, mailto...." command also set emailclient accountnumber?

I think you missed the following from the Thunderbird command line documentation... Watch out for the somewhat complex syntax of the "-compose" command-line option. The double-quotes enclose the full comma-separated list of arguments passed to "-compose", whereas single quotes are used to group item...
by Shadowpheonix
13 Sep 2016, 09:58
Forum: Ask for Help (v1)
Topic: Delete menuitem
Replies: 5
Views: 1482

Re: Delete menuitem

I do not believe it is possible to do it using a partial name (although I could certainly be wrong). However, if you know the position, you can use that instead of the name. For example, if it is the 3rd item on the menu, you would use Menu, Delete, 3&.
by Shadowpheonix
13 Sep 2016, 09:49
Forum: Ask for Help (v1)
Topic: Help with autohotkey
Replies: 2
Views: 768

Re: Help with autohotkey

Try... ::p1:: SendInput hi Sleep 1 SendInput {Tab}hello Return A couple of notes: 1 - Sleep cannot really do a value of 1. It will be closer to 10 or 15, depending on your system. See the Sleep documentation for details. 2 - You should always end a completed section of code like this with a Return l...
by Shadowpheonix
13 Sep 2016, 09:39
Forum: Ask for Help (v1)
Topic: Can "Run, mailto...." command also set emailclient accountnumber?
Replies: 4
Views: 1805

Re: Can "Run, mailto...." command also set emailclient accountnumber?

I do not believe it is possible using Run, MailTo. However, it IS possible using Run, Thunderbird.exe. See here.
by Shadowpheonix
12 Sep 2016, 09:55
Forum: Ask for Help (v1)
Topic: Microsoft Edge Context Menu (right click)
Replies: 7
Views: 3014

Re: Microsoft Edge Context Menu (right click)

Unfortunately, I do not believe this is going to be possible. To the best of my knowledge, you will either need a 3rd party app to OCR the menu or you will need to use some other browser (Internet Explorer's right-click menu does have the shortcut keys).
by Shadowpheonix
12 Sep 2016, 09:23
Forum: Ask for Help (v1)
Topic: Bind with Alt key causes issues?
Replies: 6
Views: 2271

Re: Bind with Alt key causes issues?

Try this...

Code: Select all

jotting = 0
!1::
KeyWait, Alt
KeyWait, 1
SetKeyDelay, -1
If(jotting == 0)
{
Sendinput jotting down{enter}
jotting = 1
}
Else If(jotting == 1)
{
Sendinput ending text{enter}
Sleep 200
Send,{WheelDown}
Sleep 100
Send,{WheelDown}
jotting = 0
}
Return
by Shadowpheonix
08 Sep 2016, 10:52
Forum: Ask for Help (v1)
Topic: How to remove specific values from clipboard?
Replies: 14
Views: 4286

Re: How to remove specific values from clipboard?

str = 07721000012345 or 07721000005007 or 07721000000009 or 07721000000013 or 07721000000410 MsgBox % RegExReplace(str, "\b077210+") "`nor`n" ; use the constant part "07721" for matching . RegExReplace(str, "\b0*\d*?0+") ; more dynamic I had never thought of matching patterns that way. I like it. :)
by Shadowpheonix
07 Sep 2016, 12:18
Forum: Ask for Help (v1)
Topic: How to remove specific values from clipboard?
Replies: 14
Views: 4286

Re: How to remove specific values from clipboard?

f1:: Clipboard:=07721000000410 Clipboard := LTrim(Trim(RegExReplace(Clipboard, ".*(\d{5})$", "$1")), "0") msgbox % Clipboard return The LTrim is used to remove the leading 0s. .* matches an unknown number of characters. The parenthesis define a group (as I explained previously). \d matches a numeri...
by Shadowpheonix
05 Sep 2016, 17:40
Forum: Ask for Help (v1)
Topic: Faster way to use this script Topic is solved
Replies: 8
Views: 1952

Re: Faster way to use this script Topic is solved

Code: Select all

MButton::
SetBatchLines, -1
var=Hello
Loops=100
Loop % Loops
    SendInput %var%
Return

Go to advanced search