Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 5:48 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Set Path
PostPosted: September 26th, 2006, 2:38 pm 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Hi,

What is wrong with this code?????

Code:
var ImagePath = SYTEM_PROGRAMS_DIR+"\\Opus"+Picture


Hope some one can help

Cheers

Ronnie


For this message Ronnie Dackus has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: September 26th, 2006, 2:49 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Ronnie

I'm not a scripting expert by any means, but the word "SYSTEM" is mis-spelled in your example as "SYTEM".

Cheers,

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: September 26th, 2006, 6:48 pm 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Hi Stephen,

Oops :oops: But spelled correct in my pub. So I've you any suggestions???

Cheers

Ronnie


For this message Ronnie Dackus has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: September 26th, 2006, 7:16 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Ronnie

In this situation, spelling may be the limit of my modest scripting ability.

I haven't used SYSTEM_PROGRAMS_DIR, but rather include images in the resource folder or, if building a set-up, in the publication folder. For the latter, SYSTEM_PUBLICATION_DIR is my usual choice for path.

Hopefully, one of our Forum colleagues or the DW support team will have further suggestions.

Kind Regards,

_________________
Stephen


For this message Stephen has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: September 26th, 2006, 7:23 pm 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Hi Stephen,

Thanks for your reply and time.

Cheers

Ronnie


For this message Ronnie Dackus has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Set Path
PostPosted: September 26th, 2006, 7:29 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
This may or may not be the cause of your problem but:
Ronnie Dackus wrote:
Code:
var ImagePath = SYSTEM_PROGRAMS_DIR+"\\Opus"+Picture

The SYSTEM_PROGRAMS_DIR variable (in common with all the system path variables) includes a trailing backslash; so you do not need to add another:
Code:
var ImagePath = SYSTEM_PROGRAMS_DIR + "Opus" + Picture

_________________
ddww Opus Developer


For this message Duncan Lilly has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: September 27th, 2006, 8:46 am 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Hi Duncan,

Thanks for your reply. Worked.

Cheers


Ronnie


For this message Ronnie Dackus has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 90 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group