Outliner with drag/drop reordering - part 2
@cvp I think that either no checkbox and aligned on the left would be ok as would a solid bullet.
@ihf please choose
No check box
• no check box
⬜️ Not checked
🕦 due date unchecked
@cvp I would use the bullet for the lines with no-check-box.
you did not tell me if automatic install has been ok
Version V01.11 - outline text in event notes for Apple Watch will contain - clock emoji for unchecked outline with due date already set - bullet for outline without check box
Edit: if bullet is not at level 1, as it is narrower than an emoji, the outline seems to be not aligned
⬜️1.0 unchecked 🕦 1.1 due date unchecked ✅ 1.1.1 checked • 1.1.2 no checkbox
We should use also an emoji instead of a bullet, but which one?
⬜️1.0 unchecked 🕦 1.1 due date unchecked ✅ 1.1.1 checked ▪️ 1.1.2 no checkbox
@cvp this works great! I guess having the symbol next to the text is better than lined up on the left (which is where I see them now)
@ihf you want this?
⬜️1.0 unchecked 🕦 1.1 due date unchecked ✅ 1.1.1 checked •1.1.2 no checkbox
⬜️1.0 unchecked 🕦 1.1 due date unchecked ✅ 1.1.1 checked ▪️1.1.2 no checkbox
@cvp If that is the size of the bullet then I would go with the square
Version V01.12 - square emoji used for outline without checkbox and aligning texts
Édit: it is ok when you edit the notes field but square emoji does not appear correctly on the Apple Watch, weird. (Zoom the image and you'll see squares, perhaps due to black squares on black background)
@cvp yes, that is hard to see on the watch.
@cvp and the auto-install is a BIG time saver. Thank you!
@ihf you're welcome. If you use this program so frequently, I can't imagine you don't meet a lot of circumstances where a new functionally could be hoped.
Version V01.14 - correction of bug "title of popup menu was 'outline for xxx' where xxx was not the tapped outline but the text of an eventual copied row, same as 'paste xxx...'"
😂 Just to prove that I
continue to be interested in enhancing this incredibly useful program
@cvp haha. OK, here goes. It would be nice if the due date event could optionally set the Repeat interval and the Alert/Second alert timing.
@cvp you implemented a select with copy, delete, etc. from within outline but is there already a way to select and copy to the pasteboard so that the items can be pasted into another app?
but is there already a way to select and copy to the pasteboard so that the items can be pasted into another app?
No. But, of course, I could foresee such an option but whaT do you want To paste? Only the texts or also the outlines? And for several lines?
It would be nice if the due date event could optionally set the Repeat interval and the Alert/Second alert timing.
No code is incorporated in outline.py, but could you test this little script only to see if you like the standard calendar event dialog
import ui from objc_util import * load_framework('EventKitUI') def EventEditViewController(title=None): v = ui.View() if title: v.name = title v.rgb = None vc = ObjCInstance(v) store = ObjCClass('EKEventStore').alloc().init() calendar = None for cal in store.calendars(): #print(cal.title()) if str(cal.title()) == 'Outline': calendar = cal break EKEventEditViewController = ObjCClass('EKEventEditViewController').new().autorelease() EKEventEditViewController.eventStore = store event = ObjCClass('EKEvent').eventWithEventStore_(store) event.title = 'Todo: text line' event.setCalendar_(calendar) EKEventEditViewController.event = event clview = EKEventEditViewController.view() w,h = ui.get_screen_size() v.frame = (0,0,w,h) vc.addSubview_(clview) v.present('sheet') v.wait_modal() return EventEditViewController()
@cvp Script gets an error:
Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/AppGroup/05D14C00-CCAC-4E98-A3CC-96C6944B8534/Pythonista3/Documents/test_outline_dateUI.py", line 32, in <module> EventEditViewController() File "/private/var/mobile/Containers/Shared/AppGroup/05D14C00-CCAC-4E98-A3CC-96C6944B8534/Pythonista3/Documents/test_outline_dateUI.py", line 18, in EventEditViewController EKEventEditViewController = ObjCClass('EKEventEditViewController').new().autorelease() File "/var/containers/Bundle/Application/8778D1CF-1C08-48BA-9714-9D2CFE524EA1/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/site-packages/objc_util.py", line 429, in __init__ raise ValueError('no Objective-C class named \'%s\' found' % (name,)) ValueError: no Objective-C class named 'b'EKEventEditViewController'' found
@cvp As to what text to copy: yes, multiple lines with the outline numbers and text. Obviously I can do this now in multiple steps (save as text, copy from there and paste to other app), but it would be useful to copy/paste or even share via share sheet a portion of the outline.
@cvp I seem to have just stumbled on a bug. When I touch the outline number of one of the items in order to get the pop-up menu ,instead of showing it for the line I touch, it shows it for one of the items in the middle of the outline. It shows this item no matter which one I touch. There may also be a related bug which is this particular outline item has a long line of text and the pop-up menu tries to show this entire line which pushes the right hand part of the menu off the screen