Comments (1)
You were probably cloning tags, right? If so, which tags did you select? I'm guessing the exception happened inside the tell
block inside the on CloneTracks
handler. If you run the script through Script Editor, it will hopefully indicate the line on which the exception occurred. I'm guessing "year", since (a) it's sort of a date, (b) it's cast to an integer in the handler I mentioned, and (c) the «class pYr» mentioned in the error could easily mean "Year".
Assuming that's the field giving you issues, did you assign the Year tag with another script? I've definitely cloned that tag successfully in the past, though I haven't done so in the latest couple iTunes versions, so something could indeed have changed.
When debugging iTunes scripts, I usually make a temporary iTunes library, so I don't risk mangling the one I actually care about. There are instruction on how to do so on an Apple Support page.
from applescripts.
Related Issues (9)
- Change to ASUnit framework for library unit tests
- Library Loader should handle Mac text encoding
- Add descriptions to scripts without any
- Update financial scripts to return a string instead of opening TextEdit directly
- Add method to Library Loader to return a script's result
- Use Keychain for passwords where used
- Add LICENSE.txt
- Convert Script to Text.applescript - Simplified Suggestion HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applescripts.