IPB

Welcome Guest ( Log In | Register )

Recommended
BootDisk.com

Active Users

 
Reply to this topicStart new topic
project variables, defining for cross-project portability of scripts
Galapo
post Yesterday, 10:12 PM
Post #1


Advanced Member
***

Group: .script developer
Posts: 1,958
Thank(s): 112
Joined: 16-July 06
From: Sydney
Member No.: 11


Australia


Due to the discussion here, it would seem that some move to implementing the defining of useful or common variables in other projects be made so as to allow for the cross-project portability of scripts. This would supplement the api in a helpful way, as more complex scripts requires a few more things.

1. Variable in VistaPE:
%TempFolder%

My suggestion would be that nativeEx-based projects define this variable.

2. nativeEx-based project variables:
%target_win%
%target_sys%
%source_win%
%source_sys%
%GlobalTemp%
%ProjectTemp%
%GlobalTemplates%

My suggestion would be that VistaPE define these variables.

Regards,
Galapo.
Go to the top of the page
 
+Quote Post
The Following 1 Users Say Thank You to Galapo For This Useful Post:
TheHive
psc
post Today, 08:09 AM
Post #2


Guru
***

Group: .script developer
Posts: 5,587
Thank(s): 88
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


QUOTE (Galapo @ Oct 27 2008, 11:12 PM) *
Due to the discussion here, it would seem that some move to implementing the defining of useful or common variables in other projects be made so as to allow for the cross-project portability of scripts. This would supplement the api in a helpful way, as more complex scripts requires a few more things.

1. Variable in VistaPE:
%TempFolder%

A good idea (IMG:../forums/style_emoticons/default/thumbup.gif)

But what is %TempFolder% for a nativeEx based project?
Is it different from WB built in %TempDir% ?

Peter
Go to the top of the page
 
+Quote Post
Galapo
post Today, 08:20 AM
Post #3


Advanced Member
***

Group: .script developer
Posts: 1,958
Thank(s): 112
Joined: 16-July 06
From: Sydney
Member No.: 11


Australia


QUOTE (psc @ Oct 28 2008, 07:09 PM) *
But what is %TempFolder% for a nativeEx based project?
Is it different from WB built in %TempDir% ?

In the current LiveXP script.project I have defined it as '%TempFolder%=%ProjectTemp%'. Of course, %TempFolder% is only useful in a nativeEx-based project if bringing a VistaPE script in since we already use %ProjectTemp%. The opposite applies to VistaPE: define %ProjectTemp% so more nativeEx-based scripts may be used.

Regards,
Galapo.
Go to the top of the page
 
+Quote Post
Nuno Brito
post Today, 10:56 AM
Post #4


Advanced Member
***

Group: .script developer
Posts: 6,218
Thank(s): 131
Joined: 13-July 06
From: Azores
Member No.: 1


Portugal


QUOTE
%GlobalTemp%
%ProjectTemp%
%GlobalTemplates%


Should these variables really extend to other projects in the future?

Only %TempFolder% in the context of NativeEx should be equivalent to %projectTemp% as Galapo mentioned to make app scripts work good, shouldn't it? (IMG:../forums/style_emoticons/default/huh.gif)

Go to the top of the page
 
+Quote Post
« Next Oldest · Development · Next Newest »
 

Fast ReplyReply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 28th October 2008 - 11:53 PM

W3C XHTML • © 2008 Boot Land • All rights reserved • W3C CSS