| Author |
Message |
Forum: Support Topic: Seaching For Serial COM Port Name |
| trenton_xavier |
|
Posted: December 21st, 2010, 6:45 pm
|
|
Replies: 1 Views: 315
|
| [WRONG SECTION ALERT :!: ] - should've posted this in Ask For Help I use a combination of the following: This first part just gets the "currently installed/enabled" com ports: Loop, HKLM, HARDWARE\DEVICEMAP\SERIALCOMM\ { RegRead, OutputVar .... Iterate them as you choose; I concatenat... |
|
 |
Forum: Scripts Topic: Serial ( COM ) Port Console Script |
| trenton_xavier |
|
Posted: September 13th, 2010, 1:24 am
|
|
Replies: 120 Views: 50189
|
@Drugwash
I think it would. I don't know what communication protocol you're using, but I use a custom built version of this script everyday to communicate via Modbus to different controllers. Check out the specs and let us know what you're dealing with.  |
|
 |
Forum: Support Topic: FileSelectFile with an exclusion filter? |
| trenton_xavier |
|
Posted: August 25th, 2010, 2:45 am
|
|
Replies: 10 Views: 284
|
AngelicCare wrote: You will have to write your own dialog in GUI. See autohotkey GUI http://www.autohotkey.com/docs/commands/Gui.htm
Yeah, I was thinking of that as a last resort...grrr
But no way with regex? I'm not at all experienced with regex so I didn't even try. |
|
 |
Forum: Support Topic: FileSelectFile with an exclusion filter? |
| trenton_xavier |
|
Posted: August 25th, 2010, 2:38 am
|
|
Replies: 10 Views: 284
|
@AngelicCare - lol yeah, I guess that's one way to do it.
@Frankie - That would work... however I don't have write access to the folder contents (only read; for @work...).
Thanks for the help so far! |
|
 |
Forum: Support Topic: FileSelectFile with an exclusion filter? |
| trenton_xavier |
|
Posted: August 25th, 2010, 2:00 am
|
|
Replies: 10 Views: 284
|
| I know that with FileSelectFile, you can use filters like "*.jpeg" or "*readme*.txt" or "*_bak.ahk". But is it possible to have 'exclusion' filters? For example, let's say I don't want to list files that have "DRN" in the filename... is this possible? Could th... |
|
 |
Forum: Support Topic: Get current non-mouse cursor position |
| trenton_xavier |
|
Posted: July 24th, 2010, 5:38 pm
|
|
Replies: 8 Views: 429
|
Um, I think he's looking for this:
Code: MouseMove, %A_CaretX%, %A_CaretY%
This will move your mouse cursor to the current insertion point of excel (or whatever app) |
|
 |
Forum: Support Topic: Disable Tab in a Gui |
| trenton_xavier |
|
Posted: June 29th, 2010, 2:09 am
|
|
Replies: 3 Views: 357
|
@blaq
Thanks, I've already been implementing this and trying to "upgrade" to disabling it. |
|
 |
Forum: Support Topic: Disable Tab in a Gui |
| trenton_xavier |
|
Posted: June 28th, 2010, 10:11 pm
|
|
Replies: 3 Views: 357
|
| I have a gui with a tab control with 8 tabs. I'd like to be able to disable (grey out) the tab so it is not able to be clicked. So far GuiControl, Disable has not worked. Has anyone had success doing this? |
|
 |
Forum: Scripts Topic: [Control] "_diagramm_" a Chart-function by denick |
| trenton_xavier |
|
Posted: February 21st, 2010, 9:04 pm
|
|
Replies: 6 Views: 7547
|
| Does anyone know how to "update" the graph? I have the graph working, but i want to be able to change the data being plotted. I've tried just calling the function again, with different data, but it doesn't do anything. The functions returns as it should; indicating it did pass. Anyone know... |
|
 |
Forum: Scripts Topic: Serial ( COM ) Port Console Script |
| trenton_xavier |
|
Posted: January 6th, 2010, 6:27 pm
|
|
Replies: 120 Views: 50189
|
| @GerryT Here's the commplete BuildCommDCB function as described on MSDN (converted into AHK-ish): COM_Settings = %COM_Port%:baud=%COM_Baud% parity=%COM_Parity% data=%COM_Data% stop=%COM_Stop% to=%COM_to% xon=%COM_xon% odsr=%COM_odsr% octs=%COM_octs% dtr=%COM_dtr% rts=%COM_rts% idsr=%COM_idsr% Fill ... |
|
 |
Forum: Scripts Topic: Serial ( COM ) Port Console Script |
| trenton_xavier |
|
Posted: December 16th, 2009, 1:40 pm
|
|
Replies: 120 Views: 50189
|
| @Golericas I've been trying to do this as well and have been unable to(in AHK). It is possible and I use a program called PortMon from Sysinternals. It's free and works great. The trick to using it is to open PortMon and connect to the com port first, then open the program you want to 'snoop' on. If... |
|
 |
Forum: Support Topic: gui progress control from the center of bar? |
| trenton_xavier |
|
Posted: October 14th, 2009, 9:21 pm
|
|
Replies: 6 Views: 429
|
| I was guest; not logged in... @jaco0646: your second example is more to the tune... but it's kinda cheating with the background/foreground combo :wink: But yes, ideally I want a progress bar with a range of -100 to 100. Then if I set it to 50, it would start at the middle(0) and go 50 to the right. ... |
|
 |
Forum: Scripts Topic: MS Office Automation Functions (via COM) [thanks Sean] |
| trenton_xavier |
|
Posted: September 26th, 2009, 9:53 pm
|
|
Replies: 295 Views: 66177
|
| I have an embeded excel worksheet in a word doc. Has anyone tried writing into an embeded worksheet? It works like normal if you double click the object; then it "opens" the object for editing and the functions work. Can this be done without "openning" the object and allow the fu... |
|
 |
Forum: Support Topic: slope() intercept() functions (not in Excel) |
| trenton_xavier |
|
Posted: August 26th, 2009, 4:15 pm
|
|
Replies: 2 Views: 386
|
| I have a need to find the slope and intercept of a data set. This can easily be done in Excel with slope(), intercept(), and/or linest(). Does anyone know of any windows dll, like sprintf, that can be called to solve for these? FYI, heres the equivalent equations: Slope(b) = (NΣXY - (ΣX)(&... |
|
 |
Forum: Suggestions Topic: Com Ports |
| trenton_xavier |
|
Posted: August 14th, 2009, 4:59 pm
|
|
Replies: 6 Views: 946
|
| Actually, it doesn't take pages to do so. Take a look at this script(the secon post in it): http://www.autohotkey.com/forum/viewtopic.php?t=28703 The example script is bloated with code to make a HyperTerminal-esque program, but it can be stripped down a lot. Then just save that as its own script, t... |
|
 |
| Sort by: |