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 think, that get blocked Not PS itself, that continues 
to respond to the commansd line?

But something IS needed. 

For instance, if you simply move the scripts to a new directory the same 
issue can re-occur.

My feeling is to have a way to deal with it at initial run-time, once in 
bulk. Not have to do each module one-by-one.

Best wishes
Josiah

On Saturday, 6 July 2019 15:54:53 UTC+2, @TiddlyTweeter wrote:
>
> My base PS permissions are ...
>
>   CurrentUser    Unrestricted
>
> 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 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!
>>>
>>> *"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 
>>> net origin in the script istelf?
>>>
>>> Maybe we should do it via a PS command line in the polly.bat? Its silent 
>>> so the user would not need to get scared?
>>>
>>> Best wishes
>>> Josiah
>>>
>>> On Saturday, 6 July 2019 05:50:34 UTC+2, Mark S. wrote:
>>>>
>>>> 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 name once (otherwise we are likely to make a mistake 
>>>> sooner or later).
>>>> * Allow file names with a period in them
>>>> * Take extension from file name -- so now you can use htm, html, tw or 
>>>> whatever works for you
>>>> * Check for error where there is no download file yet.
>>>> * Added some basic explanation to polly.txt. It needs to be formatted 
>>>> better, but we'll have lots more text to add presumably.
>>>>
>>>> Your original settings are in TT.ini.
>>>>
>>>> Thanks!
>>>>
>>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d6e3a869-fbc4-4506-8dce-b37ee9f4d27a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to