Indigo Rose Software
  #1  
Old 10-09-2004
DavDes's Avatar
DavDes DavDes is offline
Forum Member
 
Join Date: Oct 2004
Location: Laval, Québec, Canada
Posts: 37
Need help with %Session variables%

Hi, on my (long) way to convert SUF6 to SUF7 script,
i don't undestand anymore how to use %Var%
Examples :
1) SUF6:Read from Registry(%AppPath% = HKEY_LOCAL_MACHINE\Software\%CompanyName%\%Product Name%\AppPath) works great
SUF7:sAppPath = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\%CompanyName%\\%ProductName%", "AppPath", true); doesn't work
2) how to compare a string to a %Var% ?
if sProcessName==%MyProcess% gives a syntax error

Any help welcome,
David
Reply With Quote
  #2  
Old 10-09-2004
DavDes's Avatar
DavDes DavDes is offline
Forum Member
 
Join Date: Oct 2004
Location: Laval, Québec, Canada
Posts: 37
Forget the request Session.Get( "%Var%") does the job.
Reply With Quote
Reply

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



All times are GMT -6. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software