Posts

Post not yet marked as solved
1 Replies
392 Views
So running this from script editor activates the finder and nothing happens with the keystroke. M1 mini 11.3.1 Accessibility - Script editor enabled Full disk access - Script editor enabled AppleScript tell application "Finder" to activate tell application "System Events" tell process "Finder" keystroke "x" using control down end tell end tell So what to do??
Posted Last updated
.
Post not yet marked as solved
5 Replies
2.2k Views
Could someone convert this to objective cThanks!https://developer.apple.com/documentation/webkit/wkwebview?language=objcCreating a WKWebView programmaticallyimport UIKitimport WebKitclass ViewController: UIViewController, WKUIDelegate { var webView: WKWebView! override func loadView() { let webConfiguration = WKWebViewConfiguration() webView = WKWebView(frame: .zero, configuration: webConfiguration) webView.uiDelegate = self view = webView } override func viewDidLoad() { super.viewDidLoad() let myURL = URL(string:"https://www.apple.com") let myRequest = URLRequest(url: myURL!) webView.load(myRequest) }}
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.3k Views
How do I add a number formatter to a field?I know I can use the text field with number formatter already attached...and I can option drag a copy from another field with it applied.xcode 9.2
Posted Last updated
.