How to get data from a text file every 3 seconds - Forum

Forum Navigation
You need to log in to create posts and topics.

How to get data from a text file every 3 seconds

Hey there, i want to read line 1 from a text file every 3 seconds in a loop, but i cant seem to get it to work, what can i do?

I have 3 pages that need to change as soon as the file reads the page name.

thanks

 

Leroy.

Or is it possible for Visual Neo to keep reading background keyboard input even when unfocused? i am making a keyboard shortcut tracker, so when i press a certain keyboard shortcut in another application it will open a page in my app to show the list of shortcuts, while its always on top.

Thanks

 

Leroy

You probably mean a global keyboard hook? You can use the free NeoBookKB plug-in for that. You can download it from the RCMedia website:

NeoBook – RCMedia Services

 

sinmorph has reacted to this post.
sinmorph

Leroy ( @sinmorph )

i want to read line 1 from a text file every 3 seconds in a loop, but i cant seem to get it to work, what can i do?

Perhaps you can use the Timer object ...

- Interval of 3,000 milliseconds
- invoke the FileRead and GoToPage commands from the Action Event called Timer Interval

sinmorph has reacted to this post.
sinmorph

@talker

Yes this is awesome stuff! it works thank you!

@Gaev
1 am always lost in the menu's of visual neo i will try that out thank you so much for your quick answer!

 

Cheers

 

 

Quote from Gaev on March 3, 2024, 5:16 am

Leroy ( @sinmorph )

i want to read line 1 from a text file every 3 seconds in a loop, but i cant seem to get it to work, what can i do?

Perhaps you can use the Timer object ...

- Interval of 3,000 milliseconds
- invoke the FileRead and GoToPage commands from the Action Event called Timer Interval

Works like a charm, thank you so much!!

Cheers