Possible to use Applescript or Automator to authenticate iPhone 5s with my Macbook Pro without entering lockcode on iPhone? Is it possible to utilize Automator/Applescript or similiar on my 2012 MacBook Pro Laptop running 10.13.3 (High Sierra) to automatically pair with my iPhone 5s when I plug it in to my computer. Thereby removing the request to tap in my lockcode on the phone sceen to have my computer recognise my phone?  

My phone is currently in 'iPhone is disabled' mode. I do know my passcode, the iPhone jumped straight to iPhone disabled mode after 'hanging' during my last OS update. 

I am holding off doing a restore (via iTunes) as I am a believer that there is always a workaround. I just need to find the person who knows the workaround. 

I would like to retrieve my recent iphone data (5 months since last back up) before I do a total factory reset (via iTunes) to regain access to my phone.

Any help very much appreciated.
No this is not possible. iOS 11 requires a pincode or password before allowing a computer access to your iPhone.


  With iOS 11, you are required to enter your device passcode before a
  connection with a computer is made, even when the phone is unlocked.
  This is a very nice improvement over the previous "Trust" pop-up.
  
  Now, even if the phone is unlocked with Touch-ID or the new Face-ID,
  connecting to an unknown computer will still require your 4 or 6 digit
  pin code, or the alphanumeric password if you have one set up.


Source