Just installed El Capitan...


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Just installed El Capitan...
# 1  
Old 12-27-2015
Just installed El Capitan...

Just updated from Yosemite to El Capitan on my iMac...

What an improvement!

The front end is really slick now on this tool...

Still using OSX 10.7.5 on my laptop and the Applescript code inside AudioScope.sh is now broken under El Capitan but the rest of AudioScope.sh works on it... <shock>

If I can't solve this then I may abandon the Applescript code inside AudioScope.sh altogether.

Alternatively I might ask for you guys and gals help try and make it work under El Capitan...

Not decided yet...

Happy new year all...
# 2  
Old 12-27-2015
Did you update to XCode 7 already?
# 3  
Old 12-27-2015
Hi Neo...

No, I have kept the iMAC as virgin as pssible and am using it as a test bed for the project.

However the full Xcode package is on this MBP but only to OSX 10.7.5...

The AudioScope works mighy fine on El Capitan except it now stalls awaiting user input on using QuickTime Player for capturing a signal.

Using DEMO or SOX it works mighty fine...

This is the applescript code for OSX 10.7.5 and works perfectly for the MBP but I don't know what to do to make it work on the iMAC and OSX 10.11.2...
Code:
# #########################################################
# This is purely for a(n) MBP 13 inch, OSX 10.7.x.
QuickTime_Player()
{
# Using Quicktime as the sampling source.
# This takes about 4 seconds per sample total...
osascript << AppleSampler
	tell application "QuickTime Player"
		set sample to (new audio recording)
		set visible of front window to false
		tell sample
			delay 1.5
			start
			delay 1.5
			stop
		end tell
		quit
	end tell
AppleSampler
# Hold until Quicktime fully closes down...
wait
}

# 4  
Old 12-27-2015
Hmm... I was checking out AppleScript Release Notes which you might find helpful to track down any changes that might have impacted your code.

I noticed that OSA support was stopped in release 10.10 (Yosemite):

Quote:
“AppleScript Editor” is once again named Script Editor, now that AppleScript is no longer the only OSA language included in OS X. See the JavaScript for Automation release notes for details.
I assume your script worked in 10.10 (Yosemite) but is broken in 10.11 (El Capitan)?

Quote:
10.11 (El Capitan) Changes

This article describes changes to AppleScript and related tools in OS X v10.11.

Folder Actions

Folder Actions now reliably notices all added and removed items in an observed folder.

Script Library Locations

AppleScript now has two additional search mechanisms when searching for script libraries:

Script libraries may now be located in any installed application bundle, in the Contents/Library/Script Libraries directory of the bundle. This allows distributing libraries that are associated with an application, or creating applications that exist solely to distribute libraries.

The environment variable OSA_LIBRARY_PATH may be used to add more locations to search for script libraries. This allows using a library without installing it in one of the usual locations. The variable’s value is a colon-separated list of absolute POSIX paths, such as OSA_LIBRARY_PATH='/opt/local/Script Libraries:/usr/local/Script Libraries'.

For complete details, see Creating a Library in the AppleScript Language Guide.

AppleScriptObjC

AppleScriptObjC now bridges several more types. As usual with AppleScriptObjC, conversion is automatic when passing an AppleScript object to an Objective-C method; converting an Objective-C object to an AppleScript value requires explicit coercion using as.

Most struct types are bridged to records and vice versa. Lists are also bridged to structs if the elements are in the correct order. Previously, only NSRange, NSSize, NSPoint, and NSRect were bridged. struct types with bitfield members are still not supported. [20297172]

File objects (file, alias, and POSIX file) are now bridged to NSURL; NSURL objects with a scheme of file are bridged to alias. [20891802]

date objects are now bridged to NSDate and vice versa. NOTE: Converting between date and NSDate is inherently imprecise: date has a resolution of exactly one second over its entire range, and is relative to the current time zone; NSDate has a variable resolution (for practical purposes, one to ten microseconds), and is a specific point in time. [20891805]

Bug Fixes

AppleScript now reliably recognizes constant and enumeration values from Objective-C frameworks. [18778520]

Coercing NSNumber objects to real no longer truncates double-precision numbers to single-precision. (someNSNumber's doubleValue has always worked correctly.) [18819219]

Coercing NSString objects to string now functions the same as coercing to text or Unicode text, preserving all characters. [18098890]

Other Bug Fixes

delay now functions correctly in applets, waiting for the full specified time. [18963858]

Developer Notes

OSACopyScriptingDefinitionFromURL now works correctly if given a file: URL. [14298245]

In an sdef, access-group elements on a suite are now correctly inherited by all the sub-elements, including class-extension elements. [19966017]
This User Gave Thanks to Neo For This Post:
# 5  
Old 12-28-2015
Hi Neo...

IIRC it did fail in Yosemite but I had totally forgotten all about it.

I have never had OSX 10.8.x to 10.9.x so would not know if it failed inside those versions.

Thanks for all the info however and I will check it all out over the next few hours...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. Red Hat

Trouble with installed / not installed rpm unixODBC/libodbc.so.1

Hey there, i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies

3. Solaris

To get access to installed SE 11

Hello.I am new member on this forum and I glad to salute you, members. I am beginner in Solaris OS. I am installed Solaris 11 on my computer from Live CD. When I try to enter in Solaris OS (which I installed) the system offers to enter login and password. I enter login and password of... (3 Replies)
Discussion started by: User_V
3 Replies

4. AIX

OS Patches installed but they seem as not installed

Hello everyone: I've installed an OS patch into AIX 6.1 by running the following command: instfix -d /tmp/6100-02-03 -k "IZ41855" however it seem not installed instfix -i -k "IZ41855" There was no data for IZ41855 in the fix database. what am I doing wrong? (8 Replies)
Discussion started by: edgarvm
8 Replies

5. UNIX for Advanced & Expert Users

Firewall installed

Hi Friends, I have installed Web App Server(WAS) on Linux box, but unable to launch webinterface from IE. I have a doubt that there is a firewall installed on the Linux box. How can I verify that there is no firewall installed on the machine where WAS is installed (Linux machine). ... (1 Reply)
Discussion started by: NARESH1302
1 Replies

6. Solaris

apache installed or not

How to check out apache is installed in unix box ? i don't have execute for httpd -v command and also i don't have 'apache' directory under /usr/local but i could able to see many httpd processes running on the server. (2 Replies)
Discussion started by: Masanamuthu
2 Replies

7. UNIX for Advanced & Expert Users

where is grub installed

Hi all, i am reading about USB bootable and it points me to grub in tutorial is issued command: grub grub> find /boot/grub/stage1 but it gives me: Error 15: File not found i do not have any problems with grub, i can choose between M$ and Linux while boot so when i issue: sudo fdisk... (6 Replies)
Discussion started by: wakatana
6 Replies

8. Programming

No dbx installed

I have a problem whith dbx: there is no dbx installed!!! Could someone tell me where do i get dbx program and how to install it? Thanks. (1 Reply)
Discussion started by: calloc
1 Replies

9. Shell Programming and Scripting

Two Oracle's installed

In my directory /u01/app/oracle/product I have two Oracle products installed. $ ls 8.1.7 817_http The application installed on the server is using PL/SQL procs to display webpages(not sure how) Now I have to create a similar server for development. Our sysadmin has built up a host... (1 Reply)
Discussion started by: rahulrathod
1 Replies

10. UNIX for Dummies Questions & Answers

Installed software

I am a complete novice/dumbo with Unix. How can I ascertain what software is installed on a unix system? Any help is much appreciated. (3 Replies)
Discussion started by: wakeley
3 Replies
Login or Register to Ask a Question