tmpNote icon indicating copy to clipboard operation
tmpNote copied to clipboard

multiple tmp notes??? no issues here !

Open ghost opened this issue 5 years ago • 5 comments

hello, ive been using your app for a while now thanks its great and so usefull. i have got to the stage i would like 5 of these running. i compiled my own and gave it a new name and logo and such but when i run it, it appears with the same txt as the other note currently open. i supose i have to change the adress of where the data is stored,but cant find where it is in your code as im a bit new.

is there an easy fix to have multiple notes open say upto 5 would be wounderfull.

if you could help point me in the right direction of where or how your saving the txt id like to add a backup button to push the txt to a file everynight so its empty in the morning.

regards

ghost avatar Nov 17 '20 17:11 ghost

There is a function defaultTextFileURL in TmpNoteViewController.swift:597. You can as some kind of app id to fileName. So the first app would save notes to files like: app1_defaultContainer_1.txt, app1_defaultContainer_2.txt..., the second app: app2_defaultContainer_1.txt, etc.

buddax2 avatar Nov 19 '20 09:11 buddax2

I'm wondering what kind of use you have. Maybe it would be more convenient to have more workspaces in one app?

buddax2 avatar Nov 19 '20 09:11 buddax2

ok i will have a look and try to compile another tonight thanks. bassically i use them as difrent memory blocks when im working and its a mess if i use one,where as having a few of them i can switch between would be brilliant, i could have multiple notes in the same app,where i could use cmd+1 cmd+2 cmd+3 to access each note individually it would be perfect. another thing i was looking for is a script to do a backup of the files every night or something. anyway thanks for the tip ill have a look tonight.

ghost avatar Nov 19 '20 12:11 ghost

There are 5 workspaces right now and you can switch between them with cmd+1...cmd+5. Or I didn't understand you correctly.

I will create a separate issue for the backup feature. It sounds useful.

buddax2 avatar Nov 19 '20 14:11 buddax2

Hello, I'm facing the problem that you've faced before is I can't use more than one slide cause it copies to the rest of them. how did you solve the problem

shouq1818 avatar Dec 09 '21 08:12 shouq1818