Previous Index Next

BridgePlus.framework, SMSForder Class Methods

Category

AppleScript to Cocoa conversion methods

Method

CocoaifyFrom:

Summary

Converts any contained AS dates to NSDates and any aliases, files or bookmarks to NSURLs.

Typical use: set theArray to current application's SMSForder's Cocoaify:listOfDates

Bridge does the conversion under 10.11 and later.

Used by script library’s Cocoaify command.

Signature

+ (id)CocoaifyFrom:(id)anASItem

Parameters

anASItem = an AppleScript item

Result

A Cocoa object

Availability

Version 1.0.0

Notes

If possible, use BridgePlus script library’s Cocoaify command instead.

Sample

use scripting additions

use framework "Foundation"

use script "BridgePlus"

load framework


set theResult to current application's SMSForder's CocoaifyFrom:"Some string"


Click here to open script in a script editor