TODO: in WSF not adding task

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 15 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Dlashley
Posts: 40
Last visit: Tue Mar 26, 2024 11:35 am
Has voted: 3 times

TODO: in WSF not adding task

Post by Dlashley »

I have not added any task tokens to the options, but in a WSF script I can add the comment
'TODO: list my task here

I save the file and I don't see any tasks in the task browser.
Any suggestions?
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

TODO: in WSF not adding task

Post by Alexander Riedel »

Just did a quick test and seems to work fine.
Please note that SAVING has nothing to do with it.
The task scanner is on a background thread and regularly scans all open and project files. Such a comment would show up under "Project Tasks"

Do you have the WSF opened in text mode or workspace mode?

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

TODO: in WSF not adding task

Post by Alexander Riedel »

I think I found something. This may not work for embedded files, basically it wouldn't know where to go to when you clicked on the task.
I'll mark it for the next service build.

Alex
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Dlashley
Posts: 40
Last visit: Tue Mar 26, 2024 11:35 am
Has voted: 3 times

TODO: in WSF not adding task

Post by Dlashley »

To answer your first question -- I work in the workspace mode.
Second, I tested the todo: token with a VBS file and it did work.
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

TODO: in WSF not adding task

Post by Alexander Riedel »

As I stated above, it's an embedded file problem. Will be included in next service build.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 15 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.