Xcode + ApplescriptOBC + Button + GUI -> Access to Numbers
Xcode + ApplescriptOBC + Button + GUI -> Access to Numbers
- Subject: Xcode + ApplescriptOBC + Button + GUI -> Access to Numbers
- From: email@hidden
- Date: Wed, 08 May 2019 15:07:49 +0200
Hello,
I am trying to understand how can I make an App with a GUI with 1 or more
Buttons to controle values in Numbers (as other apps have inside
(Excel/LibreOffice)).
Maybe I am totally wrong with my thoughts:
I created a Xcode Applescript project and added only 1 button to the view of
the window, connected this button
to the handler textButtonn :
"on textButtonn_(sender)
tell application "Numbers"
activate
set the value of cell "D5" of the first table of active sheet of
document 2 to "ttttt"
end tell
end
„
The first part of activation of Numbers is working but the second part of
setting the value fails
due to the missing rights to send Apple events to Numbers:
"SkripterTest[20541:1885061] *** -[AppDelegate textButtonn:]: Not authorized to
send Apple events to Numbers. (error -1743)“
How can I solve this problem?. My wish is to have some missing features of
Numbers with a permamently open Menue-app (to start scripts, calculations,
drawing a helplines to see the printable area (missing feature since layout
view of Numbers 09 was killed)….. controlled by Notifications….
I have the "Everyday AppleScriptObjC“ but maybe not found the hint inside how
to access to the app Numbers.
As Carbon is dead for decades I don´t have any idea at the moment.
Many thanks in advance
Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden