Search found 332 matches

by sinkfaze
30 Mar 2017, 07:49
Forum: Scripts and Functions
Topic: Internet Explorer Element Spy (alternative to iWB2 Learner)
Replies: 52
Views: 14007

Re: Internet Explorer Element Spy (alternative to iWB2 Learner)

Why does the bounding rectangle now overflow? Tested this at various zoom levels on IE11.

3-30-2017 7-44-17 AM.jpg
3-30-2017 7-44-17 AM.jpg (170.39 KiB) Viewed 178 times
by sinkfaze
24 Feb 2017, 09:58
Forum: Tutorials
Topic: MS Office COM Basics
Replies: 92
Views: 42336

Re: MS Office COM Basics

How does it know which Excel process to connect to? I normally have just one ComObjCreate in a script — when would I want to use a ComObjActive statement? It doesn't, but if you have only one Excel application running it's irrelevant. Any time one Excel application is already open and you do not ha...
by sinkfaze
08 Nov 2016, 11:44
Forum: Scripts and Functions
Topic: Excel COM Function Library
Replies: 10
Views: 1325

Re: Excel COM Function Library

Could you post your proposed code and not just the errors, please?
by sinkfaze
27 Oct 2016, 07:47
Forum: Forum Issues
Topic: error message when accepting answer on forum
Replies: 2
Views: 447

Re: error message when accepting answer on forum

It's been reported, once an update can be made it will be fixed.
by sinkfaze
19 Oct 2016, 13:57
Forum: Ask For Help
Topic: stringsplit
Replies: 3
Views: 262

Re: stringsplit

Perhaps a regular expression would be a better option:

Code: [Select all]GeSHi © Codebox Plus

clipboard = \\apacefeatures1\Active_Projects_P-Z\ FEATURES\SAL50 Shoening, Michael\EXPORTS
RegExMatch(Clipboard,"^.+\\([^\\]+)(?=\\EXPORTS)",_)
MsgBox % _ "\Nuendo Project\" _1 " NPR\"
by sinkfaze
13 Oct 2016, 10:17
Forum: Ask For Help
Topic: Regular Expressions Help
Replies: 8
Views: 563

Re: Regular Expressions Help

This tweaks wolf_II's parsing loop to add line breaks without the need to trim any whitespace after the fact; since your dataset is very small the difference in performance will be trivial: list= ( http://www.facebook.com http://www.twitter.com chrome://bookmarks/#34561 chrome://bookmarks/#q=chrome:...
by sinkfaze
03 Aug 2016, 08:07
Forum: Ask For Help
Topic: RegExReplace and some characters
Replies: 8
Views: 437

Re: RegExReplace and some characters

ab := abc := "show these characters as normal characters :,!#¤%&/(()))=%`\'*-/+\.*?+[{|()^$" ; make a copy of the string to search alongside the original Pos=1 ; set the starting position for RegExMatch in the While loop While Pos := RegExMatch(abc,"\W",m,Pos+StrLen(m)) ; wh...
by sinkfaze
27 Jul 2016, 09:56
Forum: Scripts and Functions
Topic: Internet Explorer Element Spy (alternative to iWB2 Learner)
Replies: 52
Views: 14007

Re: Internet Explorer Element Spy (alternative to iWB2 Learner)

OnExit() was introduced in version 1.1.20, so you'll need to update.
by sinkfaze
27 Jul 2016, 08:15
Forum: Scripts and Functions
Topic: Internet Explorer Element Spy (alternative to iWB2 Learner)
Replies: 52
Views: 14007

Re: Internet Explorer Element Spy (alternative to iWB2 Learner)

The old iWeb tool could recurse into frames to get an element, and I know that both tank and jethrow wrote functions for doing so. OP (or Philbot) I would check the source on the iWeb tool to see how that was being done to add that functionality to this one.
by sinkfaze
15 Jul 2016, 10:57
Forum: AutoHotkey v2 Development
Topic: Commands vs Functions
Replies: 84
Views: 7559

Re: Commands vs Functions

