![]() ![]() Not one of the examples shows how to use app.open. So I came across the openapp feature in the docs except it looks like it was an old way and now there was a newer way something like app.open() or somehting but immediately following this section are a bunch of examples but every one of them uses openapp. So easy to do and easy to understand and made sense.Īnother example was trying to learn how to call or run another app from inside the sikuli script. ![]() Then saw a youtube example of a guy who just click and dragging the region to make it then putting a period then the action with the graphic in the parenthesis. I try reading them but they confuse the heck of of me sometimes and then the answer is so simple when I was able to finally find a example of something elsewhere.Īn example would be trying to read through the region section looking for a way to wait, find, click for something in just a small subsection of the screen to lessen the burden on the system and speed up the process. I don't know if you write the documentation or someone else but I find your answers and examples to questions on here are often much clearer and to the point than the docs. Do the alternative editors need to be setup for a specific language or settings so as not to corrupt the sikuli py file? There is talk of Jython but is that actually something or just some sort of method for changing python into Java as it runs? That is kind of what it seems like to me. Since I am a noob I have a question to try and clarify. Would Notepadd ++, Atom, Jedit, or something be easier? If I did use an external editor what settings do I need to make sure to set? I saw in Notepad++ when i tried to use it that you could make a tab 4 spaces instead which I set and guessed that I needed to since that seems to be what sikuli does. I know you use Net Beans or something like that but seems more than I would need. It just will not run and got corrupted some how from using an editor other than the built in IDE.Ī couple quick questions and some feedback/ observations.ĭo you have a recommendation for an editor to use that is a lil bit better than the IDE but not overly complicated. Maybe I will just recreate it since I can see and read the problem one. I have a backup that maybe has 70% of the script. Thanks RaiMan for the offer but it will be a bunch of work to go through and strip out all the user names and passwords for accounts and stuff to do that. just save it in the right format or something? Save it as a new file then replace the existing one and rename it or something? #Compiling python in jedit code#ClassFormatErro r: Invalid method Code length 73108 in class file org/python/ pycode/ _pyx112 ide.SikuliIDE$ ButtonRun$ 1.run(SikuliIDE. JythonScriptRun ner.runScript( JythonScriptRun ner.java: 162)Īt org.sikuli. JythonScriptRun ner.runPython( JythonScriptRun ner.java: 187)Īt org.sikuli. core._ builtin_ _.execfile_ flags(_ _builtin_ _.java: 514)Īt org.python. Legac圜ompiler$ LazyLegacyBundl e.loadCode( Legac圜ompiler. core.BytecodeLo ader.makeCode( BytecodeLoader. ![]() core.BytecodeLo ader.makeClass( BytecodeLoader. loadClassFromBy tes(BytecodeLoa der.java: 119)Īt org.python. defineClass( Unknown Source)Īt org.python. defineClass1( Native Method)Īt java.lang. ClassFormatErro r: Invalid method Code length 73108 in class file org/python/ pycode/ _pyx112Īt java.lang. ![]() Could not evaluate error source nor reason. script ] stopped with error at line -unknown. (I am not sure but I might have copied and pasted between sikuli IDE and Notepad++) Now when I try to run it in Sikuli it does not run and generates all sorts of errors like it doesn't know the language or something.īelow are the errors. I installed notepad ++ to use and seemed fine but I think I interchanged or saved the script incorrectly. It got a little hard to use the built in IDE/editor. I am a complete noob and unfortunately, I have not looked into reusing repeating code yet and my script is very long because of it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |