Panda to Bear
SCRIPTING
If
Shortcut Input
is
panda
DOCUMENTS
Extract
Shortcut Input

Files
SCRIPTING
Otherwise
SCRIPTING
If
Shortcut Input
is
textbundle
DOCUMENTS
Open
Shortcut Input
in
net.shinyfrog.bear-IOS
SCRIPTING
Otherwise
SCRIPTING
Show alert
Wrong file type!
SCRIPTING
End If

If Result
SCRIPTING
Exit shortcut with
Result
SCRIPTING
End If

If Result
SCRIPTING
Count
Items
in
Files

Count
SCRIPTING
If
Count
is greater than
1
DOCUMENTS
Create Folder
Path
/Shortcuts/From Panda.textbundle
DOCUMENTS
Save
Files
Destination Path
/Shortcuts/From Panda.textbundleOverwrite If File Exists

Saved File
SCRIPTING
Otherwise
DOCUMENTS
Open
Files
in
net.shinyfrog.bear-IOS
SCRIPTING
End If

If Result
Showcuts