PSD layer ID in moho 13.5.2

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
davoodice2
Posts: 381
Joined: Tue Jun 15, 2021 1:14 pm

PSD layer ID in moho 13.5.2

Post by davoodice2 »

hi.
one of my scripts that I used this method give me error after update. any body know about new api?

Image

another my script for replacing missed files don't work for same reason
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
Stan
Posts: 199
Joined: Sun Apr 19, 2009 3:22 pm

Re: PSD layer ID in moho 13.5.2

Post by Stan »

I'm going to update mohoscripting.com soon for all new changes, but to answer your question for now I can say that the following methods were removed in 13.5.2:

Code: Select all

class ImageLayer:

	SetUniquePSDLayerID(layerPSDID)
	UniquePSDLayerID()
	SetPSDLayerOrderID(layerOrderID)
	PSDLayerOrderID()
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
davoodice2
Posts: 381
Joined: Tue Jun 15, 2021 1:14 pm

Re: PSD layer ID in moho 13.5.2

Post by davoodice2 »

Stan wrote: Wed Nov 10, 2021 2:47 pm I'm going to update mohoscripting.com soon for all new changes, but to answer your question for now I can say that the following methods were removed in 13.5.2:
thank you stan. 😍
خیام اگر ز باده مستی خوش باش
با ماهرخی اگر نشستی خوش باش
چون عاقبت کار جهان نیستی است
انگار که نیستی چو هستی خوش باش
Post Reply