Search found 8 matches

by danceman
March 20th, 2014, 12:24 pm
Forum: Scripts Discussion
Topic: how to make arrayOfValues parameter for setValuesAtTimes?
Replies: 13
Views: 11446

Re: how to make arrayOfValues parameter for setValuesAtTimes

Thanks Paul, you should be proud of your diagnostic skills: with barely a glance you nailed my exact AmateurHour fault in the script, IE: vals array Not passed to readShowMaskKeys and so was empty when passed to getShapePathProperty,.. (Please always feel free to correct\improve etc. the following a...
by danceman
March 19th, 2014, 8:40 pm
Forum: Scripts Discussion
Topic: how to make arrayOfValues parameter for setValuesAtTimes?
Replies: 13
Views: 11446

Re: how to make arrayOfValues parameter for setValuesAtTimes

cool, thx..wondered why maskKeyValue kept coming back "..undefined.", suspected lack of return, but weeks on Extendscript, less learning this tutored code so could'nt tell that readShowMaskKeys needed return when others (removed) did'nt. Also, maskKeyValue was part of past modular test code like kin...
by danceman
March 19th, 2014, 6:04 pm
Forum: Scripts Discussion
Topic: how to make arrayOfValues parameter for setValuesAtTimes?
Replies: 13
Views: 11446

Re: how to make arrayOfValues parameter for setValuesAtTimes

Its all good Paul, appreciate your being here and your time. I'm out the door soon and a Script buddy back after i am. Its mainly that the final shapePath.value = vals[g]; failed to actually Transfer the Mask path Keys to their original Shape path. But a msg. i'll finish shows it may be my arrays va...
by danceman
March 19th, 2014, 4:33 pm
Forum: Scripts Discussion
Topic: how to make arrayOfValues parameter for setValuesAtTimes?
Replies: 13
Views: 11446

Re: how to make arrayOfValues parameter for setValuesAtTimes

Thanks Paul, but to see the code as is without syntax or missing syntax errors i tried to attached it to this reply but this website responded "the extension jsx (and txt) is not allowed. 1) please tell me which format is accepted for upload by this site and i'll upload both the original fully funct...
by danceman
March 19th, 2014, 2:36 pm
Forum: Scripts Discussion
Topic: how to make arrayOfValues parameter for setValuesAtTimes?
Replies: 13
Views: 11446

Re: how to make arrayOfValues parameter for setValuesAtTimes

Thanks much Paul, your correction\solution made an immediate difference in both script and my understanding, Awesome! I hope i'm not asking too much with this next question, and\or if it should be a new topic, please let me know if so: below i've pasted a script that TransfersMaskKeysToShapePaths. I...
by danceman
March 10th, 2014, 1:23 pm
Forum: Scripts Discussion
Topic: how to retain Position&Fills when converting ShapesToMasks?
Replies: 0
Views: 3937

how to retain Position&Fills when converting ShapesToMasks?

Hello AEEnhancers, i have a script using setValuesAtTimes which converts Shape paths to Mask path keyframes (to edit and run scripts requiring keyframes). Vertices on all Mask paths keyframes are positioned as their original Shape paths so that Shape to Mask vertices translation is not required. How...
by danceman
March 4th, 2014, 7:36 pm
Forum: Scripts Discussion
Topic: how to make arrayOfValues parameter for setValuesAtTimes?
Replies: 13
Views: 11446

how to make arrayOfValues parameter for setValuesAtTimes?

Hello AEnhancersComm., i have a few, small scripts that use the setValueAtTime method successfully placing a keyframe on the Layers existing maskPath, but as you could see in the scripts below, using setValueSatTimeS results in errors ie: "Array is not of the correct type", "Value is not an Array" o...