I have created a project in Ignition Perspective I want check the status of all projects which are on the gateway whether they are open in Ignition Designer or closed and show the status of opened projects in my Perspective View, how can I do this through scripting or any other way.
I think what you are looking for is information about the running (browser/mobile/designer) sessions. Through scripting, you can get that information with this: system.perspective.getSessionInfo.
does this will give me the status of other projects which are opened
Yes it will. It will give you information about all the sessions on the gateway. However, you can filter by project name, and so only retrieve information about a single project if you want.