AutoHotkey Community

It is currently May 23rd, 2012, 5:15 am

All times are UTC [ DST ]


Search found 15 matches
Search these results:

Author Message

 Forum: Support   Topic: Gmail drive file transfer

 Post subject: Gmail drive file transfer
Posted: November 6th, 2008, 2:20 pm 

Replies: 7
Views: 1082


Is there a way to automate sending files to gmail drive ? There is no drive letter assigned, so I don't know how to specify the path for FileCopy. I was thinking perhaps automating the Right click -> Send to -> Gmail drive, but then I'd need to specify a mouse position, rather than a file name. If a...

 Forum: Support   Topic: Subroutine on input

Posted: October 13th, 2008, 5:01 am 

Replies: 4
Views: 369


Basically, I want a segment of code to be run whenever the user presses any key or moves the mouse in any way.

I've thought about having a separate thread with Input waiting for a press, but that would only catch keypresses and I'd like it to work for the mouse as well.

 Forum: Support   Topic: Subroutine on input

Posted: October 13th, 2008, 3:50 am 

Replies: 4
Views: 369


Good point, I should rephrase the question.

Is there a way to run a function or a subroutine on any user input, and, is so, what is it?

 Forum: Support   Topic: Subroutine on input

 Post subject: Subroutine on input
Posted: October 11th, 2008, 9:01 pm 

Replies: 4
Views: 369


Is there a way either to start a function or a subroutine when there is any input from the user?

 Forum: Scripts   Topic: Random Name Generator

Posted: August 13th, 2008, 11:45 pm 

Replies: 23
Views: 3835


I modified the function again. It now has an optional parameter that specifies the beginning of the word.

For example, RandomName(4, 15, "Ad") would return a random name with length between 4 and 15 letters that starts with "Ad".

 Forum: Scripts   Topic: Random Name Generator

Posted: August 11th, 2008, 8:11 pm 

Replies: 23
Views: 3835


Here is a modified version of the script that looks at the previous two letters when choosing the next letter, instead of just the previous letter. This allows it to create words that more closely resemble normal words. However, the extra probabilities listed require significantly more space than t...

 Forum: Scripts   Topic: Random Name Generator

Posted: August 11th, 2008, 7:23 am 

Replies: 23
Views: 3835


This was somewhere around the eighth result: Nichweterimayanshahtodekaicavirargskaneraulacketha I had it generate 100,000 names, and the longest that it made was Babothailngalanohaflelyseierlsertrailghewaeyarrdiseletcrtatseadesoquran, so I think that names that long should be rare. (I hope.) That b...

 Forum: Scripts   Topic: Random Name Generator

 Post subject: Random Name Generator
Posted: August 11th, 2008, 3:01 am 

Replies: 23
Views: 3835


This is a function that will generate a random name. Each letter is chosen based on the previous letter, so that letters are likely to appear in their usual patterns, and (most of the) generated names are pronounceable. Both a minimum and a maximum length of the name can be specified, though neither...

 Forum: Scripts   Topic: Voice Recognition COM

Posted: August 10th, 2008, 4:08 am 

Replies: 128
Views: 26293


Is there any way to pass parameters to the OnRecognition function?

So far, I've been making any variables that I need be global variables, but that feels like it could cause problems elsewhere.

 Forum: Support   Topic: Check whether a bluetooth device is connected

Posted: July 4th, 2008, 11:23 pm 

Replies: 6
Views: 899


Thank you for the suggestion. Unfortunately, the bluetooth is an internal device, so it's always on and WM_DEVICECHANGE doesn't catch it. No message is received when the headset gets connected.

 Forum: Support   Topic: Check whether a bluetooth device is connected

Posted: July 4th, 2008, 5:46 pm 

Replies: 6
Views: 899


Is there any way to check whether or not a bluetooth headset is currently connected?

I've checked the registry, and I haven't been able to find any changes made from the connection in the bluetooth settings.

 Forum: Scripts   Topic: File based speech recognition

Posted: June 18th, 2008, 8:18 pm 

Replies: 0
Views: 2767


This script is based off of the speech recognition script created by foom. It requires the COM Standard Library and Microsoft's SDK 5.1 . My goal in making this was to create a base for speech recognition that can be easily modified later. The script looks for AHK scripts within the working director...

 Forum: Support   Topic: Switch thread during Runwait

Posted: June 4th, 2008, 8:21 pm 

Replies: 1
Views: 296


I have a script that has multiple threads going at the same time. However, whenever one of the threads encounters a RunWait, all of the threads pause.

Is there a way to have the script switch active threads when RunWait is encountered, then switch back afterwards?

 Forum: Support   Topic: Check laptop lid status

Posted: May 26th, 2008, 2:10 am 

Replies: 2
Views: 569


Oh yeah. So far, I've tried the mouse and keyboard hooks to see if it registers a keypress. Also, I haven't found any way to check the status of the monitor, since the monitor goes off once the lid is closed.

 Forum: Support   Topic: Check laptop lid status

 Post subject: Check laptop lid status
Posted: May 25th, 2008, 1:06 am 

Replies: 2
Views: 569


Is there a way to see whether or not the lid is currently up or down?

The reason that I want this is so that I can have the laptop hibernate when the lid closes only if certain programs are not running, instead of every time the lid closes.
Sort by:  
Page 1 of 1 [ Search found 15 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group