ASObjC become more AppleScript friendly

Take this simple code, its very close to Vanilla AppleScript but use Objective-C bridge. And sometimes we do not need current application.

ASObjC become more AppleScript friendly :slight_smile:

use framework "Foundation"

tell its NSDeviceSize
	deviceDescription() of item 1 of my NSScreen's screens() as record
end tell

But because this use of my only works in some circumstances, it also makes ASObjC potentially more confusing.

It sure make things very confusing…

ex.1

use framework "Foundation"

tell its NSDeviceSize1
	deviceDescription() of item 1 of my NSScreen's screens() as record
end tell

Here the tell statement do nothing… but it still work

same as this without tell block

use framework "Foundation"

deviceDescription() of item 1 of my NSScreen's screens() as record

In tell block we ask for properties but its looks from this examples it doen’t matter for ASObjC