UPDATE: Transfer Singer function now FULLY automated!

Just talk about kJams stuff with each other, describe things you did that worked, talk about your setup, anything that doesn't fit into the other forums!
Post Reply
DeusExMachina
Posts: 1293
Joined: Sun Apr 20, 2008 9:57 am
Location: Pittsburgh, PA
Contact:

UPDATE: Transfer Singer function now FULLY automated!

Post by DeusExMachina »

I wrote previously about the script I wrote to move singers between venues. Originally this script only automated the process of making the aliases and copying them between venues. Thanks to some terrific work by Dave, writing venue reloading into the code, and exposing it to scripting, I was able to fully automate this procedure!
Please read my original post here:
viewtopic.php?f=1&t=1377

And then proceed to the code wiki.

dave
Site Admin
Posts: 6687
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by dave »

note: this won't work for y'all 'till the new update is released (r37) sometime next week. but yeah, that!

User avatar
way2fst4u
Posts: 164
Joined: Thu May 17, 2012 12:10 pm

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by way2fst4u »

The action "Run AppleScript" Encountered an error
I had this working fine in a previous release...I am using 1.0a1r9
Attachments
kJams Singer Venue.workflow.zip
(62.31 KiB) Downloaded 381 times
Thanks!

Scott

dave
Site Admin
Posts: 6687
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by dave »

is that a question?

User avatar
way2fst4u
Posts: 164
Joined: Thu May 17, 2012 12:10 pm

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by way2fst4u »

I had this working several releases ago, and have not used it in the last few releases. I cannot say for sure which release or even if that is what's caused the error and causing this to no longer work. Have you seen this error? Can you tell by the workflow I have posted that I have done it correctly?

Is that better Dave? ;)

Scott
Thanks!

Scott

DeusExMachina
Posts: 1293
Joined: Sun Apr 20, 2008 9:57 am
Location: Pittsburgh, PA
Contact:

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by DeusExMachina »

Are you sure that the path to your kJams Library is correct?
set kJamsPath to "/Volumes/DJ Drive/kJams/kJams Library/"

Where are you getting the error? Try running inside of Automator and see where exactly the script errors out.

User avatar
way2fst4u
Posts: 164
Joined: Thu May 17, 2012 12:10 pm

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by way2fst4u »

I got "Doesn't understand the do command reference"

docommand kScriptCommand_RESCAN_VENUE
Thanks!

Scott

dave
Site Admin
Posts: 6687
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by dave »

did you define it?
set kScriptCommand_RESCAN_VENUE to 19

User avatar
way2fst4u
Posts: 164
Joined: Thu May 17, 2012 12:10 pm

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by way2fst4u »

I just followed the directions...copied & pasted then changed the path.
Thanks!

Scott

dave
Site Admin
Posts: 6687
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by dave »

well, okay, i'll ask it different: is it defined in what you have now?

User avatar
way2fst4u
Posts: 164
Joined: Thu May 17, 2012 12:10 pm

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by way2fst4u »

Yes it is defined. I found the problem!

You cannot use this script on a new venue with NO singers. Once you put one in manually, it works fine. I guess because when you create a venue, until you add a singer manually, there is no "Singers" folder? In any case, I added one, then tried again, and it works on both machines now. Thank you for your help Dave.
Thanks!

Scott

dave
Site Admin
Posts: 6687
Joined: Sun Sep 18, 2005 8:02 am
Location: Seattle
Contact:

Re: UPDATE: Transfer Singer function now FULLY automated!

Post by dave »

yay!

Post Reply