| Author |
Message |
Forum: Support Topic: Help me write a script to open one file after another please |
| FeiVictas |
|
Posted: June 14th, 2007, 11:06 pm
|
|
Replies: 2 Views: 504
|
| Untested, but I think this is a solid start: PathToFiles = ;Define Path to scrappackage files here Loop, %PathToFiles%\*.scrappackage { WinMenuSelectItem, LumaPix,, File, Data Management, Restore Project... WinWaitActive, Open Send %A_LoopFileName%{enter} ;Add wait or sleep here to al... |
|
 |
Forum: Support Topic: Assign r1 after creation. |
| FeiVictas |
|
Posted: June 14th, 2007, 11:00 pm
|
|
Replies: 6 Views: 487
|
| I'm thinking GuiControl, Move.... but is the r1 designation a variable or a height designation? GuiControl, Move: Moves and/or resizes the control. Specify one or more of the following option letters in Param3: X (the x-coordinate relative to the GUI window's client area, which is the area not inclu... |
|
 |
Forum: Support Topic: how to access controls and read ctrl txt in CrystalReports |
| FeiVictas |
|
Posted: June 14th, 2007, 4:51 pm
|
|
Replies: 7 Views: 653
|
| Normally the answer would be yes, but as Helpy pointed out, this looks less like an actual UI with window controls than it does a stripped down IE Window with a web or java form. Both notoriously difficult to work with. The only avenue that comes to mind is trying to send javascript to it, but witho... |
|
 |
Forum: Support Topic: Sending several Commands to a command line program |
| FeiVictas |
|
Posted: April 26th, 2007, 10:01 pm
|
|
Replies: 2 Views: 469
|
I imagine the problem you are seeing is due to calling cmd.exe and trying to pass parameters to it.
Just try:
Code: Runwait, %path_to_tag.exe%\Tag.exe title mytitle 6.mp3,,Hide
(remember to replace the %path_to_tag.exe% with the actual path) |
|
 |
Forum: Support Topic: Splitting an excel file into an array, other than .csv |
| FeiVictas |
|
Posted: March 8th, 2007, 7:46 pm
|
|
Replies: 3 Views: 837
|
| This is actually quite simple. AHK has the capability to read .csv exactly as Excel writes them (including support for literal quotes, commas, etc). Simply specify CSV as the delimiter in a parsing loop. Loop, Read, mycsv.csv { Loop, Parse, A_LoopReadLine, [color=red]CSV[/color] { col%A_in... |
|
 |
Forum: Support Topic: GUI to Generate SQL based on Text Box Input |
| FeiVictas |
|
Posted: February 10th, 2007, 12:09 am
|
|
Replies: 9 Views: 870
|
| I toyed around with trying to identify the active control, but with more than one query window open that became suddenly very unreliable (thanks again MS). It might make things a little less predictable, but you could forsake the ControlSend in favor of a good ol' SendInput (which worked faster for ... |
|
 |
Forum: Support Topic: GUI to Generate SQL based on Text Box Input |
| FeiVictas |
|
Posted: February 9th, 2007, 11:20 pm
|
|
Replies: 9 Views: 870
|
| You can toss in a Gui, Destroy to get around the one-variable, multi-control problem. Specifying the edit control (DimensionEdit1 for me)made it paste in my Query Analyzer just fine. Like so: MsgBox, 4, SQLPaster, %MultiLineVariable% IfMsgBox, Yes ; Remove that part after testing { ControlSend,... |
|
 |
| Sort by: |