I am at my wits end trying to make this work. I’m trying to copy a string(?) value from a letter font window in notepad, then modify this string value to integer, and then add the number(integer?) 5 to the number that is in the letterfont size, and then paste that new updated number back into the letter font size.
Here is the program I’m working with, notepad (the format is in icelandic) and the error I run into while copying, adding, and pasting it again into the same window.
@Happy_Code_Happy_Life
Welcome to UiPath Community
Which language code you are using?
I think it’s vb code
Just put assign activity and give the code like
Fontsize=(Cint(fontsize)+5). ToString
Write it in output panel
Check whether it is giving value or not
Thank you Sangeetha for checking this out with me. I’m a total beginner to uipath so I’m having trouble understanding how to make this work. Is this what you meant by assign activity?
I added the code “Fontsize=(Cint(fontsize)+5). ToString” as a “default” value to the variable FontSize - before I had also tried putting it the output/text window and it gave a compile error.
I don’t know thow to check if something is giving value in uipath. Is there anyway to check with an object explorer perhaps or must I write in a check/display point?
Not in default section.add assign activity from activity panel and put it before type into activity.using write line activity print the fontsize variable in output panel.just give fontsize variable in type into activity