mso | Examples and assignments for the MSO course | Learning library
kandi X-RAY | mso Summary
kandi X-RAY | mso Summary
Examples and assignments for the MSO course.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mso
mso Key Features
mso Examples and Code Snippets
Community Discussions
Trending Discussions on mso
QUESTION
Trying to use Impact font in my html email, which is working fine in Outlook 365 windows and web clients, as well as Gmail client in browser, but the iOS native Mail app, Gmail app and Outlook apps all default back to arial. What am I missing?
Here's the table in question. Class is leftover from a MS port, and I'm leaving it in in the hopes that it improves mso performance, but all it's really doing is setting default font-family, font-size and margin (0).
...ANSWER
Answered 2021-Jun-15 at 05:24Impact may not be 'websafe' then, as it appears to NOT be installed on Androids and iOS (mobile), otherwise it would work. Unless the class "MsoNormal" has a different font-family on it. (I would remove that, it's not necessary or related to performance.)
If that fails, you'll need you to use @font-face
to load it in from a public website. Keep in mind @font-face
is not supported on everything: https://www.caniemail.com/features/css-at-font-face/
As a fallback, you might like to use a similar font, via Google Fonts which is already setup for this: https://fonts.google.com/specimen/Anton
But to make it work on absolutely everything, you'll need to save it as an image, and load in as
QUESTION
I have some data like this (download 10,000 rows of sample data here):
...ANSWER
Answered 2021-Jun-11 at 09:23Okay so I'm not going into any details pertaining to expanding the table, as you seem to have managed that correctly on your own.
The second question can be solved with a search table and a partitioned ROW_NUMBER()
.
When we assume the following base table setup:
QUESTION
Back on May 19th 2021, I wrote this Q&A regarding recent (Apr-May-21) suspected changes to an interface in relation to mshtml.dll
and late bound referencing. This is a part 2, if you will.
Previously, in questions such as this and this, I have remarked upon the lack of support for various CSS selectors with mshtml.dll
, in particular regarding pseudo-classes. In the aforementioned questions, I highlighted that nth-child()
and nth-of-type()
were not implemented with respect to MSHTML
.
Typically, as demonstrated here, not supported selector syntax can result in:
Run-time error '-2140143604 (8070000c)': Could not complete the operation due to error 8070000c.
I expect some things to break as various versions/platforms are no longer supported in relation to Internet Explorer (IE)
(which MSHTML
is related to - see my this. What I did not expect
to find was a recent improvement in supported CSS selectors. Take the following example:
ANSWER
Answered 2021-Jun-01 at 16:19tl;dr;
There is much greater support for css selectors and for Element.querySelector
(allowing for greater flexibility in chaining querySelector(All)
calls. This enormously enhances the expressivity of the MSHTML
class, in terms of CSS selectors, and brings it on par with Selenium Basic
.
Motivation:
I have been wanting to write a list of supported selectors for some time, due to the lack of documentation on this in relation to VBA, and the trial and error nature of learning what does and doesn't work. This latest change has spurred me to do so, and include those libraries which currently support use of CSS selectors within them.
CAVEATS:
- This is not exhaustive; it is pretty comprehensive.
- Should you find any errors, particularly with respect to Selenium Basic, which I had to write from memory, please notify me and I will edit accordingly.
- The recent changes, represented by shaded cells within the summary table (JSFiddle)| marked with ✔* , within simplified table below, are as they pertain to my set-up, at this point in time. Your mileage may vary e.g. CSS selectors were not supported at all < IE8.
Before and After:
Traditionally, the expressivity of CSS selectors within VBA was as follows, with respect to the libraries supporting them:
Selenium implementing, by far, the most CSS selectors.
Current state:
The current state of implemented selectors I believe to be as follows (sorry for image quality, even when you click to enlarge table - please see JSFiddle for clearest table view):
I include this as a simplified HTML insert as well, so you can click on hyperlinks. Please click the Run code snippet below the code insert, then the Full page link. Apologies, the table is large and I haven't even covered all conceivable selectors - only the main ones I consider likely to be frequently of use. Inserting a fancy table threw me over the body character limit so here we are. For a fancy table please see this JSFiddle - the newly supported are shaded.
QUESTION
I'm trying to create a mailchimp template, but I'm having compatibility issues with background images within table cells.
Something like this, just gets ignored by the likes of Outlook etc:
...ANSWER
Answered 2021-May-28 at 10:43Please try this
QUESTION
I want to create a value which can be used throughout a complete xslt document. I'm pretty close I think, but can't get it work.
The basis of my XML:
...ANSWER
Answered 2021-May-27 at 12:59If I get this correctly, you could replace :
QUESTION
I am trying to increase the amount of orange background on this button on MSO email clients. The button works as expected on all other email clients. Right now the orange fits tightly around the text on MSO when I want it to surround it like the rendered button on the other clients. It does not "fill" like expected.
...ANSWER
Answered 2021-May-24 at 15:39Okay, I'm getting an error when trying to use your original code. Outlook isn't liking it at all. There is a service buttons.cm which will help you with button formatting however many in the industry feel that code is outdated and code like the snippet below or Mark Robbins button code, is a lot more flexible in all email clients. I personally use Mark Robbin's code, but it can be quite jarring for those who don't have a lot of experience with html email, so the snippet below will work just fine.
- Pretty much universally friendly.
- Still requires Outlook workarounds.
- The link uses borders to padd the linked area for better support in more clients.
- Padding values used in the Outlook code, should almost match the border width values. I've personally found 5px left on all sides, mimics the button height and width in Outlook with all other email clients.
- This method of button coding requires only one update to the URL whereas your old code and the buttons.cm require two URL updates
QUESTION
I'm looking to remove certain style attributes from table tags only. So I might have a messy string like this:
...ANSWER
Answered 2021-May-21 at 18:25Regex is a whole world by itself. There are usually several approaches to reach the same result. Here is one of these approaches:
QUESTION
Intro:
Some of you may have noticed that something has broken in relation to the querySelectorAll
method of MSHTML.HTMLDocument
from MSHTML.Dll
(via a Microsoft HTML Document Library
reference). This, I believe, has happened in the last month. It may not affect all users and I will update this Q&A as I get more info on which versions etc are affected. Please feel free to comment below with your set-up and whether working or not for both late-bound and early-bound (as per code in answer)
Accessing DispStaticNodeList
methods:
Traditionally, at least in my experience, it has been the norm to hold a reference to the DispStaticNodeList
, which is what querySelectorAll
returns, in a generic late-bound Object
type:
E.g.
...ANSWER
Answered 2021-May-19 at 21:26Do not despair VBA web-scrapers (I know there are a few!) We can still have the luxury of css selectors and the benefits, though admittedly somewhat limited in VBA, that they bring.
To the rescue:
MSHTML
, gratias IE, offers a number of scripting object interfaces . One of which is the IHTMLDOMChildrenCollection
interface, which inherits from IDispatch
, and which:
provides methods to access items in the collection.
This includes the .Length
property and access to items via .item(index)
.
QUESTION
I have created an e-mail-signature in HTML and I am using it with the native Apple Mail-app on Mac and iPhone.
I am using Dark Mode, too, but sadly, the background of my emails turns white if I use my signature. I tested it, and it's because of the image I included in the signature.
Is there any way to prevent Apple Mail from showing the white background? I want the background to be dark (just as with plain text-emails). The option "Use dark backgrounds for messages" in the settings of Apple Mail is activated and in my HTML code I do not define a background color…
I'm on macOS Catalina 10.15.7 and have Apple Mail version 13.4.
This is the HTML code for my signature (I posted it without my real contact information here, of course). Everything is working correctly, just the background is white.
ANSWER
Answered 2021-May-10 at 19:27on MacOS Big Sur 11.3.1 Apple Mail Version 14.0 (3654.80.0.2.43)
everything works fine, so maybe it's an old version problem?
QUESTION
We have Xamarin.iOS
application that declares a custom file extension - *.msoisalesbak
as exported type declaration
ANSWER
Answered 2021-May-20 at 01:08Before you "unlock" the file from iCloud, you need to call startAccessingSecurityScopedResource
to makes the resource pointed to by a security-scoped URL available to the app. And then don't forget to call the stopAccessingSecurityScopedResource
.
You can also create a new boolean key LSSupportsOpeningDocumentsInPlace
in the Info.plist file. If set it to true, the url will point to the file in iCloud but it hasn't be downloaded. So you can't access the file. If set it to false, it will makes a copy of the file in the Application Sandbox.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mso
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page