Hello ! i'm trying find a way how to change object classid param value with Karel . I will be very grateful for help
Karel & Ipendant
- Dimus
- Thread is Unresolved
-
-
It would be helpful for the potential helpers, if you describe your problem a bit more precise.
What classid of which object???
Do you use a vision system?
-
<object classid="clsid:71060678-0E45-11D3-81B6-0000E206D650" id="FRIPMenuChange4" style="height: 26px; width: 98px">
<param name="Caption" value="Menu" />
<param name="FontSize" value="9" />
<param name="width" value="98" />
<param name="height" value="26" />
<param name="TrueFont" value="-1" />
<param name="FastLoad" value="-1" />
<param name="PageCaption01" value="Pallet Param" />
<param name="FontItalic" value="1" />
<param name="PageName01" value="Pallet.stm" />
<param name="PageName02" value="Program.stm" />
<param name="PageCaption02" value="Programs select" />
<param name="PageCaption03" value="Grippers menu" />
<param name="PageName03" value="Gripper.stm" />
</object>
For instance i want to change <param name="PageName01" value="Pallet.stm" /> this parameter use by karel program
-
UP
-
What does UP mean?
Are there any more informations about your system?
Do you really expect that we are playing detective or fortune teller, and try to guess what you are doing on your robot system?
It seems that you have a custom homepage on your robot system and want to change the describing stm file?
Think there is no embedded possibility to change specific parts of a stm file from Karel. But may be you can create a complete file by writing line by line from Karel, or read the file line by line, analyze the lines and write some changed lines.
-
haha you see "up" works ))))ok so it's good idea read and when write to file ! line by line. Thanks!
-
I think it's absolute bad behavior, if you don't give proper informations, and hope that someone has enough time and thirst for researching about what you are achieving. Next time you won't get an answer, at least from me.
-
I think it's absolute bad behavior, if you don't give proper informations, and hope that someone has enough time and thirst for researching about what you are achieving
Agreed and this is sadly on the increase on the forum, I would suggest not to let it get to you too much.
Bumping your thread just because no one has responded in your timescale is very annoying.
It not only shows disrespect to other members whom are willing to dedicate their free time and experience to this community, but it also 'labels' you and will make members steer clear of offering their dedicated free time and experience for any future posts.
Just have a think about that for a minute before creating any further threads or posts where YOU are seeking assistance for free, instead of paying for an expert.
-
- <object classid="clsid:71060678-0E45-11D3-81B6-0000E206D650" id="FRIPMenuChange4" style="height: 26px; width: 98px">
<param name="Caption" value="Menu" />
<param name="FontSize" value="9" />
<param name="width" value="98" />
<param name="height" value="26" />
<param name="TrueFont" value="-1" />
<param name="FastLoad" value="-1" />
<param name="PageCaption01" value="Pallet Param" />
<param name="FontItalic" value="1" />
<param name="PageName01" value="Pallet.stm" />
<param name="PageName02" value="Program.stm" />
<param name="PageCaption02" value="Programs select" />
<param name="PageCaption03" value="Grippers menu" />
<param name="PageName03" value="Gripper.stm" />
</object>
For instance i want to change <param name="PageName01" value="Pallet.stm" /> this parameter use by karel program
First of all, I'm sorry if I offended someone, but I can't understand what is required of me? At the top, I gave an example of the problem and did not hide anything. The question is clearly labeled "How can I change a parameter in an HTML program using the Karel language". I gave an example above! Regarding "UP", I see that many people do this manipulation using other words. Once again, I'm sorry if I hurt the feelings of the forum members.
- <object classid="clsid:71060678-0E45-11D3-81B6-0000E206D650" id="FRIPMenuChange4" style="height: 26px; width: 98px">
-
No problem.
This is an excellent community here where many members are only too happy to share their free time and experience with others, but sometimes when writing posts, you need to consider that others are not seeing what your seeing, or not privvy to all of the information.
So to ensure the best chance of a response, read your post before submitting and put yourself in the readers position - does the post contain all the relevant information for someone to respond without having to 'play detective'.
For example:
'Please help, I press button and robot stops'.
I cannot speak on hermann behalf, but reading your initial post is probably the 'trigger' of this.
-
I don't know too much about your question, but reading what hermann (member is very well respected and very knowledgeable) has stated regarding altering embedded files, suggests to me the file would need to be downloaded first, altered and then reloaded.
I'd be surprised if Karel could achieve this, but I do not know.
Sounds like a post processing requirement to me, but an interesting question for sure....
-
Can work with the classid via JS or call a new page by KAREL identical to the one with the parameters already changed . Thanks, I realized that there is no function in Karel that can change the classid parameters. I will try to solve it by JS and upload here ! if someone interesting with it ?
-
Fabian Munoz
Changed the title of the thread from “Kare l& Ipendant” to “Karel & Ipendant”. -
How are you passing your new values to the karel program? I'm not a karel expert, but I think that I would create a karel program to create your html file line by line. Any time there's a change, delete the old html file, build the new file with the new parameters, write out the new html file line by line, and save.
Create an account or sign in to comment
You need to be a member in order to leave a comment