Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Realm Works Forums > Realm Works Discussion


Thread Tools Display Modes
Senior Member
Join Date: Dec 2013
Posts: 687

Old July 1st, 2014, 03:31 PM
Hello there!

I want to start some external programs from within RW. I have read in other threads that the snippet "foreign objects" is available for that purpose.

I'm trying to start a .jar file. that program relies on the current path. It doesn't seem to launch or produce an error message. Is the "home directory" set by RW to the external programs path? Or do I have to link it another way?
Acenoid is offline   #1 Reply With Quote
Senior Member
Join Date: Jan 2013
Location: Twin Cities, MN
Posts: 1,305

Old July 1st, 2014, 05:37 PM
Foreign Objects hold a copy of whatever file you put into it. When you tell RW to view the object, RW writes a copy of the foreign object to your temp directory and launches it. If my test was accurate, the starting directory for the new process is the same as for Realm Works' process.

I wouldn't recommend trying to link programs into your database, but a batch file, VBScript, or PowerShell script might be the best way to do so. I haven't tried HTML with file: links.

Parody is offline   #2 Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:46 PM.

Powered by vBulletin® - Copyright ©2000 - 2019, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.