Ciao Mark
I started a new thread at
https://groups.google.com/forum/#!topic/tiddlywiki/wf094dwSLfs
TT
On Saturday, 13 July 2019 10:58:34 UTC+2, @TiddlyTweeter wrote:
>
> Mark S. wrote:
>>
>> Here's what I'm thinking of for collections.
>>
>> There will be a section in the ini file like
>>
>>
Mark S. wrote:
>
> Here's what I'm thinking of for collections.
>
> There will be a section in the ini file like
>
> [collections]
> c:\temp\activities\contacts.html
> c:\users\joe\dropbox\activities\contacts.html
> c:\users\joe\dropbox\personal\medical.html
>
> When the system is restoring, it
Ok. The message will be suppressed in version "h".
Here's what I'm thinking of for collections.
There will be a section in the ini file like
[collections]
c:\temp\activities\contacts.html
c:\users\joe\dropbox\activities\contacts.html
c:\users\joe\dropbox\personal\medical.html
When the system
Mark S. wrote:
>
> polly-01g-MS
> ... there is a message flashed on screen when the compression occurs. This
> comes from the PS utility itself. It might be possible to suppress that if
> desired.
>
That turquoise "flash" of a message (you can't read, its too quick) makes
you think something
Mark S. wrote:
>
> "carrying coals to Newcastle" ?
>
That is my feeling too.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
That's interesting! Unexpected that 5.1 is end-of-the-road.
Offering another script technology to Linux users is like, how do you say
it, "carrying coals to Newcastle" ?
On Friday, July 12, 2019 at 3:56:59 AM UTC-7, @TiddlyTweeter wrote:
>
> Mark S. wrote:
>>
>> TT: When its a big further on I
Mark S. wrote:
>
> polly-01g-MS
>
>
> https://drive.google.com/file/d/1Y4FDyzz5I6QKTNFQhmyXMUgNYQUtRYwC/view?usp=sharing
>
BLOCKS REVISITED
FYI, indeed, following your tip, Unblocking the ZIP was enough.
This is something for *usage* docs, I think, if we get that far.
All is well with "01f".
Mark S. wrote:
>
> TT: When its a big further on I want to see if what we did will work in
>> PowerShell 6, which is cross-platform. If it does work in it it would be a
>> further indication it could be converted for Bash I think.
>>
>>
> Cross-platform? Really? What platforms is it going to
polly-01g-MS
https://drive.google.com/file/d/1Y4FDyzz5I6QKTNFQhmyXMUgNYQUtRYwC/view?usp=sharing
* Added backup to a date-stamped zip file if a backup zip directory is
specified. There's a new INI setting that allows this.
* Found remaining ninelives variable and switched it to new version
Hello TT
On Thursday, July 11, 2019 at 11:32:31 AM UTC-7, @TiddlyTweeter wrote:
>
>
> Rather than have to have a browser open and an actual wiki you manually
> save I am using a Powershell zombie "touch" function to auto-create and
> update pseudo-wiki files in the downloads folder at regular
Mark S. wrote:
>
> I think if you right-click on the zip file and look at the properties you
> can unblock the zip file. Then everything that unzips from it will also be
> unblocked. I think. So just one unblock action required.
>
Good tip. I'll do that next time.
What do you mean by "auto
I think if you right-click on the zip file and look at the properties you
can unblock the zip file. Then everything that unzips from it will also be
unblocked. I think. So just one unblock action required.
What do you mean by "auto creation of downloads" ?
I was vaguely thinking of working on
Ciao Mark S.
Quick update. Your 01e-MS & 01f-MS seem fine. I test a bit more.
I agree with your changes, particularly on the "T" option where you show
understanding of PowerShell coding I don't have.
BLOCKS
Regarding Unblocking. ALL ".bat" and ".ps1" in your zip were Blocked.
Windows 10
Mark S. wrote:
>
> Actually, I think Windows 7 ships with Powershell 2.
>
Ouch!
> So I must have already run some updates. It gets worse. You
> can have the same version of Powershell but on Windows 7 some of the
> commands may not do anything
> because the framework code doesn't allow it (I
Actually, I think Windows 7 ships with Powershell 2. So I must have already
run some updates. It gets worse. You
can have the same version of Powershell but on Windows 7 some of the
commands may not do anything
because the framework code doesn't allow it (I don't recall which command
...
I'm a little vague about about the difference between #2 and #3.
Are parrots where you come from not obsessed by crackers?
Just in time, today's Bizarro:
https://www.comicskingdom.com/shared_comics/1f60f89b-82b8-4f30-98da-731f073d7007
On Monday, July 8, 2019 at 4:49:01 AM UTC-7,
Mark S. wrote:
>
>
> https://drive.google.com/file/d/1O_9-kv_o_VH6_V5ElrEgMJSxbx_4OqUF/view?usp=sharing
>
> This is version polly-01f-MS.
>
> Changes:
> * Permissions.bat is down in the dev directory -- for now
>
That seems right to me. To put it there. I fails with PS 4.
The whole PowerShell 4
For those on email, I updated my last post to carify it. Best, TT
On Monday, 8 July 2019 13:49:01 UTC+2, @TiddlyTweeter wrote:
>
> Ciao Mark
>
> I wanted to log with you now that as this thing shapes its getting clearer
> to me it can be leveraged and add functions TW itself can't so easily do
Ciao Mark
I wanted to log with you now that as this thing shapes its getting clearer
to me it can be leveraged and add functions TW itself can't so easily do ...
Download saves enforce *singular naming,* so as a "surrogate central
repository" of unique wiki its seems easy for modules to be
Tx Mark!
I'll get to it soon.
I got delayed. I'm working on a "demo/test" version that is a clone of the
original but in which the "wiki" are dummy files with no content whose
(fake) "downloads" get their write time changed automatically at set
intervals.
The idea is to launch a seperate
https://drive.google.com/file/d/1O_9-kv_o_VH6_V5ElrEgMJSxbx_4OqUF/view?usp=sharing
This is version polly-01f-MS.
Changes:
* A fix to Get-IniContent that was causing it to read commented files as
active files.
* A change to menu item "T" (show tiddlers from wikidirectory) simplifying
the code
It appears that once you have unblocked a file, and then zipped it up, when
you unzip it again it is still unblocked. Or at least preliminary results
suggest that.
So only "super-users" need to worry about running the permissions unblock
script (or the same thing, right clicking on files and
Thankyou for doing that Mark!
You saved me a load of work! And relax me that I hadn't created some weird
thing that only worked for me.
It now looks very much like a "version" issue.
But it seems to me we should support 7 with 4. I'm trying to find any
resource that lays out the differences
Ok, I upgraded to 5.1 and now am seeing what you see.
Probably everyone who gets forced to upgrade to Win 10 will have 5.1+
automatically.
I always like to lag behind on upgrades in case something disastrous
happens.
Thanks!
On Saturday, July 6, 2019 at 11:09:37 AM UTC-7, @TiddlyTweeter
I am making mistakes.
> --- WHERE TRICKYDICKY LIVES
> trickydicky=Barking
>
>
TrickyDicky really came from ... Billericay
--- WHERE TRICKYDICKY LIVES
trickydicky=Billericay
https://www.youtube.com/watch?v=0jrkWygIqt0
TT
--
You received this message because you are subscribed
Tx. I wrote it in 5.1. I need try rule out its a 4 to 5 issue first I
think.
Later (somewhat slowed)
TT
On Saturday, 6 July 2019 20:02:35 UTC+2, Mark S. wrote:
>
> PS 4.
>
> On Saturday, July 6, 2019 at 10:57:40 AM UTC-7, @TiddlyTweeter wrote:
>>
>> What version of Powershell are you on? I
PS 4.
On Saturday, July 6, 2019 at 10:57:40 AM UTC-7, @TiddlyTweeter wrote:
>
> What version of Powershell are you on? I need rule out that is an issue, I
> think.
>
> J.
>
> On Saturday, 6 July 2019 19:18:19 UTC+2, Mark S. wrote:
>>
>>
>> Gasp! Can't ... catch ... up ...
>>
>> Of course I made
What version of Powershell are you on? I need rule out that is an issue, I
think.
J.
On Saturday, 6 July 2019 19:18:19 UTC+2, Mark S. wrote:
>
>
> Gasp! Can't ... catch ... up ...
>
> Of course I made the mistake of running your script from the app
> directory. ;-)
>
> When running the
Eek! I must be doing something wrong ...
I get this ...
? | Get Help (online), Unblock, return to Permissions, or Quit: [H,U,P,Q]?U
| Unblock completed. Hopefully you saw no error messages.
| Unblock only shows information when it can't complete.
| With no errors you should be good to
Gasp! Can't ... catch ... up ...
Of course I made the mistake of running your script from the app
directory. ;-)
When running the script, after it lists the ps1 file, it dumps you at a
prompt that looks like the powershell prompt. You think the script is done,
but it's not. So, it seems to
Just be sure everything is launching OK.
The original library code bizarrely sent the comments back to the calling
script. This would have called for a lot of additional complexity back in
the script and forced a naming convention, so I took that part out.
Thanks!
On Saturday, July 6, 2019
Ciao Mark S.
The ".ini parser" library is very elegantly written. Its incredibly compact!
I been experimenting with it to allow Comment Lines to start "-" and not
just ";". (Easy, as its a simple regex in the lib)
Right, that breaks what an ".ini" is supèposed to be. BUT it LOOKS better
for
A bat file itself, on download, can need a permission to run.
- The advantage is that it its easier than stricter PS scripts as it looks
like just one step.
- And once allowed to run, it can, for Polly, mark her scripts as runable
(IF user is Unrestricted or Noremote).
- Its PS *scripts, *I
My base PS permissions are ...
CurrentUserUnrestricted
i only see permissions prompts for downloaded scripts, but not even for
them when execution-policy "bypass" is in place on a launch argument.
TT
On Saturday, 6 July 2019 15:42:40 UTC+2, Mark S. wrote:
>
> What are you seeing when
Eek! I should have said that .bat should *only* be run from the sub-dir
*".\kit"* of Polly!
On Saturday, 6 July 2019 15:34:13 UTC+2, @TiddlyTweeter wrote:
>
> Ciao Mark S.
>
> *PowerShell Permissions - Initial*
>
> I wrote an experimental crude batch file that tries to deal with the two
>
What are you seeing when you run the scripts? When I run the scripts, I
have to give it permission twice -- once for the outer script and once for
the library.
Thanks!
On Saturday, July 6, 2019 at 5:54:32 AM UTC-7, @TiddlyTweeter wrote:
>
> Hi Mark S.
>
> TX! Looking forward to it!
>
>
So Gmail doesn't like the bat files, but it was just fine with powershell
files. Maybe next time I'll try encryption. Meanwhile, here's the file
https://drive.google.com/file/d/1LJec-aT8H5ZV-bSNS1pkjuohICr4XEL_/view?usp=sharing
--
You received this message because you are subscribed to the
Ciao Mark S.
PowerShell Permissions - Initial
I wrote an experimental crude batch file that tries to deal with the two
levels of permissions needed for PS script running. "Bypass" is relatively
easy. "-executiion-policy" where it is "Restricted" needs explicit action
to change it, and
Hi Mark S.
TX! Looking forward to it!
*"Bypass" for Sub-Modules Issue in PowerShell*
One issue I wanted to mention is that if you use dependent modules, like we
do with the new ini parser, *"bypass" is not active for that particular
script.* I'm unclear whether we can dynamically override its
Note: I can't attach the zip file at the moment. I'll have to find some
other mechanism if G doesn't change its ways.
Very strange, since I was able to attach a zip just 2 days ago.
Hi TT,
Changes I made:
* Made the batch files refer to "shim.bat" so we only have to refer to the
PS script by
Ciao Mark
Its looking good! Your work--well, I could not have done it!! Molto grazie.
GG won't at the moment let me send attachments. But you should be able to
download it from here ...
https://drive.google.com/file/d/1Lg64p8W37ly0YE9tUfbHcnzoQVWpdUdf/view?usp=sharing
I hope it works for
Mark S. wrote:
>
> The attached is just to indicate that some progress is being made.
>
Its looking good! I have it working.
I hoping by tommorrow I can have ready for you a version that integrates
your changes. Plus some changes I made. Like being able, from a paramater,
to load different
Mark S. wrote ...
> ... I was thinking maybe "Polly", like the parrot that repeats itself,
> which is what the script really does.
Ha! :-) I like it! Not ostentatious. Quite descriptive. Why not?
Unless anyone else expresses an opionion I'm happy with that. Let's give it
a couple of days
The attached is just to indicate that some progress is being made. The zip
file has the PS file, the support library file, and the ini file. There's
lots of stuff that needs to be tweaked, especially capturing the error
messages -- maybe tomorrow? There's an S option on the menu that I used for
Dear TonyM
Thanks for taking precious time on this to reply in such detail. I really
apporeciate it. I will respond tBut bego the post details when I absorbed
it fully.
But, before that I wanted to comment that the aim in *this *is very
pertinent.
In a quick, perhaps over-simple way, I'd say
Ciao Mark S., TonyM and all,
Mark S. wrote:
> Re the name, thinking maybe nein-lives (humour intended) or neun-lives
> just to avoid trademark infringement with the cat food company.
>
Okay. Slept on it. What about ...
*NINE-LIFE *?
TBH, I don't really mind what its called! :-) But I'd
Some responses Josiah
*Auto-Collation of paths to Wikis under a "Wikis Folder"? *
>
>
>> Now if we have document folders that contain only tiddlywiki html files
>> we could use the fact that mywiki.html exists in these folder to look for
>> mywiki.html in the browser download folder(s). Add
Ciao Mark S & TonyM ...
Mark S. wrote:
>
> The only thing that needed changing was the "publisher" (matching set)
> quote
> marks that you used around the title. The code wants "terminal" quotes
> (non-matching). Not sure what the terminology is.
>
Mark, could you post the code for that so I
Ciao Mark
Looking good! Readable. Couple to queries ...
1 -- Can you have blank lines so, for instance, it could look like this?
[wikis]
file1=D:\data\Wikis\notes\notes.html
file2=D:\data\TW2014\Todo.html
[general]
; --- DOWNLOADS DIRECTORY: where browser downloads go
; Example path is the
So, thinking new tw_nine_lives.ini would look like:
[wikis]
file1=D:\data\Wikis\notes\notes.html
file2=D:\data\TW2014\Todo.html
[general]
; --- DOWNLOADS DIRECTORY: where browser downloads go
; Example path is the usual Windows location
downloaddir = "C:\Users\mark\Downloads"
; --- WIKIS
Hi TT ,
Posting here so you won't think I've dropped off the edge of the earth. Yet.
Your code looks really good! You've obviously spent a lot of time putting
things together. The only thing that needed changing was the "publisher"
(matching set) quote
marks that you used around the title. The
Ciao Tony M.
Thanks for the useful thoughts!
*Auto-Collation of paths to Wikis under a "Wikis Folder"? *
> Now if we have document folders that contain only tiddlywiki html files we
> could use the fact that mywiki.html exists in these folder to look for
> mywiki.html in the browser
Josiah,
I am glad you are continuing this conversation. I do not have the capacity to
contribute as I would at present. So I thought I would dump some design
patterns and ideas I had for this.
After the save to disk by the browser, a move rather than rename will be faster
on the same disk. To
Ciao Mark S. & interested cats
I attach my revisedf experimental PS1 script, version "b". Its still
largely a wrapper around your original script.
I added a load of settings, but most of them are "internal" (i.e. will
never need to be in a sperate settings file) and unproblemmatic. The only
Ciao Mark S., TonyM & intererested cats
Mark S., whilst I'm sure its true that "saving" TW is no longer a pressing
issue, I feel your "restore" (Nine-Lives ?) script very much to the point
in that its a *properly univera*l method that shoulkd work with any modern
browser.
I'm currently
Mark S. wrote:
>
> Re your ps script, I don't see where "downloaddir" gets used -- am I
> missing something?
>
Its simply an added line ...
cd $downloaddir
The idea is to have script run in "downloads" but can be located elsewhere.
I had been thinking of having a separate configuration file.
I like what you're doing with the scripts, TT -- Your batch script is
really neat and organized. I had forgotten that crazy way that
windows batch scripts use errors to make choices.
Re your ps script, I don't see where "downloaddir" gets used -- am I
missing something?
Re the woofs, I had
Josiah,
A revised approach I have being researching and not yet made public seems to
have predicted the above woofs.
Watch this space.
Tony
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving
Mark S. wrote:
> I'm not a PowerShell aficionado, so even a short script takes some time.
>
Dear Non-Aficionado
As the 3-Legged Dog in this tiny ship of interest I am a Seriously Hobbled
Participant at the mainmast. Trying to be competent is a heavy burden.
After walkies with the code and
TonyM
> Personally I think an executable program to do the same, or even just
> install and help configure, may be a better option in time,
Side note ... I agree in the sense that via an exe you can more easily
provide a full installable solution without having to understand PS or BAT
Mark S. wrote:
> I'm not a PowerShell aficionado, so even a short script takes some time.
>
Ciao Mark
In the process of noodling about with your script I made a few, mainly
cosmetic, changes. The only real difference is to be able to put the script
anywhere (I hope :-).
Merely suggestive.
TonyM wrote:
>
> I have identified a way to make the sentenial batch very efficient and
> potentially configureless.
>
> This is leading us down an interesting path which seems to be getting
> smoother as the idea matures.
>
> What I can bring to this is my history as a batchfile guru many
Mark S. wrote:
>
> There is the edge case where the $stem file is new, and there are no other
> $stem (\d).html files. Probably can be ignored ...
>
Ciao Mark
IF, the wiki has not been saved to the downloads folder or a user deletes
all the saved versions (probable at of housekeeping from time
Josiah,
I wrote a large post and lost it. I can repost soon. Its key items were,
I have identified a way to make the sentenial batch very efficient and
potentially configureless. no need to worry about timing or performance impact.
The same should work for bash scripts, but I could not write
Folk wondering *What is this about? What are the advantages of "Restore
from downloads?" m*ay, in addition to the discussion above, read the post
by Mark S. in the TWC group that presents the aim & function of his
PowerShell Script well and briefly ...
TonyM wrote:
> When using the default save mechanism in any browser, you can save changes
> resulting in a download of the whole Wiki, having an automatic process on
> your computer, the wiki can then be copied back to your original single
> file wiki. There by keeping the original upto date.
Also posted in TWC Forum
Josiah,
This threads title does little to promote this great idea. Which I only now
understand because I spent a little time working through the conversations.
I know much of this has being said but its being in discussion rather than
statements.
Please let me try
Ciao Mark S.
FYI, you might be interested in this TWC thread that indicates there is
confusion about your PowerShell script. I was slightly gob-smacked. But it
may be only you, I, and the three-legged dog "get" it so far? Though it
might be me confusing Yakov.
Having used this now for a little while I want to comment that I think the
general idea is really good!
It works.
The main advantage is it works with every wiki scenario the majority of
users would ever use. Just one method to learn. No plugins needed.
Works with every modern browser. Not
Mark S. wrote:
>
> There is the edge case where the $stem file is new, and there are no other
> $stem (\d).html files. Probably can be ignored ...
>
Probably!
But there is the case that IF a user deleted it in Downloads their next
save would again be $stem , not $stem (N) ... I think?
In
Ciao TonyM ...
>
>
>- If we have a clear way for all users to configure their computer for
>tiddlywiki handling, browser or OS independently we would all be happy
>- TiddlyWiki can be used to do this itself (if running under
>tiddlydesktop) including setting up the above script
>
> @TiddlyTweeter wrote:
>
>
>> STEMMING
>>
>> I don't understand how to do it but I think the stemming issue with
>> possible overwrite could be avoided by using a regular expression rather
>> than the general wildcard?
>> This looks like it might work
>>
>> "$stem(\s*\(\d+\))?$"
>>
Josiah,
I suppose the degree of brainstorming and experimentation on my part sounds
like it is Off Topic. I thought you were more general in your question.
Since marks script appears later in the thread do you want to focus on it
for now?
However I do think this has inspired an important
Seeing this in action might be useful where it supports the thread intent.
Does it? It seems not to be.
This is not a negative comment. Rather, right now, we need feedback on the
actual running of the basic script. Your comment is somewhat complex and I
don't fully understand it.
Josiah
On
Mark S. wrote:
>
> Every day my Google News feeds reports problems people are having with
> updates on Windows 10. Makes me wonder if I should stick with Windows when
> support for 7 is dropped.
>
Dunno. I just buy computer and put up with it.
Win. 10 for me has been fine. Updates, no
Folks,
I may have discovered a path to a universal install.
I am discovering a lot of power with links to files, and executables and
batches. With some recently developed methods to customize and export
scripts to the local computer. Further a custom protocol as an alternative
to file:// can
TT wrote:
> -- PowerShell would not run the script till I ran the (session only)
>> command ...
>>
>> "Set-ExecutionPolicy -scope CurrentUser -executionPolicy
>> Unrestricted"
>>
>>
Mark S. asked:
> How did you discover the secret recipe? I wonder if that's a PS6 thing?
>
TBH, the
Hi TiddlyTweeter,
On Friday, May 24, 2019 at 2:29:48 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao Mark S.
>
> It works! :-)
>
> Some initial comments .
>
> *Tested on ...*
>
> Windows 10 64-bit tablet
>
> PowerShell: 6
>
> Browsers: Vivaldi, Firefox, Edge, Chrome, 2 other Chromium
>
>
>
> Wow --
Ciao Mark S.
It works! :-)
Some initial comments .
*Tested on ...*
Windows 10 64-bit tablet
Browsers: Vivaldi, Firefox, Edge, Chrome, 2 other Chromium
TEETHING PROBLEMS
-- PowerShell would not run the script till I ran the (session only)
command ...
"Set-ExecutionPolicy -scope
Wow. Thanks Mark! I'll test and get back to you.
Looking at it you deal with the tricky issue of how to identify the latest
download version in a possible mass of files.
I manged to do it with a batch file but for only one wiki. I think
powershell is a better equipped way to go than batch.
For some time Google has blocked my posts to email users on first post. I
still don't know why.
FYI ...
[image: Annotation 2019-05-20 194752.jpg]
Best wishes
Josiah
On Monday, 20 May 2019 19:14:18 UTC+2, PMario wrote:
>
> On Monday, May 20, 2019 at 3:06:14 PM UTC+2, @TiddlyTweeter wrote:
>>
On Monday, May 20, 2019 at 3:06:14 PM UTC+2, @TiddlyTweeter wrote:
>
> Repeat for email users...
>
Hi, - OT
What is this post good for?
-m
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop
Repeat for email users...
On Monday, 20 May 2019 15:05:35 UTC+2, @TiddlyTweeter wrote:
>
> At the moment, on modern browsers, saving TW without any custom saver,
> means the save ends up in "Downloads".
>
> We have no tool to auto/resurrect and copy back that save for those kinds
> of saves.
83 matches
Mail list logo