Introduction
- Visual Attributed String Model
- Visual Attributed String
- Visual Attributed String Diagram
- Visual Attributed String Theory
Visual Attributed String version 1.6 update has been pushed to the Mac App Store. The 'Font Loading' window shown on application launch has been removed. You no longer have to wait for fonts to load after launching Visual Attributed String. A set of strings from the text are considered as possible at- tributes and ranked by visualness (Sec 2). Highly ranked attributes are then characterized by feature type and localizability (Sec 3.1).
The LenB function in earlier versions of Visual Basic returns the number of bytes in a string rather than characters. It is used primarily for converting strings in double-byte character set (DBCS) applications. All current Visual Basic strings are in Unicode, and LenB is no. If you are able to use it, there is a much simpler suggestion: NSAttributedString and NSTextAttachment. Attributed strings are strings with formatting attached (bold, italics, alignment, colors, etc), but you can also attach images inside attributed strings, and they just get drawn right along with the text.
Here are various functions which may be used to manipulate the values of block attributes using both Vanilla & Visual LISP. Information about the purpose, arguments and returns of each function is detailed in the code header.
Contents
- Get Attribute Value: Recursive | Iterative
- Set Attribute Value: Recursive | Iterative
- Get Attribute Values: Recursive | Iterative
- Set Attribute Values: Recursive | Iterative
All Functions - Single File Download

Download | AttributeFunctions.lsp |
View HTML Version | AttributeFunctions.html |
Donate |
Get Attribute Value

Set Attribute Value

Get Attribute Values
Set Attribute Values
Get Attribute Value: Recursive Version
Get Attribute Value: Iterative Version
Set Attribute Value: Recursive Version
Set Attribute Value: Iterative Version
Visual Attributed String Model
Get Attribute Values: Recursive Version
Visual Attributed String
Get Attribute Values: Iterative Version
Set Attribute Values: Recursive Version
Visual Attributed String Diagram
Set Attribute Values: Iterative Version
Visual Attributed String lets you create NSAttributedStrings for your iOS and Mac applications by simply writing text and applying effects to words and paragraphs in the document like you would in any word processing application! Visual Attributed String is the most advanced WYSIWYG (what you see is what you get) editor for attributed strings.
Features
Visual Attributed String Theory
- Platform Specific Code: generate code to create NSAttributedStrings for both iOS and OS X.
- Generates both Swift AND Objective-C code!
- Get the code for your entire document by clicking 'Code' in the toolbar!
- Get the code for only selected portions of text by right-clicking and selecting the 'Code for Selection' menu item! This allows you to get code for individual words/paragraphs as you need them on a long document with many different text styles! -Save your text as an image to use for the web! You can also generate images for only selected portions of text by right-clicking and selecting the 'Image for Selection' menu item! Supported image formats include: .png, .bmp, .tiff, and .jpeg!
- Smart Code Generation: Visual Attributed String is smart enough to generate code for non-mutable attributed strings (NSAttributedString) and mutable attributed strings (NSMutableAttributedString) based on your typed text!
- Easily add emoji and special characters to your attributed strings by clicking the 'Special Characters' toolbar item to bring up the characters palette!
- Change the background of the entire document to see how your text looks against different background colors. If you want to get the code for your document’s background color, you can simply right click and select the 'Background Color Code' menu item!
- Add images to your attributed strings! Just drag and drop an image from Finder onto the window to add images to the document! Did you know NSAttributedString is capable of displaying images?
- Custom Font Warning: Visual Attributed String will warn you if your document uses a custom font that is not included in the iOS SDK!
- Visual Attributed String is a document-based application and supports features such as autosaving, duplicating documents, renaming documents, and reverting document versions!
- Powerful yet simple interface for styling text! Visual Attributed String provides an interface for editing many attributes. For more on Visual Attributed String, visit the official Visual Attributed String website.

Comments are closed.