Search found 20 matches

by timelizards
27 Feb 2017, 21:03
Forum: Forum Issues
Topic: Forum really really slow...
Replies: 67
Views: 31994

Re: Forum really really slow...

working great now, thanks
by timelizards
30 May 2016, 02:17
Forum: Ask for Help (v1)
Topic: how to remove the blue border when "Edit" is on focus?
Replies: 6
Views: 2301

Re: how to remove the blue border when "Edit" is on focus?

here is some code i stripped from something ive been working on (which was mainly found on the forums). the HwndhAtlAxWin thing and the meta tag in the html document i dont think were in the orignal link i posted but i found them on the forums as well. i believe they were necessary to support the mo...
by timelizards
30 May 2016, 01:49
Forum: Ask for Help (v1)
Topic: Auto-Reloads in a Synced Folder, and the Attack of the Errors
Replies: 4
Views: 1448

Re: Auto-Reloads in a Synced Folder, and the Attack of the Errors

do

Code: Select all

try {
}
and

Code: Select all

catch {
}
statements prevent the errors? have the catch statement only display a msg if you are physically at the computer. i wasnt able to visualize the whole issue you described, i guess im hoping if the errors just dont come up, you can resync the new file appropriately.
by timelizards
29 May 2016, 23:01
Forum: Ask for Help (v1)
Topic: how to remove the blue border when "Edit" is on focus?
Replies: 6
Views: 2301

Re: how to remove the blue border when "Edit" is on focus?

If you dont find a solution, i would suggest looking into HTML gui's. Specifically, the shell.explorer method that supports css3. https://autohotkey.com/boards/viewtopic.php?t=4588 I couldnt come up with many reasons to invest time into learning ahk ( or windows ) gui formats and styles. As an amate...
by timelizards
26 Apr 2016, 18:14
Forum: Ask for Help (v1)
Topic: (SOLVED) Simple Encrypter _ StringReplace - Prevent replacing strings already replaced!
Replies: 24
Views: 7011

Re: (ALMOST SOLVED) StringReplace - Don't replace strings already replaced?

is everything you are analyzing the same character length (one) ? split the string into an array, analyze each character individually, and build a new string based of each character? i can see how trying to morph the same string over and over might make things tricky -altho i dont doubt there is a c...
by timelizards
26 Apr 2016, 17:54
Forum: Ask for Help (v1)
Topic: Best way to increase a number in a string
Replies: 5
Views: 1882

Re: Best way to increase a number in a string

i realize my solution doesnt use the clipboard, but i was trying to answer the question about increasing the number in a string. with the example you provided, i would prolly knock the number of the end of the string, analyze it if i needed it, and append my own variable to the end of the string the...
by timelizards
26 Apr 2016, 17:51
Forum: Ask for Help (v1)
Topic: Best way to increase a number in a string
Replies: 5
Views: 1882

Re: Best way to increase a number in a string

Code: Select all

num := 0
string := "beginning.of.string\"

Loop, 5
	MsgBox % string . (num := num + 1)
by timelizards
07 Apr 2016, 10:41
Forum: Ask for Help (v1)
Topic: How to parse HTML?
Replies: 5
Views: 2624

Re: How to parse HTML?

Here is another quick example. I added an h1 tag to the html code htmlCode = ( <Form method="POST" action='http://google.com'> <input name='test' value="abc"> <input name="test2" id="testid" value='aaa' > <input value="345" name="w12"> <div value="xtest" name="ytest"></div><input name='bla' value='b...
by timelizards
07 Apr 2016, 10:32
Forum: Ask for Help (v1)
Topic: How to parse HTML?
Replies: 5
Views: 2624

Re: How to parse HTML?

Maybe this will get you started. I dont see the span tags in your example but i was just passing through. Ill check up in a few. I might have changed one of your variable names. htmlCode = ( <Form method="POST" action='http://google.com'> <input name='test' value="abc"> <input name="test2" id="testi...
by timelizards
05 Feb 2016, 01:55
Forum: Ask for Help (v1)
Topic: Closing a specific website script
Replies: 3
Views: 1780

Re: Closing a specific website script

credits to jethrow for the ieget function which i probably butchered to make this. i use something like this but not exactly for my own needs
by timelizards
05 Feb 2016, 01:49
Forum: Ask for Help (v1)
Topic: Closing a specific website script
Replies: 3
Views: 1780

Re: Closing a specific website script

IECloseExcept("https://www.google.com/?gws_rd=ssl",true) IECloseExcept("www.google.com") IECloseExcept(url, exact := "") { if ( exact == true ) { For wb in ComObjCreate( "Shell.Application" ).Windows { ;msgbox % "LocationURL = " . wb.locationurl . "`nFull Name = " . wb.fullname . "`nurl = " . url i...
by timelizards
05 Feb 2016, 01:18
Forum: Ask for Help (v1)
Topic: how to get the selected text without using send ^{c}?
Replies: 19
Views: 11372

Re: how to get the selected text without using send ^{c}?

how can you get the selected text? autohotkey may be able to get it the same way. im only responding b/c i dont see any other bites at this point, so ill do my best. when you send a message to an application, its up to the application how to handle it. if you send a message that replicates a ^c pres...
by timelizards
09 Dec 2015, 15:25
Forum: Ask for Help (v1)
Topic: Nested iFrames IE COM
Replies: 3
Views: 2126

Re: Nested iFrames IE COM

tried pre-loading the textbox with a value "LOOKFORME" then added the following code to with no success

Code: Select all

element_value := frame.document.all[a_index-1].value

if(element_value="LOOKFORME")
{
	MSGBOX found element by value %element_value%
	
}
by timelizards
09 Dec 2015, 15:12
Forum: Ask for Help (v1)
Topic: Nested iFrames IE COM
Replies: 3
Views: 2126

Nested iFrames IE COM

*fixed subject 12/9 I am attempting to write a function to dig through the frames in a webpage and take an action with an element once found. This seems to work for some elements on the page, but not all. Specifically, after clicking a button "search", another frame appears (does not appear to be ne...
by timelizards
06 Dec 2015, 22:46
Forum: Ask for Help (v1)
Topic: Get all controls under the cursor Topic is solved
Replies: 4
Views: 2027

Re: Get all controls under the cursor Topic is solved

i find PostMessage works well for me for clicking toolbar buttons (and items in right click menus sometimes)

winget will get all controls in a window with the cmd controllist, but i dont know if the buttons you are looking for will show up - might be worth a look if you havent already
by timelizards
02 Dec 2015, 15:40
Forum: Ask for Help (v1)
Topic: A return must be encountered prior to this } error
Replies: 8
Views: 5027

Re: A return must be encountered prior to this } error

Sorry i edited my first post a few times and just needed to make a new one to not confuse myself. I was playing around with what I had and I can see how it runs now: Does this help? FinishedEdit := "N" MsgBox A ;Destroy Previous run of the Gui ;Gui, Destroy Gui, Add, Text,, Enter in the row (a numbe...
by timelizards
02 Dec 2015, 15:11
Forum: Ask for Help (v1)
Topic: A return must be encountered prior to this } error
Replies: 8
Views: 5027

Re: A return must be encountered prior to this } error

The output of this is 1, 2, 4 and finally 2 2 comes before 4 because the g-label for the OK button on the GUI (and closing the Parameters window) runs the subroutine with msgbox 4 in it, before the script is able to execute msgbox 2. then 2 shows again becuase there was no return after the gui stat...
by timelizards
30 Nov 2015, 22:27
Forum: Ask for Help (v1)
Topic: A return must be encountered prior to this } error
Replies: 8
Views: 5027

Re: A return must be encountered prior to this } error

return your g-label subroutines

Code: Select all

ButtonOK:

;do stuff

return
by timelizards
11 Sep 2015, 21:22
Forum: Ask for Help (v1)
Topic: [Solved] Fetching Active Directory user lastLogon attribute
Replies: 4
Views: 3866

Re: Fetching Active Directory user lastLogon attribute

Combining two functions I found on the forums I was able to get within a day (seems like some kind of rounding or locale issue). I do not think the error is with the functions but rather my implementation. Also I chose to use the LastLogonTimestamp property because i think this value is replicated a...

Go to advanced search