AutoHotkey Community

It is currently May 27th, 2012, 12:32 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 226 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 16  Next
Author Message
 Post subject:
PostPosted: December 2nd, 2009, 9:58 pm 
Offline

Joined: November 19th, 2009, 6:23 pm
Posts: 163
Location: Florida
One problem to give an example is my problem using a comma as part of a string, since setDomObj uses it as a delimiter I have to focus on the text box and send a string via the Send command....

thats why I created it, thought it might be useful....might be a temporary bandaid but so far I can get done what I need until I can figure out the comma problem.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 2nd, 2009, 10:03 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
, instead of comma

this works well in my own controled environment but not in the real world very well in my internally published at work library i use
Code:
chr(2)
as a delimiter instead of coma but i have always been leary about it for novice users. still a better means needs to be created. Perhaps ill decide to support an escape character and keep the coma

Thank you for reminding me on this

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 1:14 am 
Offline
User avatar

Joined: May 24th, 2009, 5:35 am
Posts: 2099
Location: Iowa, USA
jethrow wrote:
I updated my link ... [to] outline the element only up to the dimensions of the current frame. As a result, however, the outlining is slightly slower if the element is in a frame.

Is there any particular reason not to use the SetBatchLines, -1 setting? I am asking because of my previous post. If this set to -1, the "slightly slower" is almost non-existent (if this is even functionallity you were going to add, of course).

_________________
Image
Recommended: AutoHotkey_L
Basic Webpage Controls


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 1:56 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
Do IT

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 3:00 am 
Offline
User avatar

Joined: May 24th, 2009, 5:35 am
Posts: 2099
Location: Iowa, USA
tank wrote:
Do IT
Ok, I did - here's the link, which is also on the third post of this thread.

_________________
Image
Recommended: AutoHotkey_L
Basic Webpage Controls


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 3:30 am 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
jethrow wrote:
Is there any particular reason not to use the SetBatchLines, -1 setting?


It does not play well with the script tester. Makes it work extremely slow.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 6:05 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
tank, something isn't quite right about your code for iWeb_tableParse(), did you mean to retrieve the innerText as opposed to the innerHTML?

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 6:12 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
they would never retreive the same thing?

innerText retreives whatever is nested within the referenced cell thats visible text (minus the tags)

while innerHTML retreives the actual html content within the referenced element

and outerHTML retreives the html from within including the actual html of the element itself

So i fail to from your example see what problem your citing?

I theink either is usefull should we set a parameter for the property and default it to innerText?

edit you edited your post so the example im whining about isnt there any more

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 6:16 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
Sorry, once I saw the obvious I was hoping to rephrase the question before you caught it. :wink:

Can we set a default parameter in the function to retrieve innerText first? I would assume that would be the more useful of the two options up front, no? I'm working on this in anticipation of something workable for table data for the Learner.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 6:18 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
I will be posting quite a few updates this weekend since this is going to remain a function i can see the benifet so yes i will

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 11:11 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
I have upgraded to iWebBrowser2 Learner Build 2.6 for review:

  • Changed to mandatory paused mode on all tabs but the Viewer tab, where it is optional.
  • Changed to mandatory element outline "off" on all tabs but the Viewer tab, where it is optional.
  • Window hotkeys Ctrl+Right/Ctrl+Left have been created to supplant Ctrl+PgDn/Ctrl+PgUp in navigating the tabs. Menu items for these have also been created.
  • Initialization for the current window is now added to the script writer when a sample function is selected from the ListBox (to be sent to the script writer) and no initialization has yet been created.
  • Universal hotkey Ctrl+T has been created to get table data from the active page and populate it to a ListView. Double-clicking a row will generate a ToolTip with the appropriate iWeb_TableParse() call for row's page element.
I think pushing the table data to a ListView is the right way to go but I'm not sure if my method for doing it is. I was unable to execute the script directly as part of the main script (began to generate numerous "name" and other errors) so I have to execute it dynamically, which works but limits our ability to work with the window effectively. Any ideas on how else to execute it are welcome.

I inadvertently zapped jethrow's addition of the experimental script area on the Forms tab in my build, but my question is, is this something that might be better suited for the yet-to-be-used Templates tab?

Also, we're probably going to have to look into ini settings at some point given the amount of customization the recorder has to offer.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 11:27 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
I am all for an INI document
The table thingis something i plan on spending quite alot of time exploring in detail this weekend. thanks for giving me some starting point

you mean my script zone ?

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 11:35 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
Quote:
Universal hotkey Ctrl+T has been created to get table data from the active page and populate it to a ListView. Double-clicking a row will generate a ToolTip with the appropriate iWeb_TableParse() call for row's page element.
not doing anything at all for me?

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2009, 11:42 pm 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
i found it you didnt update the title so i prelaced it in the controlget with %GuiWinTitle%

i like it for now Ill try figure out how to make it usefull for writing code
Quote:
I inadvertently zapped jethrow's addition of the experimental script area on the Forms tab in my build, but my question is, is this something that might be better suited for the yet-to-be-used Templates tab?
perhaps but as it specific to forms im hesitant

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2009, 12:18 am 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5482
Location: the tunnel(?=light)
tank wrote:
i found it you didnt update the title so i replaced it in the controlget with %GuiWinTitle%


Actually I thought I had trimmed off the build so it would generally find a window named "iWebBrowser2 Learner" but that apparently was in a test script. :roll: Thanks for catching it, I have updated the zip.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 226 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 16  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Bon, maul.esel, SKAN and 7 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group