a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Help getting file from Shortcut

Open GamerKingFaiz opened this issue 2 years ago • 4 comments

Hi! I just got my iPad yesterday, so I'm a bit new to the Shortcuts app as well as a-shell.

My end goal is to convert an audio recording into a video with a solid background. I've been able to automate this in a batch script on Windows, but I'd like to be able to do it directly from my iPad as I'll be using the voice memo device. This is the command I use in the batch script. ffmpeg -i %infile% -f lavfi -i color=c=black:s=640x480:r=15 -acodec copy -shortest %outfile%

At this point I can't even figure out how to pass my audio file on my iPad to Shortcuts and then a-shell. I've tried a few things like passing from share sheet or using the get file, but these don't seem to work or I'm not using them correctly. 😅

Can you please advise? 😁

GamerKingFaiz avatar Sep 25 '21 17:09 GamerKingFaiz

Some of my difficulties might be coming from the crashes detailed in #313.

I'd still like to know the correct way to get a file in an a-shell shortcut.

GamerKingFaiz avatar Sep 27 '21 16:09 GamerKingFaiz

I'm having issues as well. Ive created a shortcut but when i run it the shortcut will error saying that the file is not found.

MintCollie avatar Oct 19 '21 02:10 MintCollie

"Select file" is for picking up a file anywhere on the iPad. "Get file" is for transferring a file from the a-Shell Shortcuts directory to another shortcut action, so it seems normal that the Shortcut you linked does not work.

If the goal is to transfer a file to a-Shell directory, "Put file" is the action you need.

holzschu avatar Oct 19 '21 05:10 holzschu

"Select file" is for picking up a file anywhere on the iPad. "Get file" is for transferring a file from the a-Shell Shortcuts directory to another shortcut action, so it seems normal that the Shortcut you linked does not work.

If the goal is to transfer a file to a-Shell directory, "Put file" is the action you need.

That works! Changing the "Get File" to "Put File" now transfers the file to a-shell. I guess I mixed up what the two did. 😅

MintCollie avatar Oct 19 '21 12:10 MintCollie