Forgive my ignorance, particularly if this is not how you meant an answer to the questions, but I think that we should look at this a different way. Take the ControlGet command. How would you propose to retire that command and replace it with a function? A literal translation of the command? OutputV...
by sinkfaze
13 Jul 2016, 08:04
Forum: Ask For Help
Topic: Extract specific data from text Topic is solved
Replies: 7
Views: 511

Re: Extract specific data from text Topic is solved

It would probably be better to use a negative character class; in the event that there's another </fullname>&lt in the raw HTML further down the line, the greed of .* will lead to an incorrect capture. Probably safe to assume that the ampersand will work here: biglongstring := &quo...
by sinkfaze
07 Jul 2016, 09:15
Forum: Ask For Help
Topic: loop begin from number 4000
Replies: 2
Views: 288

Re: loop begin from number 4000

Code: [Select all]GeSHi © Codebox Plus

Loop, 1000
Send % (3999+A_Index) "`n"
by sinkfaze
05 Jul 2016, 08:24
Forum: Ask For Help
Topic: Position of words get jumbled when copy pasted from pdf to word.How can I overcome this?
Replies: 3
Views: 363

Re: Position of words get jumbled when copy pasted from pdf to word.How can I overcome this?

It sounds like when you're "copying" you're actually using Adobe's optical character recognition (OCR) to try to recognize the characters and then copy it's interpretation. If that's the case, your copy will only be as good as Adobe's OCR rendering of the page.
by sinkfaze
01 Jul 2016, 10:35
Forum: Ask For Help
Topic: Variable based on dropdownlist
Replies: 2
Views: 229

Re: Variable based on dropdownlist

Quotes needed around literal text in expression mode:

Code: [Select all]GeSHi © Codebox Plus

emailmessageto := "personal@hotmail.com"



No percent signs needed for that in expression mode:

Code: [Select all]GeSHi © Codebox Plus

m.To := emailmessageto
by sinkfaze
01 Jul 2016, 10:33
Forum: Ask For Help
Topic: CSV stringsplit Array ?
Replies: 3
Views: 303

Re: CSV stringsplit Array ?

csv2= ( Artikelname;Artikelnummer tree;123 car;234 cat;345 ) csv3= ( Artikelnummer;Artikelname 123; the tree is green 234; the car is black 345; the cat is white ) csv_2 := {}, csv_3 := {} Loop, parse, csv2, `n, `r { if A_Index=1 continue StringSplit, f, A_LoopField, `;, %A_Space% csv_2[f1] := f2 }...
by sinkfaze
28 Jun 2016, 12:06
Forum: Ask For Help
Topic: COM interacting with Java Script button on website
Replies: 5
Views: 383

Re: COM interacting with Java Script button on website

Your button has an ID so you can use that to attach to it directly. The click is likely not firing the associated onclick javaScript event, so you'll have to fire that manually: refresh := web_browser.document.all["00BU0000003uTEV_refresh"] , refresh.click() , refresh.fireEvent("oncli...
by sinkfaze
22 Jun 2016, 14:20
Forum: Ask For Help
Topic: IE/COM Clicking a button
Replies: 4
Views: 348

Re: IE/COM Clicking a button

Considering that "Complete Registration" isn't a tag name , but a value , it's not surprising that it doesn't work. Since the button doesn't have any easily identifiable features, you're going to have to loop through the input elements (untested, obviously): Loop % (input := wb.document.ge...
by sinkfaze
21 Jun 2016, 13:56
Forum: Ask For Help
Topic: SubStr
Replies: 10
Views: 608

Re: SubStr

If ( A_LoopField ~= "\s" ) will be pretty imprecise since it will match any whitespace character, If ( A_LoopField ~= "\040" ) would be better.
by sinkfaze
17 Jun 2016, 10:57
Forum: Ask For Help
Topic: [SOLVED] Even more true title case
Replies: 8
Views: 673

Re: [SOLVED] Even more true title case

MsgBox, % titleCase("The quick brown fox jumps over the lazy dog, and that's what I've been waiting for!") MsgBox, % titleCase("Between the devil and the deep blue sea.") MsgBox, % titleCase("To be or not to be.") return titleCase(str) { static tCase := "(?:A(?:nd...

Go to advanced search