Ok I made this ahk for ashley fraser's ein's, where you highlight Business Name to City (or all of it if lazy) and it searches all 3 irs db's (since it's required if not found). BUT it glitches out everytime I run it a second time unless i reload the script. Any coding experts wanna fix this up? Code: 1:: Sleep 300 Send ^c Sleep 50 info:= clipboard info:= RegExReplace(info, "Organization ID.*", "") info:= RegExReplace(info, "Organization Country.*", "") info:= RegExReplace(info, "Organization Postal.*", "") info:= RegExReplace(info, "Organization Street.*", "") info:= RegExReplace(info, "Organization Website.*", "") For what, with in replace StringReplace, info, info, %what%, %with%, All Loop { StringReplace, info, info, `r`n`r`n, `r`n, UseErrorLevel if ErrorLevel = 0 ; No more replacements needed. break } name:= RegExReplace(info, "Organization City.*", "") replace:= {"Organization Name: ":""} For what, with in replace StringReplace, name, name, %what%, %with%, All replace:= {" ":"+"} For what, with in replace StringReplace, name, name, %what%, %with%, All city:= RegExReplace(info, "Organization Name.*", "") replace:= {"Organization City: ":""} For what, with in replace StringReplace, city, city, %what%, %with%, All replace:= {" ":"+"} For what, with in replace StringReplace, city, city, %what%, %with%, All clipboard :="http://apps.irs.gov/app/eos/pub78Search.do?ein1=&names=" clipboard .= name clipboard .= "&city=" clipboard .= city clipboard .= "&state=CA&country=US&deductibility=all&dispatchMethod=searchCharities&submitName=Search" Send ^n^v Sleep 100 Send {Enter}^t clipboard :="http://apps.irs.gov/app/eos/revokeSearch.do?ein1=&names=" clipboard .=name clipboard .="&city=" clipboard .=city clipboard .="&state=All...&zipCode=&country=US&exemptTypeCode=al&postDateFrom=&postDateTo=&dispatchMethod=searchRevocation&submitName=Search" Sleep 200 Send ^v Sleep 200 Send {Enter} Sleep 200 Send ^t clipboard := "http://apps.irs.gov/app/eos/ePostSearch.do?ein1=&names=" clipboard .=name clipboard .="&city=" clipboard .=city clipboard .="&state=All...&zipCode=&country=US&dispatchMethod=searchEpostcard&submitName=Search" Send ^v Sleep 100 Send {Enter} return
[video]http://perezhilton.com/tv/Prince_Seven_Official_Music_Video/?id=6f8a58ce02cab&autoplay=false[/video]
Sorry can't help at all on the script but kind of have to ask on average how long is it taking you to do the HITs counting time to restart the ahk, take it that part is basically 0 but figured I might as well count that. Also really wish I could do these hits sadly no masters for me.
n'as were taking 75sec w/o and about 40 sec with the script. I stopped doing them though, I'm lookin at house vids on youtube while eating pizza now [video=youtube;-5fASE2eZt4]https://www.youtube.com/watch?v=-5fASE2eZt4[/video]
[video=youtube;yew9L0Xjm_g]http://www.youtube.com/watch?v=yew9L0Xjm_g[/video] Just change the word to hits await.....