How you can Fast-launch Display Sharing in Mac

by | Apr 24, 2023 | Etcetera | 0 comments

To connect with a nearby computer from your Mac the use of Show Sharing in Finder, you wish to have to do the following in assortment:

  1. Open Finder.
  2. Click on on on “Group”.
  3. Double-click on the inside of achieve computer you want to connect with.
  4. Make a selection “Proportion Show…”.
  5. Enter your username and password.
  6. Press “Enter”.

Doing this time and again may also be inconvenient. In this article, we will share two techniques to simplify the process of connecting to a nearby computer the use of Show Proportion in Finder. The ones methods permit you to connect to just one or two steps.

Manner 1: The usage of a Bash Script

We will be the use of a simple command-line bash script in this way to connect with a nearby computer of your variety the use of VNC (Virtual Group Computing).

Step 1

Unlock Terminal and type the following command and hit Enter. This may increasingly more and more create a brand spanking new file identify ‘screenshare’ with the .sh extension:

nano screenshare.sh
nano screenshare
Step 2

Reproduction and paste the following script into the editor:

#!/bin/bash
open vnc://192.168.1.1

Trade 192.168.1.1 with the IP deal with of the Mac you want to connect with.

See also  5 Techniques to Determine Out What to Promote on Amazon
oaste script
Phrase: You’ll to seek out the IP deal with by the use of going to Machine Preferences > Group and in search of the IP deal with underneath the “Status” section.
Step 3

Hit Regulate + O to save lots of a variety of the file, and then press Regulate + X to move out nano.

Step 4

Next, we will need to make the file executable. Enter the following command and hit Enter.

chmod +x screenshare.sh
make script executable
Step 5

To run it, enter the command underneath and hit Enter.

./screenshare.sh

That’s it. The Show Sharing software must open and connect to the inside achieve Mac with the IP deal with set it the bash script.

Manner 2: The usage of Mac’s Automator

The rest way we discussed calls so that you can employ a bash script, which involves opening the Terminal software and typing a command to run it. For individuals who don’t use Terminal incessantly or to seek out it difficult, don’t worry! We’ve were given another way that achieves the equivalent function and is more uncomplicated to use.

This system uses Mac’s Automator to create an software that connects to a nearby Mac through visual display unit sharing automatically.

Step 1

Open Automator in your Mac, make a selection “Device” since the record kind.

Automator Application
Step 2

Throughout the search bar, kind “Run AppleScript” and drag the “Run AppleScript” movement to the workflow space at the correct.

Run AppleScript
Step 3

Throughout the AppleScript movement, change the default code with the following code:

on run {input, parameters}
    set remote_ip to "192.168.1.1" -- Trade with the IP deal with of the Mac you want to connect with
    tell software "Show Sharing"
        activate
        extend 1
        tell software "Machine Events"
            keystroke "c" the use of {command down, shift down}
            extend 1
            keystroke "v" the use of {command down}
            keystroke return
            extend 5
            keystroke tab
            keystroke tab
            keystroke return
        end tell
    end tell
end run
paste script
Step 4

Trade 192.168.1.1 with the IP deal with of the Mac you want to connect with.

See also  6 Perfect Development WordPress Topics for Developers in 2024
Step 5

Save the workflow and offers it a self-descriptive establish, for instance – ‘Auto Connect Show Sharing‘.

save application
Step 6

You could have completed the necessary steps, then again since this program requires keystrokes to run, you wish to have to grant it permission to execute. 

Listed below are the steps you wish to have to watch to grant authorization:

  1. Open “Machine Preferences” in your Mac and go to “Privacy & Protection”.
  2. Scroll down and click on on on “Accessibility”.
  3. Click on at the plus icon (+) at the bottom, and make a selection the applying we created earlier with Automator.

That’s it! Now, simply double-click the app and it’ll automatically open the Show Sharing software and connect to the computer we have set.

The post How you can Fast-launch Display Sharing in Mac appeared first on Hongkiat.

WordPress Website Development

Supply: https://www.hongkiat.com/blog/quick-launch-mac-screen-sharing/

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

Contents

See also  Push Notifications vs E mail: Which Is Higher? (Professionals and Cons)

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!