Search found 7 matches

by micpen
June 17th, 2012, 8:00 am
Forum: Script requests
Topic: ShapeLayer path rotoBezier
Replies: 3
Views: 10909

Re: ShapeLayer path rotoBezier

Hi dfred,

Thank you for taking the time to answer. But the goal isn't to create a mask with the property of rotoBezier but to get the real value of the rotoBezier checkbox for a shape layer path.

But thank you for your suggestions which are very interesting.

Cheers,

Michel
by micpen
June 8th, 2012, 3:42 am
Forum: Script requests
Topic: ShapeLayer path rotoBezier
Replies: 3
Views: 10909

ShapeLayer path rotoBezier

Hi everyone,

Does anyone know how to get the rotoBezier value (true or false) of a shape layer path ?

For a mask it's simply maskpath.rotoBezier, but this does not work with a shape layer.

Cheers,

Michel
by micpen
May 22nd, 2012, 12:39 pm
Forum: Script requests
Topic: Randomize Masks Colors?
Replies: 7
Views: 16942

Re: Randomize Masks Colors?

Hi, var curItem = app.project.activeItem; // current composition var curLayer = curItem.selectedLayers[0]; // current layer var num = curLayer.Masks.numProperties; // number of mask on the current layer var colorR = Math.round( Math.random()*254); var colorV = Math.round( Math.random()*254); var col...
by micpen
May 21st, 2012, 3:53 pm
Forum: Scripts Discussion
Topic: FlashPanel
Replies: 1
Views: 7013

Re: FlashPanel

ScriptUI and SWFs files Get communication between JS and AS3 « loicaigon_blog :

http://www.loicaigon.com/blog/?p=958

:mrgreen:
by micpen
May 20th, 2012, 2:49 pm
Forum: General Scripts Library
Topic: New Socket Object
Replies: 0
Views: 16266

New Socket Object

Hi, Here are some code to download a (source code ) web page with the socket object and save it on your desktop and open it. hoping that it may be useful to someone. //--- var reply = ""; var conn = new Socket; // access Adobe’s home page if (conn.open ("www.adobe.com:80")) { /...
by micpen
May 16th, 2012, 8:36 am
Forum: Scripts Discussion
Topic: FileGetDialog syntax ?
Replies: 1
Views: 6366

Re: FileGetDialog syntax ?

Hi, with File.openDialog : var targetFile = File.openDialog("Import File"); if (targetFile) { var dot = targetFile.toString().lastIndexOf("."); var extension = targetFile.toString().substr(dot,targetFile.length); if(extension.match(new RegExp ("(png|jpg|swf)", "i&q...
by micpen
May 16th, 2012, 6:27 am
Forum: Scripts Discussion
Topic: Extract strings from online XML
Replies: 2
Views: 9374

Re: Extract strings from online XML

Hi Julien, in fact you are in the wrong namespace. for -> <rss version="2.0" xmlns:meteo="http://www.meteorologic.net/rss/1.0"> and -> <meteo:weather date="18 Mai" link="http://www.meteorologic.net/meteo-france/Paris_29591.html" tempe_matin="11.9" na...