What is this, help me please!

what's this?
error extensions/mit?

1 Like
  • Move jpg
  • An extensions
  • Another

0 voters

1 Like

Referring to a .Text value when a component is required looks wrong.
See markup.

3 Likes

but is the move jpg code is right or not?

1 Like

hello please......

1 Like

Move jpg code might not be correct or you may have a timing issue.

badDirectory

It is not possible to debug issues like this from a code snippet, especially when the developer uses so many extensions and the problem could be a timing issue. You as the developer can use the App Inventor debugging tools or an File app to determine whether /Pictures/Label2.text.png is ever created. Make sure you have a value in Label2.Text. :cry:

3 Likes

this the new code

1 Like

The output of File1.MoveFile is a boolean (true/false), you cannot set an image to a boolean.

3 Likes

As @TIMAI2 has mentioned, File1.MoveFile returns a boolean value. Instead, use the evaluate and ignore result block. You'll also need to get rid of the variables, since you can't set the file path while moving the file as well; that will have to be done separately...

3 Likes

what about using a label to find out, what exactly is returned as image from the AfterScreenshot event?
is it a complete path to the ASD and the taken image? is it only the filename? depending on that you should set the fromFileName accordingly...
also for copying something to the shared storage the directory is missing... for example /Pictures or /Download

generally use Do it to debug your blocks, see also tip 4 here https://puravidaapps.com/learn.php
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

4 Likes

THIS TOPIC WAS CLOSED
Thanks for all person was helped me

Please provide a screenshot of the working solution
Thank you
Taifun

1 Like

Cuplikan layar 2021-12-06 091247

using share

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.