Write to File a Tab special character

77 views
Skip to first unread message

Alfa Beta

unread,
Apr 11, 2021, 2:37:57 AM4/11/21
to Tasker
Do it is possible to "Write to File" a "Tab" special character?

Robert Ryan

unread,
Apr 11, 2021, 12:04:37 PM4/11/21
to tas...@googlegroups.com, Alfa Beta
This JavaScriptlet creates a variable, %tab, which contains a single tab character. 

JavaScriptlet 
Code: var tab = '\t'; 
Auto Exit: On 
Timeout (Seconds): 45 

On April 11, 2021 12:38:02 AM Alfa Beta <diama...@gmail.com> wrote:

Do it is possible to "Write to File" a "Tab" special character?

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/31a63acd-e82a-4d18-bc72-e7d6e0abeb83n%40googlegroups.com.

Alfa Beta

unread,
Apr 11, 2021, 12:32:17 PM4/11/21
to Tasker
Do it is possible in Tasker pure without JavaScriptlet?

Robert Ryan

unread,
Apr 11, 2021, 1:00:56 PM4/11/21
to tas...@googlegroups.com, Alfa Beta
Sure, you could just use Variable Set and type a tab for the value. I'm not sure if all keyboards make the tab key available though. 

Using the JavaScriptlet just makes it a lot more clear what is beng done. 


Reply all
Reply to author
Forward
0 new messages