@cvp it opens the app and runs the Script
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by some user
-
RE: can u help me Out?
@cvp okay one more question. How do I add this to my homescreen now? If I want to do that, I'll be redirected to Safari. Then it says I should add this to my homescreen. But that looks like that
https://twitter.com/Someuse79137145/status/1102583731959808000?s=09 -
RE: can u help me Out?
@cvp Omg, I'm so stupid. Thank you for your help. I would never have done it without you. Maybe I will contact you again if I do not get something in the script. Thank you.
-
RE: can u help me Out?
@cvp Thank you, but there is still a problem. If "Ausgaben" is a number with a comma (for example, 3.33), it will not be considered. I tried to get it myself but it just does not work for me. If you can do that, you must explain that to me.
-
RE: can u help me Out?
@cvp It would be nice if you could do it too. It's very nice of ccc but I can understand your code better. But if they do not feel like they do not have to do it. I would be very grateful.
-
RE: can u help me Out?
@cvp anderen make Sure u got the place :). Thank you https://twitter.com/Someuse79137145/status/1102328791274278913?s=09
-
RE: can u help me Out?
@cvp Okay, I have to apologize profoundly to you. Do you know what the problem was? I have not taken a blank script but a script with a UI. I designed my ui and that's why the code did not work. I'm sorry I wasted your time on such stupid problems. Could you please do one more thing for me? And add one more field, in which you can also enter a number. This number is then subtracted from the calculated result. That's the cost of the food needed for the products. https://twitter.com/Someuse79137145/status/1102328019795042304?s=09
-
RE: can u help me Out?
@JonB Hey, thanks for your help. To clarify, I came here because I did not know what to do. I am quite a beginner. @cvp wrote me a script that you can see above as the first answer.
-
RE: can u help me Out?
@cvp I can not share this somehow. If I want to save it as a gist error code. I have it now as a file.
-
RE: can u help me Out?
@cvp sorry for the poor quality, but i had to go fast. So that's my script.pyui. It has a size of 600 x 600. My background is a custom view. I've always used labels in the red circles. In the blue circle I have used text fields so that there can be entered the number of products sold. In the yellow circle is the button that you click after entering the numbers. He calculates it and the result appears in the green circle, which is also a label.
Because it's wrong with me, I thought, I made it wrong. For example, to replace a text field with a label. That's why I asked you. I just copied out the code and used it. If I press Play then this picture appears exactly what you see in my Twitter link. I can enter numbers in the text field, but if I press the button nothing happens.
https://twitter.com/Someuse79137145/status/1102197985314779136?s=09 -
RE: can u help me Out?
@cvp So there is no error message with me. It turns up without any message. I enter the numbers and press the Ok button. But nothing happened. So I assumed that I have mis-designed my UI. Could you show me how you designed yours?
-
RE: can u help me Out?
@cvp Of course, I tried your script, but it did not work. So I thought I've made my ui wrong. That's why the question with the tools. I work with Pythonista on my iPad, but this is what I'm doing right now on my phone. I only work with my iPad and have no social media on it. Take your time. I think it's very friendly and not a matter of course that you help me and I'm really grateful.
-
RE: can u help me Out?
@cvp The specified products are entered with a number. And then come out together bottom left. for example
Tomate 4 (2 €)
Käse 4 (1.50 €)
Salami 0 (1.50 €)
Butter 0 (1.20 €)
Frischkäse 3 (1.50 €)Is there product in a label? Or which tool would be used in the case?
After the product comes the number you should enter. Is that then a text field in the case? You have to enter a number. And behind is the price. Which tool do you use for this? Then press the "Ok" button, which is on the bottom right. The ok button calculates the whole thing and the result then appears on the lower left, in a field. In my example, the result would be, so the total price would be 18.50 €. That number would pop up, anyway. So that was just one example, the whole in the sketch I sent as a Twitter link. Thanks for your helpfulness :) I'm sorry, but I'm not checking it yet. -
RE: can u help me Out?
@cvp it does not work for me? which tools did you use?
I have a label for the name of the products and the price. At the input field of the number and at the result a textfield. -
RE: can u help me Out?
@cvp Hey, thank you! You helped me a lot and I notice that I would not have made it without help. Maybe it is very easy for you :) but I do not really look like that yet. could you possibly explain the steps to me? But really thank you for taking the time! :)