Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8455253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:14:21+00:00 2026-06-10T12:14:21+00:00

I use Scripting Bridge (Cocoa) to access AppleScript methods and properties of Spotify. For

  • 0

I use Scripting Bridge (Cocoa) to access AppleScript methods and properties of Spotify. For example, I need to access artwork of the current playing track.

On the most of my machines Spotify pushes an ordinary instance of NSImage class, which I can access via something like [[spotifyApp currentTrack] artwork], and everything works as expected.

But on the one of my machines and one friend’s machine—instead of an instance of NSImage class—I get very strange SpotifyImageData by calling still the same [[spotifyApp currentTrack] artwork]. This class has no methods (I tried to search for those methods via Objective-C runtime mechanisms) and no properties. I cannot use it as NSImage, because it is not an image, in fact. What is it? How should I handle it? This strange bug appeared only in the latest releases of Spotify and had not been spotted in previous releases.

All my machines have got the same version of OS X and the same latest version of Spotify installed. Also, no third-party system-wide utilities are being used on my Macs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:14:22+00:00Added an answer on June 10, 2026 at 12:14 pm

    As per the scripting definitions file, it’s an “image data: Image data in TIFF format”. I’ve never really used Cocoa Scripting, but try casting it as an NSData.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use the scripting-bridge to tell Safari to save the current
I'm wondering if it is possible to use Scripting Bridge (as discussed here )
Can you use KVO with Scripting Bridge? I want to know if I can
I'm trying to use Scripting Bridge in my Mac OS app and am having
I have an the need to use a scripting language, but I have a
I want to use a scripting language(Javascript, PHP) to achieve the following task. 1)I
By outside, I want solutions that does not use Vim's scripting hacks but try
24x7 from SoftTree Technologies can use both JAL and VBScript for scripting. Does anyone
i have a rhel 4 server and use php as a server side scripting
I'm trying to understand why one would use Spring Batch over a scripting language

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.