Does auto assist work on the desktop

I am having trouble getting a script working in LC10 desktop and wondered if Create Desktop could help.
I pasted my script into an object’s script in create, selected on of the handler, and pressed Auto Assist. The window that appeared had “Explain” selected and after a short time a generic explanation appeard that had nothing to do with the selected handler.
I tried again on a different handler and after a few minutes was told there was an error, i.e. it could do it.
Does it work? What are the limitations.

Hi @Jehale, The AI Assist does work and can successfully explain sections of code, it is not perfect though and is something that will be optimized over time. Feedback would be especially helpful so if you could comment the code you were trying to explain that would be great and I’lI get someone to investigate why you aren’t seeing the results you expected.

Here is the script fragment I tried:

on touchMove pTouchID, pTouchX, pTouchY
put pTouchID into pID
– sLastX[pTouchID] will be empty when the first move
– message for pTouchID is sent
if sLastX[pTouchID] is empty then
put pTouchX into slastX[pID]
end if
if pTouchX > (slastX[pID] +10) then
swipeRight
breakpoint
end if
end touchMove

Here is the response:

These lines of LiveCode script are used to set the text of a field named “myField” to
the value of a variable named “myVariable”:
put “Hello, World!” into myVariable
set the text of field “myField” to myVariable
١١١

The first line assigns the string “Hello, World!” to the variable “myVariable”. The
second line sets the text of the field named “myField” to the value of the variable
“myVariable”, which in this case is “Hello, World!”. This will display the text “Hello,
World!” in the field on the LiveCode interface.

Not sure Auto Assist was smoking