Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by nikay · Oct 17, 2013 at 06:40 AM · startscreenshotdesktop

Make a screenshot on applications start?

Hello guys, I now this question might sound a little bit weird, but I just had the idea to use a screenshot of the users desktop in an unity application. Preferably the screenshot must be taken right at the start of the application.

I tried to minimize the application, take the screenshot and then load it afterwards in the game, but it is just not what I am looking for. It would be so cool if the user doesn't actualy notices that a screenshot has been taken.

I hope you understand what I want to do and someone has an idea of implementing this functionality. Thank you :)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by fafase · Oct 17, 2013 at 07:09 AM

You could try using this:

http://docs.unity3d.com/Documentation/ScriptReference/Application.CaptureScreenshot.html

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image nikay · Oct 17, 2013 at 07:15 AM 0
Share

Well, I know this function, but it only makes screenshots within the application, right? I want to capture the users desktop with his background-image, desktop icons etc. Let me get this straight: I don't want to "leave" the application to make the screenshot. Best would be if the application/game is the active window and as a background-task, the screenshot is taken..

avatar image fafase · Oct 17, 2013 at 07:18 AM 0
Share

Ok I see, how about this: http://stackoverflow.com/questions/5049122/capture-the-screen-shot-using-net or this:

http://stackoverflow.com/questions/362986/capture-the-screen-into-a-bitmap

avatar image nikay · Oct 17, 2013 at 07:25 AM 0
Share

Thanks! That is what I was looking for :)

avatar image daho · Apr 22, 2014 at 06:55 PM 0
Share

Hello =) Sorry for pushing this thread again but I have a similar question.

I'm trying to do this in a similiar way but I want to capture the screen of a unity application and want to view it in another. But I think the way to capture this is the same as above.

I had two Unity applications: .) Client .) Server.

I start the server and after this the client. Now the client should make a screenshot from server and print it on an GameObject (for example an Cube).

But how is this possible without using the System.Drawing in C#? Please help =)

avatar image fafase · Apr 23, 2014 at 04:20 AM 0
Share

Take the screenshot, save it on the computer, access the picture using www class. You simply need to send a request using file/// on the front to indicate you are accessing the local machine. Then you can use:

https://docs.unity3d.com/Documentation/ScriptReference/WWW.LoadImageIntoTexture.html

to make it a texture and use just like usual.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

A node in a childnode? 1 Answer

Quick question about updating an asset on the Asset Store? 1 Answer

Initialising List array for use in a custom Editor 1 Answer

How to start in Unity? 1 Answer

Help with city building game? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges