Search found 1446 matches

by TheDewd
11 Jul 2014, 14:06
Forum: Ask For Help
Topic: [SOLVED] Disable Menu Keyboard Accelerator
Replies: 8
Views: 2359

[SOLVED] Disable Menu Keyboard Accelerator

How can I disable a "keyboard accelerator" for a menu item? Pressing the hotkey is creating an infinite loop without copying the selected text. I'd like to display the hotkey in the menu item for the user to see, but don't want it to automatically trigger the label. Menu, EditMenu, Add, &Copy`tCtrl+...
by TheDewd
16 Jun 2014, 12:09
Forum: Scripts and Functions
Topic: I Don't Need a Clock
Replies: 2
Views: 2251

Re: I Don't Need a Clock

This is interesting without the use of "helpers". I like it.
by TheDewd
04 Jun 2014, 15:46
Forum: Ask For Help
Topic: Simple text entry Topic is solved
Replies: 2
Views: 979

Re: Simple text entry Topic is solved

Code: Select all

:*:mvlcw`t::http://www.ahkscript.org
:*:mvlce`t::[email protected]
:*:mvlc`t::5555 Mockingbird Lane
by TheDewd
04 Jun 2014, 13:29
Forum: Ask For Help
Topic: [Resolved]Determine if session is locked
Replies: 2
Views: 939

Re: Determine if session is locked

http://www.autohotkey.com/board/topic/5 ... /?p=341470

Code: Select all

If !DllCall("User32\OpenInputDesktop","int",0*0,"int",0*0,"int",0x0001L*1)
	MsgBox,, Lock Status, Desktop is locked!
Else
	MsgBox,, Lock Status, Desktop is unlocked!
by TheDewd
04 Jun 2014, 13:02
Forum: Ask For Help
Topic: Displaying picture in system menu tray
Replies: 2
Views: 1279

Re: Displaying picture in system menu tray

I did some research and found that the menu in the screenshot you're referring to is actually a Gui, not a tray menu. Notice there is no margin along the left side for checkmarks, etc.
by TheDewd
04 Jun 2014, 12:48
Forum: Ask For Help
Topic: Make top of gui's background be white like a message box
Replies: 5
Views: 1508

Re: Make top of gui's background be white like a message box

It was quite simple. To make the button clickable, I had to disable the Progress controls. #SingleInstance Force Gui, Add, Progress, x0 y0 w400 h140 BackgroundFFFFFF Disabled, ; TOP WHITE Gui, Add, Progress, x0 y140 w400 h60 BackgroundF0F0F0 Disabled, ; BOTTOM GRAY Gui, Add, Text, x10 y10 w390 +Back...
by TheDewd
04 Jun 2014, 08:06
Forum: Ask For Help
Topic: Make top of gui's background be white like a message box
Replies: 5
Views: 1508

Re: Make top of gui's background be white like a message box

I came up with this code, but I can't figure out how to make the Button control work when it's on top of the Progress control... #SingleInstance Force Gui, Add, Progress, x0 y0 w400 h140 BackgroundFFFFFF, ; TOP WHITE Gui, Add, Progress, x0 y140 w400 h60 BackgroundF0F0F0, ; BOTTOM GRAY Gui, Add, Text...
by TheDewd
29 May 2014, 08:55
Forum: Ask For Help
Topic: Loop, Parse and Variables
Replies: 6
Views: 6927

Re: Loop, Parse and Variables

@Guest, Thanks! That's perfect. I had come up with this just now, but I like your method more: Loop, Read, SKUS.txt { Loop, Parse, A_LoopReadLine, *, `r { If A_Index=1 StyleVar:= A_LoopField If A_Index=2 ColorVar:= A_LoopField If A_Index=3 SizeVar:= A_LoopField } MsgBox, %StyleVar% %ColorVar% %SizeV...
by TheDewd
29 May 2014, 08:34
Forum: Ask For Help
Topic: Loop, Parse and Variables
Replies: 6
Views: 6927

Loop, Parse and Variables

