I'm trying to save a string in a text file (it's in the datafiles folder) but I can't.
What is wrong in the lines below? Or is it not that simple?
=========================================
if (keyboard_check(ord("V"))){
global.text += clipboard_get_text()
}
if (keyboard_check(ord("S"))){
var file = file_text_open_write(working_directory + "UQ2.txt")
file_text_write_string (file,global.text)
file_text_close(file);
}
===========================
tks
What is wrong in the lines below? Or is it not that simple?
=========================================
if (keyboard_check(ord("V"))){
global.text += clipboard_get_text()
}
if (keyboard_check(ord("S"))){
var file = file_text_open_write(working_directory + "UQ2.txt")
file_text_write_string (file,global.text)
file_text_close(file);
}
===========================
tks