HI All, Im excited to start using Shortcuts and Automation but confused by what  has omitted, AND how to build what I need using the scripting language.
heres what I'd like to build..
1. Every time my phone 'joins a wifi network' Airplane mode is toggled ON
I can do this with automations BUT, it only prompts me with a notification to 'run' the automation. I set it NOT to ask, and it worked for a day. Ive tried restarting the phone, but still not automated.
For the most part the Automation above is fine, but I also want to make the reverse of it...
2. Every time my phone 'loses/un-joins a known wifi network' Airplane mode is toggled OFF
There is NO automation for this that I can think off. Why didnt Apple have this as a build in option to the listed functions?!?
Ive been trying to conceive of a way to build these with scripting modules but no luck. I believe an "IF" statement should work but I just can't seem to understand the 'variables' and logical order of how the language works. im currently searching the internet for similar shortcuts that I can edit into what I need. Please let me know if you have any suggestions. (and yes, im currently reading through/studing the  guide, but I don't find it very illuminating)
Thanks!
	
		
			
		
		
	
				
			heres what I'd like to build..
1. Every time my phone 'joins a wifi network' Airplane mode is toggled ON
I can do this with automations BUT, it only prompts me with a notification to 'run' the automation. I set it NOT to ask, and it worked for a day. Ive tried restarting the phone, but still not automated.
For the most part the Automation above is fine, but I also want to make the reverse of it...
2. Every time my phone 'loses/un-joins a known wifi network' Airplane mode is toggled OFF
There is NO automation for this that I can think off. Why didnt Apple have this as a build in option to the listed functions?!?
Ive been trying to conceive of a way to build these with scripting modules but no luck. I believe an "IF" statement should work but I just can't seem to understand the 'variables' and logical order of how the language works. im currently searching the internet for similar shortcuts that I can edit into what I need. Please let me know if you have any suggestions. (and yes, im currently reading through/studing the  guide, but I don't find it very illuminating)
Thanks!
			
				Last edited: 
				
		
	
										
										
								
								
											
	
		
			
		
		
	
	
	
		
			
		
		
	
										
									
								 
 
		