New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



When starting scriptsExpand / Collapse
Author
Message
Posted 1/12/2004 3:58:00 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Advanced Members
Last Login: 1/21/2004 10:48:00 AM
Posts: 154, Visits: 1
Is it possible to suppress the "Are you sure you want to play script..." message?
Post #230
Posted 1/12/2004 3:58:00 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 9/3/2008 9:40:39 PM
Posts: 654, Visits: 800
When a user double-clicks on a Prism Package or Script, the shell extensions are kicking off the client with the appropriate command-line to run the Package or Script. We prompt the user whenever the shell extensions kick off a Prism process as a safety measure. (Have you ever mistakenly double-clicked a REG file?)

To turn off the prompt, edit the following registry entry by removing "/prompt".

Scripts:
HKLM\SOFTWARE\CLASSES\PortableWindowsScript\shell\open\command
(Default) = <path>\ptclient.exe /playscript "%1" /prompt

Packages:
HKLM\SOFTWARE\CLASSES\PortableWindowsChanges\shell\open\command
(Default) = <path>\ptclient.exe /applyfile "%1" /prompt

Note that if the full program is installed, the shell extensions will point to pictaker.exe rather than ptclient.exe.

You may use a Package to make this change or hand-edit the registry.





New Boundary Technologies Support
support@newboundary.com

Post #231
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 10:45am

Powered By InstantForum.NET v4.1.3 © 2008
Execution: 0.484. 10 queries. Compression Enabled.