AutoHotkey Community

It is currently May 23rd, 2012, 11:00 pm

All times are UTC [ DST ]


Search found 63 matches
Search these results:

Author Message

 Forum: Scripts   Topic: Listview colors for individual lines (e.g. highlighting)

Posted: July 12th, 2009, 12:47 am 

Replies: 25
Views: 15964


This code allows you to apply colors to a line (or as many as you like) in a listview - both background and text colors can be changed. This allows for effects such as: - Highlighting alternating lines to make them easier to read. - Highlighting certain lines to attract a user's attention to them. ...

 Forum: Support   Topic: Placing windows in a certain order

Posted: June 13th, 2007, 2:09 pm 

Replies: 0
Views: 389


Hello, I have asked a similar question before but it went unnoticed. I'm pretty sure this should be possible and i bet some of the gurus here know a very simple way to do it. What I want to do is to restore a list of windows (which are minimized) on the desktop in a specific order. For example, say ...

 Forum: Support   Topic: Switching windows quickly

Posted: April 9th, 2007, 2:29 am 

Replies: 2
Views: 552


DJAnonimo wrote:
Did you tried with WinMinimizeAllUndo ?


Yeah sorry when i said WinRestoreAll i meant WinMinimizeAllUndo. My question stands, though.

 Forum: Support   Topic: Switching windows quickly

 Post subject: Switching windows quickly
Posted: April 8th, 2007, 6:36 pm 

Replies: 2
Views: 552


I have always wanted to do something like WinMinimizeAll and WinRestoreAll but preserving the order in which windows are displayed in the desktop. For some reason, when i do winminimizeall and then restoreall, sometimes the window displayed on top is not the one that was there before (even if i do i...

 Forum: Support   Topic: Compiled scripts detected as trojans

 Post subject: Trojan
Posted: March 6th, 2007, 7:43 pm 

Replies: 13
Views: 6747


I use regularly my own script (compiled) and Antivir Personal Edition Classic. Today, apparently after the latest upgrade, it Antivir claimed that my script IS the trojan "Autoit.AE". What is surprising is that this is not speculative; it doesn't say "it could be a trojan"; it sa...

 Forum: Support   Topic: Dynamic remapping of modifiers?

Posted: February 18th, 2007, 10:27 pm 

Replies: 1
Views: 555


If i want to make Control work as Shift, i can do Control::Shift Now what i'm trying to do is add a checkbox in my script to enable/disable this function (control replacement). But I'm not quite sure how to do this. What I'd like is something like this: Hotkey, Control, (remap to shift) and then whe...

 Forum: Support   Topic: Factors

Posted: December 19th, 2006, 8:14 am 

Replies: 22
Views: 1485


@koro: You mix up the number and its size. The complexity of an algorithm is measured by the number of operations as a function of the size of the input. If you have an n-bit number, this size is n. The number itself is about 2**n. If we try all the numbers up to sqrt(2**n) = 2**(n/2), it is that m...

 Forum: Support   Topic: Factors

Posted: December 19th, 2006, 3:55 am 

Replies: 22
Views: 1485


To be honest, you cannot generate a table with all 32-bit primes. It is too large and takes too much time. A moderate size prime table gives only moderate speed up. When this table is exhausted, you have to continue with potentially composite numbers. It is obvious to exclude all even numbers, but ...

 Forum: Support   Topic: Factors

Posted: December 18th, 2006, 4:09 am 

Replies: 22
Views: 1485


If you want it to be more or less efficient, the best thing to do is to have a table of prime numbers preloaded (you could even read it from a file); then find the prime factorization of the input number, and from it rebuild all divisors. Here's a very unoptimized program to do so (it takes a while ...

 Forum: Support   Topic: Making a window "functionally" transparent

Posted: December 16th, 2006, 8:09 pm 

Replies: 11
Views: 1082


Thanks for your replies. Nevertheless, I'm not liking any of the solutions yet :). What I'm trying to do is have an indicator that covers the start button (like the cpu usage indicator, the start button clock, and other scripts that have been posted) but i want it not to obscure in any way the funct...

 Forum: Support   Topic: Retrieving data from an ACPI device

Posted: December 16th, 2006, 1:58 am 

Replies: 12
Views: 2556


Erm... correction. That works, but only the first time. If i add a loop to that VBscript to repeat the reading again and again, it always spits the same result, i think i have to do something to "refresh" the data. Anyone knows what should that be? If instead run that script several times,...

 Forum: Support   Topic: Retrieving data from an ACPI device

Posted: December 16th, 2006, 12:16 am 

Replies: 12
Views: 2556


This does the job: Set objWMIService = GetObject("winmgmts:\\" & "." & "\root\WMI") Set colItems = objWMIService.ExecQuery( _ "SELECT * FROM MSAcpi_ThermalZoneTemperature",,48) For Each objItem in colItems Wscript.Echo (objItem.Curr...

 Forum: Support   Topic: Making a window "functionally" transparent

Posted: December 15th, 2006, 6:41 pm 

Replies: 11
Views: 1082


Is there a way to make a window transparent, not in its look, but in its functionality? I mean like a window such that even if i hover the mouse on it or click on it, this is applied to whatever is below it and not to the window itself, so that it doesn't interfere with my activity? (this is meant t...

 Forum: Support   Topic: Retrieving data from an ACPI device

Posted: December 15th, 2006, 6:30 pm 

Replies: 12
Views: 2556


@koro I suggest that PhiLho's approach of using WMI is probably the simplest. CAVEATS: 1. Only tested on Win Xp 2. Only will work if device has been enumeratd by windows [code] Runwait, %comspec% /c wmic /output:sensor.dat Temperature get CurrentReading , ,hide ; answer in sensor.dat or blank becau...

 Forum: Support   Topic: Retrieving data from an ACPI device

Posted: December 15th, 2006, 5:02 am 

Replies: 12
Views: 2556


So is this a feature request? Uh, no! It is a *help* request :) I am pretty sure that a dllcall or something like that would let me get the data from that device. I am just trying to figure out how, and I can't find any useful information online. The problem is that i have no idea how these things ...
Sort by:  
Page 1 of 5 [ Search found 63 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group