Sign in to follow this  
Followers 0
Blackstar

Check to see if text is in bold format

9 posts in this topic

Topic says it all....is it possible? Need it to check unread email in bold and open it via IE.au3. Thanks.

Blackstar

Share this post


Link to post
Share on other sites



Anyone??

Topic says it all....is it possible? Need it to check unread email in bold and open it via IE.au3. Thanks.

Blackstar

Share this post


Link to post
Share on other sites

Topic says it all....is it possible? Need it to check unread email in bold and open it via IE.au3. Thanks.

Blackstar

Even in the AutoIT internal commands, I only see ways to set text attributes, not read them. You can read the text from a control, but I don't see how to get format/attributes. I would also like to know if it can be done with AutoIT GUI's or external windows.

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Topic says it all....is it possible? Need it to check unread email in bold and open it via IE.au3. Thanks.

Blackstar

Topic says very little of use, actually.

If you're hitting a public URL, provide it. Can you see HTML source, or are you running some kind of OWA or JRE or Citrix environment?

What have you done, if anything, to see what other elements may indicate "new" or "unread" links?

The issue of identifying bold links in an HTML page is simply a matter of parsing the source for said links; your task will likely be made simpler by the fact that most of these pages use some kind of table to order email information.


Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

Topic says it all....is it possible? Need it to check unread email in bold and open it via IE.au3. Thanks.

Blackstar

There are several way of obtaining bold text in HTML. These include the <b> tag, the <font> tag and CSS (you'd see this as a class= attribute on a tag that referenced a previously defined CSS style).

All of these can be parsed and discovered in the DOM. The approach you take depends on the particular page and how it is accomplished.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

I gave an answer to this question here.

Share this post


Link to post
Share on other sites

Hi.

This post was my early question before big_daddy provided the link so thanks to big_daddy on tips for this. We can disconitue this topic....

I gave an answer to this question here.

Share this post


Link to post
Share on other sites

Hi.

This post was my early question before big_daddy provided the link so thanks to big_daddy on tips for this. We can disconitue this topic....

Dawn Of The Thread! The Zombie Topic That Wouldn't Die! :D

Just out of curiosity, what about outside of HTML and web browsers? Can you read the attributes of a control in the same manner you can read the text/data from it? Something amounting to GuiCtrlGetFont() or GuiCtrlReadStyle()... :wacko:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0