I have a text file with three strings on each line, separated using a delimter. Example: String1*String2*String3 String1*String2*String3 String1*String2*String3 String1*String2*String3 Using Loop, Parse, A_LoopReadLine, *, `r , how can I assign each of the three strings to a variable? Once A_LoopRea...
by TheDewd
21 May 2014, 11:15
Forum: Ask For Help
Topic: Word COM Add Table
Replies: 1
Views: 1132

Word COM Add Table

I'm trying to create a table in Microsoft Word using AHK COM, but I can't figure out how to convert the code. Any help would be greatly appreciated. I've got the basic AHK structure setup already: oWord := ComObjCreate("Word.Application") ; Create Microsoft Word Object oWord.Documents.Add ; Create N...
by TheDewd
16 May 2014, 11:15
Forum: Ask For Help
Topic: Time until...
Replies: 10
Views: 4499

Re: Time until...

I have the following, but I don't know how to put it in a "Hour:Minute:Second" until format.

Code: Select all

Now := A_Now
Future := "20140516163000"

EnvSub, Hours, %Future%, Hours
EnvSub, Minutes, %Future%, Minutes
EnvSub, Seconds, %Future%, Seconds

MsgBox, %Hours% Hours`n%Minutes% Minutes`n%Seconds% Seconds
by TheDewd
16 May 2014, 10:09
Forum: Ask For Help
Topic: Time until...
Replies: 10
Views: 4499

Time until...

Is there a way to display the time left, in hours/minutes/seconds, until a specific future time within the same day? For example, "There are 6 hours, 32 minutes, and 53 seconds left before your work shift is over" I keep getting confused when attempting to subtract the current & future minutes since...
by TheDewd
15 May 2014, 12:45
Forum: Ask For Help
Topic: [SOLVED] LDAP
Replies: 11
Views: 4906

Re: LDAP

@Tank,

That fixed the issue! Thanks so much for your help. There were only barely over 4000 entries to retrieve from the LDAP.
by TheDewd
15 May 2014, 12:23
Forum: Ask For Help
Topic: [SOLVED] LDAP
Replies: 11
Views: 4906

Re: LDAP

@Tank, Thank you! This works, but I always receive an error after reaching 1000 entries. Any idea how to resolve this? Thanks again for your assistance! --------------------------- New AutoHotkey Script.ahk --------------------------- Error: 0x80072023 - The size limit for this request was exceeded....
by TheDewd
15 May 2014, 10:54
Forum: Ask For Help
Topic: [SOLVED] LDAP
Replies: 11
Views: 4906

[SOLVED] LDAP

Is there any way I can use AutoHotkey to access LDAP to generate a list of usernames?
by TheDewd
14 May 2014, 11:10
Forum: Ask For Help
Topic: XML Attribute Help
Replies: 12
Views: 5229

Re: XML Attribute Help

Thanks, I could already retrieve the Node's text, but I needed to get the <loc> "id" attributes as well, which is what I could not figure out. Your code gives me the node text, but not the id attributes. <?xml version="1.0" encoding="UTF-8"?> <search ver="3.0"> <loc id="USKY0751" type="1">California...
by TheDewd
14 May 2014, 10:46
Forum: Ask For Help
Topic: XML Attribute Help
Replies: 12
Views: 5229

Re: XML Attribute Help

Coco wrote:Unlike AHK, XML list items are 0-based. So use A_Index-1
I'm sorry, but I can't figure out how to use your suggestion. Do you care to give one more example? Thanks!
by TheDewd
14 May 2014, 10:27
Forum: Ask For Help
Topic: XML Attribute Help
Replies: 12
Views: 5229

Re: XML Attribute Help

I'm trying to create a var for each node using a Loop , but I can't figure out how to use A_Index in the following: XML.selectSingleNode("/search/loc[ A_Index ]").text XML_Data := UrlDownloadToVar("http://wxdata.weather.com/wxdata/search/search?where=California") ; XML Source XML := LoadXML(XML_Data...
by TheDewd
13 May 2014, 09:28
Forum: Ask For Help
Topic: EXCEL commands Topic is solved
Replies: 3
Views: 1575

Re: EXCEL commands Topic is solved

Do you mean holding down control key for selecting only particular rows? Is that what you want to achieve with one hand?

Go to advanced search