| Author |
Message |
Forum: Support Topic: variables and a function call |
| luckcity |
|
Posted: January 10th, 2012, 5:04 am
|
|
Replies: 8 Views: 156
|
| Thanks again, and now I must beg. I have spent 2-3 hours hours on this problem, reading and applying different solutions, on the linked page above, prior to posting here, as evidenced with use of the option parameters in : ClickImage(ImageName,WhichButton="left",errors_enabled=1,ClickCount... |
|
 |
Forum: Support Topic: variables and a function call |
| luckcity |
|
Posted: January 10th, 2012, 5:03 am
|
|
Replies: 8 Views: 156
|
| Thanks again, and now I must beg. I have spent 2-3 hours hours on this problem, reading and applying different solutions, on the linked page above, prior to posting here, as evidenced with use of the option parameters in : ClickImage(ImageName,WhichButton="left",errors_enabled=1,ClickCount... |
|
 |
Forum: Support Topic: variables and a function call |
| luckcity |
|
Posted: January 10th, 2012, 4:12 am
|
|
Replies: 8 Views: 156
|
| Yes thanks, I can now see "SingleViewbutton.bmp"with msgbox, %ImageName% placed in the function below gosub functionsubs. But with it placed in functionsubs:, the msg box is blank, since I'm, guessing ImageName isn't passed outside the function. How does ImageName get passed into function,... |
|
 |
Forum: Support Topic: variables and a function call |
| luckcity |
|
Posted: January 10th, 2012, 2:46 am
|
|
Replies: 8 Views: 156
|
| I have an ImageSearch command in the functionsubs subroutine below, and wish to access that with a function call. The image is SingleViewbutton.bmp. ImageName is the variable that ImageSearch uses. 1. How can I tweak things so I can use the function call: ClickImage(SingleViewbutton.bmp) 2.Do I need... |
|
 |
Forum: Support Topic: moving gui with -caption |
| luckcity |
|
Posted: June 7th, 2011, 1:18 am
|
|
Replies: 1 Views: 145
|
Hi,
Since the toolbar is removed with GUI -caption,
was just wondering if there is a clever way to move a window with the mouse with that toolbar missing.
thanks
j |
|
 |
Forum: Support Topic: does settimer on restore the priority? or just the period |
| luckcity |
|
Posted: April 7th, 2011, 7:51 am
|
|
Replies: 14 Views: 259
|
Does SetTimer, Label, On restore the priority as well as the period? or just the period.....
SetTimer, Label [, Period|On|Off, Priority] |
|
 |
Forum: Support Topic: ImageSearch and Remote Desktop feature in Windows XP |
| luckcity |
|
Posted: June 30th, 2010, 6:57 am
|
|
Replies: 0 Views: 215
|
| Hi, I'm guessing it has something to do with the video "hook" used when RDC is connected. I have a looping ImageSearch script that stops finding the images when the client disconnects from a RDC session. The server is "headless", no monitors connected. Any thoughts or insights? |
|
 |
Forum: Support Topic: Function truths |
| luckcity |
|
Posted: June 25th, 2010, 12:49 am
|
|
Replies: 0 Views: 191
|
| Is it true: 1. One cannot access outside subs from a function, so one must duplicate subroutines inside the function as well thevariable := 1234 ClickImage(theVariable, "tools") ClickImage(param1, param2) { gosub thesub return } exitapp thesub: msgbox, param1 is %... |
|
 |
Forum: Support Topic: simple function construction |
| luckcity |
|
Posted: June 21st, 2010, 4:27 am
|
|
Replies: 9 Views: 327
|
| Whoops, I was unclear. What purpose does the return have that resides in another guest's function above, please? (I know the function of a return that has an expression is to return a value, in this instance it seems superfluous. ) You can always place the subroutine inside the function (after the R... |
|
 |
Forum: Support Topic: simple function construction |
| luckcity |
|
Posted: June 20th, 2010, 11:43 pm
|
|
Replies: 9 Views: 327
|
| OK I think this is the last function building mystery... how do I prevent lost values when accessing a subroutine from the function, and specifically the strings, like "tools" thevariable := 1234/2 ClickImage(theVariable, "tools") ClickImage(param1, param2) {... |
|
 |
Forum: Support Topic: simple function construction |
| luckcity |
|
Posted: June 18th, 2010, 8:40 am
|
|
Replies: 9 Views: 327
|
| As I have found when reading tech documentation, sometimes it takes several passes in order to retain all the information.... ImageName1 is a parameter, and you're passing a variable called 'tools' to the function instead of a string. How does one pass a string to a function, say I did want to pass ... |
|
 |
Forum: Support Topic: simple function construction |
| luckcity |
|
Posted: June 17th, 2010, 11:28 pm
|
|
Replies: 9 Views: 327
|
| Great, that answers why windowname was not seen inside the function at the first msg (with the addition of global), almost there... where is Imagename1...why isnt it shown in the msg's? ImageFolder=%A_WorkingDir%\Images\ WindowName= target ClickImage(tools) exitapp ClickImage(ImageName1&... |
|
 |
Forum: Support Topic: simple function construction |
| luckcity |
|
Posted: June 17th, 2010, 7:53 am
|
|
Replies: 9 Views: 327
|
| Just trying to pass a couple variables into a function without need to return a value. Ultimately I'd like to pass into the function an image name, have imageseach find it, click it, and it's done ImageFolder=%A_WorkingDir%\Images\ WindowName= target ClickImage(tools) exitapp findtheimage: m... |
|
 |
Forum: Support Topic: Notepad++ DBGp Plugin and AutoHotkey_L |
| luckcity |
|
Posted: May 25th, 2010, 1:58 pm
|
|
Replies: 2 Views: 1255
|
| Ok I'm getting there http://www.picfront.org/d/7De5 I can set breakpoints, it seems to be connected, but none of the controls are enabled. I have refresh local and global every step on in the config, any ideas? And thanks for the link to the plugin, I think that was the intent in the Notepad++ DBGp ... |
|
 |
Forum: Support Topic: Using an ASCII symbol as SearchText |
| luckcity |
|
Posted: May 24th, 2010, 1:03 am
|
|
Replies: 1 Views: 185
|
I am trying to locate something in an Excel row that uses the
right angle quote, ASCII Hex BB
as a delimiter.
I will use it in the SearchText field here
StringGetPos, OutputVar, InputVar, SearchText, L#R#, Offset
Is it possible, and what form would it take, if it is, please. |
|
 |
| Sort by: |