« first day (19 days earlier)      last day (1363 days later) » 

12:09 AM
@OlegValter Yes. I agree with you. Unfortunately, I cannot still find the solution. 😆
 
@Tanaike it is odd indeed - one thing I noticed is that object Ids of format "g8edc625556_0_0" are grouped together, but that is probably a coincidence
 
@OlegValter For example, at the internal server side, the selected objects are managed by a JSON object which has the object ID or an unique value as the key. By this, the selected order is different while the result is not random.
 
12:27 AM
@Tanaike hm, that's an interesting idea - wouldn't that mean that each time a user selects an object a request fires to the backend? Does not seem to happen judging from dev tools
 
Oh?
@OlegValter Yes. I agree with you. I think that in this case, when getSelection() is execute, the selected object is retrieved from the active slide by the internal server. By this, the selected order cannot be retrieved. So the management of objects in the server side might not be an array.
 
@Tanaike did you remove the message accidentally (btw, don't worry, we can still read it in the history - nothing is truly gone here)?
 
@OlegValter Yes. When I post a comment, 2 comments were posted. So I delete one duplicated comment. By this, both comments were deleted.
 
@Tanaike ah, that was a visual glitch - afaik, the chat uses a very curious flow that bugs me - when you post a message, it posts a temporary placeholder with green text color which is replaced by normal text once the new message propagates to the database. I do not get why not just decouple presentation and backend needs
 
@OlegValter Oh! Thank you. I could understand.
 
12:40 AM
👍 Btw, you are correct about sending a list of currently selected elements to the backend. This is the query string parameter that goes out to the `/invoke` endpoint (`i0` is the only selected element in my playground slide) - what happens with this list in the backend that screws the order escapes me:
"sel":[46,[1],[2,0,0,0,null],[5],[7],[8,["i0"]],[11],[13],[15]]
 
@OlegValter That data becomes the proof for confirming our guesses. 👍
 
@Tanaike also, I can confirm that the data is sent to the server in the correct order (object ids are aligned correctly in the array), so it is likely that something goes awry server-side (that said, I thought that in V8, property insertion order is guaranteed for objects)
 
@OlegValter That is the great information. From this situation, it might be able to be said that the reason of this issue is due to the method of the management of the selected object in the internal server side.
 
@Tanaike thank you - yes, I think so, everything else tells us there should not be any issues, yet here we are
 
1:04 AM
Now, I got a good information. As the additional information, in the current stage, I could confirm that the standalone Google Apps Script can be created, updated and exported by Drive API. gist.github.com/tanaikech/36821c7d70f9ce376d043c3d682d404e
 
@Tanaike that's good news - I've been curious about why I could not upload a script project to drive when answering a question about creating a file upload input in CardService - turns out that's why
 
@OlegValter Thank you. By this, now, about the standalone Google Apps Script, it is not required to use Apps Script API. The management of it can be achieved with only Drive API. That is the good news! If my future request had been accepted, I'm glad.
@OlegValter By the way, this is just my proposal. So I would like to respect your decision. For example, how about posting your experimental results and discussions as an answer for this question? I thought that by this, it will help users to understand about the reason of issue.
 
@Tanaike thank you for suggesting doing so - yes, I think this is a good idea, I am currently in the middle of a overseeing an important feature launch for a client, so a bit busy, but will be back soon :)
 
1:19 AM
@OlegValter Thank you. It's no problem. Now also I have to be away from here. Thank you for the nice discussions!
 
1:48 AM
@Tanaike and thank you - always a pleasure!
 
 
4 hours later…
5:51 AM
@OlegValter Maybe it depends on order of insertion
 
 
2 hours later…
8:02 AM
Good afternoon!
 
@Tanaike Afternoon and Have a nice day!
 
@TheMaster Thanks. Good afternoon!
 
 
4 hours later…
12:29 PM
Good evening, :)

in google slide , when adding text boxes, the type returning " Shape" , not the Text.
so means in Google slide , all text bases are "Shape " .. Correct ?
but shape and text both are different
 
12:53 PM
https://developers.google.com/apps-script/reference/slides/shape
"Includes text boxes, rectangles, and other predefined shapes."
You have to use ·getText().asString() on the shape
 
@RafaGuillermo ok , i am doing same .getText()
but curious to know how the text are shapes :)
 
Textboxes are shapes with text properties
2
They contain a TextRange object which has the text data
 
 
1 hour later…
 
2 hours later…
4:45 PM
Google issue tracker team says this ^
@Tanaike ^
 
4:57 PM
@PuzzledBoy Providing the issue link would help. Add it to your question. And add the stackoverflow link to your issue in the issuetracker. It'll help the team be in touch with the discussion in your question
 
@TheMaster do you want me to put somethings back to google team ?
i will also write my ans to them after some hours
 
@PuzzledBoy @Tanaike is the expert at Google-slides. I think he himself will comment if needed. Nothing more from my side.
@PuzzledBoy I think they mainly want you to rationalize => provide points in favor of this feature request in terms of business costs or otherwise. So that they can prioritize. Research and provide your answer. Show them why this feature would be beneficial to all the community.
 
@PuzzledBoy Also more stars> better luck of accepting the request. Spead the word around. Campaign for your cause. There is also a Google groups community. You may check if any of them are willing too.
 
5:21 PM
//i want to add value in 2 decimal like 100.00 or 201.00 etc
//Google App Script - Slide Assons
var point = 100;
var posLeft = pageElements[1].getLeft()+point;
any way to convert "posLeft" in 2 decimal ?
Slide Assons = Slide Addons
 
@PuzzledBoy basically JavaScript. Look into toFixed()
 
i tried with same var posLeft = pageElements[1].getLeft()+(point.toFixed());
throwing error point.toFixed is not a function .
stackoverflow.com/a/47294730/1868277 with help of this ans , i have fixed, thanks.
 
 
5 hours later…
10:33 PM
I believe the tag to be synonimized to . My reasons:
1. Two tags for such closely related services are unnecessary
2. Even if anyone tags [html-service], they're redirected to [web-apps].
Upvote if you agree. Downvote, if you disagree
 
 
1 hour later…
11:51 PM
Good morning!
 

« first day (19 days earlier)      last day (1363 days later) »