Search found 58 matches

by PaulLeavitt
19 Apr 2016, 14:31
Forum: Ask for Help (v1)
Topic: Navigation of Chrome Webpage (not the same question again)
Replies: 2
Views: 1330

Navigation of Chrome Webpage (not the same question again)

Hey all! So I know Chrome and Firefox don't support COM, but given my work environment, I can't require that everyone who uses my code be using IE. I've been using AHK for a couple of years, so I'm pretty comfortable with it. I need to select a specific box on a webpage, and the way I currently do i...
by PaulLeavitt
02 Oct 2015, 14:01
Forum: Ask for Help (v1)
Topic: ComObjGet Bad Extension Error
Replies: 1
Views: 1082

ComObjGet Bad Extension Error

Hey All! I'm finished beating my head against the proverbial wall, I simply can't rat out the source of this error!!! I have a set of 6 text files, and I want my script to randomly select one of them, so I generate a random number between 1 and 6, then append the file address with that number and th...
by PaulLeavitt
30 Sep 2015, 11:32
Forum: Ask for Help (v1)
Topic: Craigslist Semi-automated Posting URL Problem
Replies: 2
Views: 1723

Craigslist Semi-automated Posting URL Problem

Hey all! I suppose this might actually be more of a CL question than an AHK question, but maybe there's another way to go about this that I'm not thinking of. So, at my business we post to Craigslist a lot in a number of cities (we're int he long haul transportation business, so where a driver lives...
by PaulLeavitt
17 Sep 2015, 15:09
Forum: Ask for Help (v1)
Topic: If Expression check to see if value is in Array
Replies: 4
Views: 3287

Re: If Expression check to see if value is in Array

Ah, I see! I'll definitely be doing some more reading! Thanks so much Kon!
by PaulLeavitt
14 Sep 2015, 15:49
Forum: Ask for Help (v1)
Topic: If Expression check to see if value is in Array
Replies: 4
Views: 3287

Re: If Expression check to see if value is in Array

Ah! You rock Kon!
That's awesome! So is that an object or an Array? (basically wondering where I should go to do more study)
One last question I realized I didn't specify, how do I declare the contents of an array to be the options in a dropdown?
Thanks!
Paul
by PaulLeavitt
14 Sep 2015, 15:24
Forum: Ask for Help (v1)
Topic: If Expression check to see if value is in Array
Replies: 4
Views: 3287

If Expression check to see if value is in Array

Hey all! So I'm working on an if expression that works off of a dropdown input. Basically. if the user selects an option from the dropdown, I want the script to check to see if the value is in an array or object or something. If it is, than do option A, if it's not, do option B. The way I've been do...
by PaulLeavitt
17 Mar 2015, 11:06
Forum: Ask for Help (v1)
Topic: Update Control Without having to click Submit
Replies: 2
Views: 1210

Re: Update Control Without having to click Submit

Ah, thank you again Kon! That works great! I just had to add "Nohide" to the submit command in the subroutine. Works like a charm!
Thanks again!
Paul
by PaulLeavitt
17 Mar 2015, 10:35
Forum: Ask for Help (v1)
Topic: Update Control Without having to click Submit
Replies: 2
Views: 1210

Update Control Without having to click Submit

Hey All! So I bet the has already been covered but I couldn't find it, so if you know where the answer is, simply point me in the right direction! I have a GUI with two radio check boxes, and I would like to show/hide some commands based on which radio is selected. However, I would prefer not to hav...
by PaulLeavitt
10 Mar 2015, 15:21
Forum: Ask for Help (v1)
Topic: (Slightly) advanced Excel COM troubles
Replies: 13
Views: 5683

Re: (Slightly) advanced Excel COM troubles

Ok, that all makes sense, and your code worked beautifully Kon! Thanks so much! I'll keep method 2 in mind as I go forward.
Do you think that might be a subject worth covering in a thread all it's own? Information on COM in AHK is a bit sparse online. Just a thought.
Paul
by PaulLeavitt
10 Mar 2015, 13:17
Forum: Ask for Help (v1)
Topic: (Slightly) advanced Excel COM troubles
Replies: 13
Views: 5683

Re: (Slightly) advanced Excel COM troubles

Oh! Duh. Oops! I completely overlooked the fact that you declared "AS" to be a variable containing an address. Thanks for the explanation Kon! You all are super helpful! And thanks for the info on intersects TLM, I find I run into those with some regularity. So it sounds like a lot of the problems I...
by PaulLeavitt
09 Mar 2015, 16:24
Forum: Ask for Help (v1)
Topic: (Slightly) advanced Excel COM troubles
Replies: 13
Views: 5683

Re: (Slightly) advanced Excel COM troubles

Ahhhh! You're amazing! It works perfectly!! So I'm curious now. Why does it require "AS" before the range designations? And why does changing xlPart to "2" have any effect? Thanks so much Kon! And that's really interesting TLM, So escaping the comma creates a union which in your example, only the ra...
by PaulLeavitt
09 Mar 2015, 15:02
Forum: Ask for Help (v1)
Topic: (Slightly) advanced Excel COM troubles
Replies: 13
Views: 5683

(Slightly) advanced Excel COM troubles

Hey AHK'ers! I'm trying to write a script to do some manipulations to an excel spreadsheet before pulling information out of it to be used in another application, but I can't get some of the COM commands to work. Here's my code as is: #!g:: Xl.Worksheets(1).ShowAllData ;Because the Excel doc is filt...
by PaulLeavitt
12 Feb 2015, 12:08
Forum: Ask for Help (v1)
Topic: Selecting a page within a .ico file to use as tray icon
Replies: 6
Views: 3219

Re: Selecting a page within a .ico file to use as tray icon

Ohhhhhh. Ok, that makes sense Lexikos. Thanks! So I'm pretty naive when it comes to things like .DLL files and .icl's. I basically want to have a repository in the folder where my Macro's are stored that has a number of different icons that I can assign to various scripts so that the tray icons are ...
by PaulLeavitt
12 Feb 2015, 12:02
Forum: Ask for Help (v1)
Topic: Switching between macros !
Replies: 4
Views: 1858

Re: Switching between macros !

If you won't be needing the press of a button to immediately end the current script, then you should be able to just use the normal hotkey command. Here's the documentation on how to write a Hotkey into your script: http://www.autohotkey.com/docs/Hotkeys.htm For instance, you could use Window-1 (or ...
by PaulLeavitt
12 Feb 2015, 11:57
Forum: Ask for Help (v1)
Topic: ControlSend Using the Control Text, Rather than Window Text
Replies: 4
Views: 1807

ControlSend Using the Control Text, Rather than Window Text

Hey all! I'm trying to force a window to close by pressing it's "Cancel" button, but I'm having a hard time using either ControlSend or ControlClick to accomplish this. I know what the control is called via Window Spy, and I know I have my syntax/names correct. I've had problems like this before wit...
by PaulLeavitt
30 Jan 2015, 13:14
Forum: Ask for Help (v1)
Topic: Moving a Gui Window before it's shown
Replies: 6
Views: 3973

Moving a Gui Window before it's shown

Hello All! So I have a particularly vexing situation. I am running a dual monitor setup (different sized monitors too), and since I'm usually using my main application on my second (and larger) monitor, I would like my AHK Gui's to show up on that monitor. I finally developed a way to force popup's ...
by PaulLeavitt
14 Jan 2015, 12:26
Forum: Ask for Help (v1)
Topic: Selecting a page within a .ico file to use as tray icon
Replies: 6
Views: 3219

Re: Selecting a page within a .ico file to use as tray icon

Here's the error I get. http://s23.postimg.org/ih7ubp9pn/Icon_Error.png This line of code is where the trouble is. Menu, Tray, Icon, \\volvo\users\pleavitt\Documents\Paul\Interface\Custom Icons\T-CheckIcon.ico,2,1 After the file name, where the ,2,1 is, if I change the 2 to a 1, then it works. Thank...
by PaulLeavitt
13 Jan 2015, 13:21
Forum: Ask for Help (v1)
Topic: Selecting a page within a .ico file to use as tray icon
Replies: 6
Views: 3219

Selecting a page within a .ico file to use as tray icon

I have a functioning AHK script, and I want to assign a custom icon to it in the toolbar, I have a .ico file that I created that has the icon that i want to use. I can use the default (first) page in the .ico file just fine, but I need to use the second one. How do I do this? This is the troublesome...
by PaulLeavitt
09 Jan 2015, 10:26
Forum: Ask for Help (v1)
Topic: ControlSend To Entire Window
Replies: 2
Views: 1258

Re: ControlSend To Entire Window

Perfect! Thanks GeekDude!
by PaulLeavitt
08 Jan 2015, 15:31
Forum: Ask for Help (v1)
Topic: If () comparison not working. What am I doing wrong?
Replies: 8
Views: 3330

Re: If () comparison not working. What am I doing wrong?

Oh, That's a good idea T_Lube! I hadn't thought of doing that. I'll look into implementing that. Thanks!

Go to advanced search