Posts

Post not yet marked as solved
2 Replies
1.8k Views
I have an applescript that works perfectly on my local machine. It opens the file and writes to it and then closes. My Applescript is being tested and saved as a .app so it is an application. When I put the application on my server to test out the user experience it never propely opens the file and gives me this error:"File not open with write permission.Finder got an error: File not open with write permission. (-61)"Why would this work on my local machine and not work after being downloaded from my server? I have tested that my path's are correct and like I mentioned everything works perfectly on my local MAC machine. Here is the section of my Applescript code that seems to be throwing the error:set motionFullPath to ("" & pathEffects & "" & effectPlugin & ":" & theFolders & ":" & motionFiles & "") as string set myFile to open for access file motionFullPath with write permission set endOfFile to (get eof myFile) as number if result > 0 then set theText to read myFile set eof myFile to endOfFile write "<!--uuid:" & theURL & "-->" & return & theText to myFile end if close access myFile
Posted
by Eseyee.
Last updated
.
Post not yet marked as solved
2 Replies
943 Views
I want to take a Scene kit view which is normally displayed in a .xib file like so:SCNView *sceneView = (SCNView *)self.view;This sceneview is then generally called by the awakeFromNib method from what I have seen.But instead of the view being created in the view i want to display it in the canvas of Motion 5 which grabbed via the FxPlug SDK via the renderOutput method in the FxPlug API as seen in the method signature. In the signature there is an outputImage where you cna grab the width and the height which represent the canvas in which to use for Motion. - (BOOL)renderOutput:(FxImage *)outputImage withInfo:(FxRenderInfo)renderInfoI want to be able to use the Scenekit SDK and functionaility that it provides but display what I create inside of Motion 5 via the FxPlug Framework. Is there a way to accomplish this? Is it possible to take a Scenekit and convert it into an FxImage so they are usable textures? I know this is a long shot but any help or guidance would be greatly appreciated.
Posted
by Eseyee.
Last updated
.