# Sidecar with easy setup

**URL:** <https://community.folivora.ai/t/sidecar-with-easy-setup/12421>\
**Category:** Setup/Preset Sharing\
**Created:** [December 10, 2019, 3:18pm UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421 "2019-12-10T15:18:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [December 10, 2019, 3:18pm UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/1 "2019-12-10T15:18:41Z")

</div>

Hello together! So, based on @mikelxc great [Sidecar Toggle](https://community.folivora.ai/t/catalina-sidecar-toggle/) I made one with an easy setup.  
Hold it to enter the name of your iPad and you're free to go, nothing needs to be changed in the code itself.  
No design changes.

 ![Inactive](https://community.folivora.ai/uploads/default/original/2X/6/679c486509d0946f9bc5f5d8cecb0faa4211a6b3.png)  
 ![Activated](https://community.folivora.ai/uploads/default/original/2X/c/c509bd79dcdecf68da880bbc6e3d242134cc6619.png)  
Holding the button brings up the Setup window.  
 ![Setup](https://community.folivora.ai/uploads/default/original/2X/b/b8f4323d55425fb00ca9009e08966a648d36b710.png)

## [⬇ Download the Widget](https://share.folivora.ai/sharedPreset/c1ba0cb6-9d63-4051-91f5-fcd01ff58759) [⬇ Download the Setup Trigger](https://share.folivora.ai/sharedPreset/0fd5389c-5780-46a8-91e2-fe6b65c49608)

---

<div class="post-metadata">

**Author:** ![mikelxc](https://community.folivora.ai/letter_avatar_proxy/v4/letter/m/a87d85/32.png) [@mikelxc](https://community.folivora.ai/u/mikelxc)\
**Post date:** [December 10, 2019, 4:37pm UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/2 "2019-12-10T16:37:17Z")

</div>

Sweet!

---

<div class="post-metadata">

**Author:** ![yuuiko](https://community.folivora.ai/user_avatar/community.folivora.ai/yuuiko/32/31891_2.png) [@yuuiko](https://community.folivora.ai/u/yuuiko)\
**Post date:** [March 29, 2020, 9:01am UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/3 "2020-03-29T09:01:59Z")

</div>

@Caliguvara @mikelxc

Whoa how did this slip past me...

I've been looking to include exactly this for the users of my AquaTouch Preset, would you mind if I intergrated this into it?

Credits in the code, changelog, and thankyou on the preset page!

It'll be a big help especially since I don't have an iPad i can test this with to code it myself

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [March 29, 2020, 9:08am UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/4 "2020-03-29T09:08:25Z")

</div>

Sure!  
I made some design changes since this version, tell me what you prefer 🤷🏽‍♂️

 ![Touch Bar Shot 2020-03-29 at 12.07.25](https://community.folivora.ai/uploads/default/original/2X/3/3d7da4f603680c001cfbfd9adf3303dbf54e7401.png)  
 ![Touch Bar Shot 2020-03-29 at 12.07.16](https://community.folivora.ai/uploads/default/original/2X/b/b16b3a90de7d40ca36763ec4c5b184538fda5fd8.png)

---

<div class="post-metadata">

**Author:** ![mikelxc](https://community.folivora.ai/letter_avatar_proxy/v4/letter/m/a87d85/32.png) [@mikelxc](https://community.folivora.ai/u/mikelxc)\
**Post date:** [March 29, 2020, 10:24am UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/5 "2020-03-29T10:24:38Z")

</div>

Naturally! I’m a huge fan of your aquatouch

---

<div class="post-metadata">

**Author:** ![Ryan\_Mak](https://community.folivora.ai/user_avatar/community.folivora.ai/ryan_mak/32/28456_2.png) [@Ryan\_Mak](https://community.folivora.ai/u/Ryan_Mak)\
**Post date:** [June 13, 2020, 11:47am UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/6 "2020-06-13T11:47:23Z")

</div>

@Caliguvara  
It seems like the preset isn't working (returns "cannot find any iPads to connect to" error message). This is despite me connecting to the iPad using Sidecar numerous times. Any ideas why? Thanks

---

<div class="post-metadata">

**Author:** ![Caliguvara](https://community.folivora.ai/user_avatar/community.folivora.ai/caliguvara/32/42570_2.png) [@Caliguvara](https://community.folivora.ai/u/Caliguvara)\
**Post date:** [June 13, 2020, 3:41pm UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/7 "2020-06-13T15:41:58Z")

</div>

Maybe hold the widget to reset it?  
Also, is the Screen Icon available und the Menu Bar?  
And does the iPad appear in it?

---

<div class="post-metadata">

**Author:** ![scribblersix](https://community.folivora.ai/user_avatar/community.folivora.ai/scribblersix/32/17429_2.png) [@scribblersix](https://community.folivora.ai/u/scribblersix)\
**Post date:** [December 16, 2021, 7:44am UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/8 "2021-12-16T07:44:28Z")

</div>

Spent several hours fighting with Monterey to get access to "Control Center" window contents.  
Which (for me at least) is returned as {}... the first time I try to access it.  
After that weird quirk, it behaves as it should. Or so it seems.  
I'm sure the next macOS patch release will obliterate the utility of this script.  
Enjoy while you can~

```auto
-- BTT Sidecar Widget Setup 
-- AppleScript gymnastics for macOS Moneterey 12.01

tell application "BetterTouchTool"
	try
		set LclOldiPadName to get_string_variable "iPadWg_DevceName"
	on error
		set LclOldiPadName to "iPad"
	end try
end tell

tell application "System Events"
	tell its application process "ControlCenter"
		try
			-- changes names: "Display", "Display, Sidecar On"
			click (the first menu bar item of menu bar 1 whose title contains "Display")
			tell its window "Control Center"
				 -- initial READ is somehow required to actually access contents
				set empty_obj to entire contents
				click checkbox LclOldiPadName of scroll area 1
			end tell
			click (the first menu bar item of menu bar 1 whose title contains "Display")
		on error
			display dialog "Cannot find any iPads available right now"
		end try
	end tell
end tell

```

---

<div class="post-metadata">

**Author:** ![Dirk](https://community.folivora.ai/letter_avatar_proxy/v4/letter/d/87869e/32.png) [@Dirk](https://community.folivora.ai/u/Dirk)\
**Post date:** [December 16, 2021, 12:30pm UTC](https://community.folivora.ai/t/sidecar-with-easy-setup/12421/9 "2021-12-16T12:30:43Z")

</div>

> [@scribblersix](#):
>
> Which (for me at least) is returned as {}... the first time you I to access it.

This is correct and applies to all windows of the Control Center.  
See here: [Catalina Sidecar toggle - #26 by Dirk](https://community.folivora.ai/t/catalina-sidecar-toggle/12256/26)
