Quantcast
Channel: Wineskin Forums
Viewing all articles
Browse latest Browse all 2798

Send environment variable from WineskinStartupScript to Windows app?

$
0
0
I'm trying to set up a system that will read a string from an OS X plist and set an environment variable that can be read by a Windows app. So far, what I've done is this. In WineskinStartupScript I've included these lines: INFILE=`defaults read org.wpdos.vdoswp infile` export VDOSWPINFILE=$INFILE osascript -e 'tell application "System Events" to display dialog (system attribute "VDOSWPINFILE") buttons {"OK"} giving up after 10' The third line shows a dialog with the content of the VDOSWPINFILE variable is in the system. But when my Windows application runs ECHO %VDOSWPINFILE% the variable is empty. Am I doing something wrong or is this impossible to do? Thanks for any help.

Viewing all articles
Browse latest Browse all 2798

Trending Articles