Hi All,
I used aWizard to read out my Wizard's ExtRom, but do not know how to write it back.
I want to read out the ExtRom in .nba format, I studied the aWizard , I believe since " pdocread.exe 0 0x3900000 ROM\OS.nba " can read out the os, then theoretically " pdocread.exe ??? 0xA00000 ROM\ExtRom.nba " should be able to read out ExtRom in .nba format.
I do not know about programming, can someone be kind enough to point out what the ??? in above should be.
Will the following info has some hints?
Cmd>r2sd all
***** user area size = 0x1E100000 Bytes
R2SDBackup() - Download type = 5
usTotalBlock = 1 sizeof(SDCARD_SIGNATRUE_TABLE)=512
Start address = 0x80000000 , Length = 0x800 (IPL)
Start address = 0x80000800 , Length = 0xC0000 (SPL)
Start address = 0x800C0800 , Length = 0x40000 ( )
Start address = 0x80100800 , Length = 0x280000 (GSM)
Start address = 0x4E3D4C0 , Length = 0x3900000 (OS)
Start address = 0x743D4C0 , Length = 0xA00000 (EXTROM)
Thanks a lot!
Any idea about " pdocread.exe 0 0x3900000 ROM\OS.nba "?
Is 0 the starting offset address & 0x3900000 the size of the os rom part?
I have read the info in wiki.xda-developers.com, but my programming knowledge is too bad for me to understand it!
(just for reference), i posted a detailed explanation on http://www.spv-developers.com/forum/showthread.php?t=2888
willem
Okay, i still see a lot of people getting stuck on restoring file association when using the Opera beta. I thought I'd post the default PIE registry & file associations, making it "easier" (sort-of) to chose what is handled by Opera & what is handled by PIE. *Please note: this is for WWE ROMs & may differ for other languages.
Here are the File Assciation defaults for PIE:
Opera changes the following registry keys/values:
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\htmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\xhtmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\xhtmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\gifimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\gifimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\icoimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\icoimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\http\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\http\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\https\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\https\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\ftp\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\file\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\file\Shell\Open\Command]
(Default) iexplore.exe %1
If you used the version that can't be uninstalled you can manually delete the following files in addition to changing the above info:
It also installs the following folders/files:
Application Data\Opera9\xxxxx (xxxx = too many to list; To remove, delete the main folder + the others listed)
\Windows\OperaL.exe
\Windows\wgtman.exe
\Windows\Opera9.exe
\Windows\Start Menu\Programs\Opera Widgets.lnk
\Windows\Start Menu\Programs\Opera Browser.lnk
& there is also the setup.dll setup info in \Windows\Appmgr
Finaly there are also these keys inserted into the registry; to remove, completely delete the following.
[HKEY_CLASSES_ROOT\_wgt_opwidget\DefaultIcon]
"" = %InstallDir%\Opera9.exe,-162
[HKEY_CLASSES_ROOT\_wgt_opwidget\Shell\Open\Command]
"" = ""\Windows\OperaL.exe" "%1""
[HKEY_CLASSES_ROOT\.wgt]
"" = "_wgt_opwidget"
[HKEY_CURRENT_USER\ControlPanel\Keybd\ChangeBackVKeyCode]
"Opera_MainWndClass" = dword : 00000008
[HKEY_LOCAL_MACHINE\Software\Opera\Info]
"SplashProgressFPS" = dword : 0000000A
"SplashProgressHeight" = dword : 00000008
"SplashscreenPortrait" = "\Windows\splash_218x170_a.png"
"SplashProgressImage" = "\Windows\splashanim.bmp"
"SplashscreenLandscape" = "\Windows\splash_218x170_a.png"
With this information you can now control what is opened by Opera, what is opened by PIE or you can manually uninstall to restore PIE functionality without having to restore or hard reset.
Another little trick to keep Opera, but to use PIE as the default for all of the web related content is to use a recent pre-Opera Sprite back up, & do a partial restore, only restoring the "System Settings" located within the "System Data" tab.
Where can one obtain the Opera 9.5 beta?
Ffs Google It!!!!!!
Thanks GS, this'll finally make me download Opera "9.5" and use it.
GSLEON3 said:
Okay, i still see a lot of people getting stuck on restoring file association when using the Opera beta. I thought I'd post the default PIE registry & file associations, making it "easier" (sort-of) to chose what is handled by Opera & what is handled by PIE. *Please note: this is for WWE ROMs & may differ for other languages.
Here are the File Assciation defaults for PIE:
Opera changes the following registry keys/values:
[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\htmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\xhtmlfile\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\xhtmlfile\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\gifimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\gifimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\icoimage\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\icoimage\Shell\Open\Command]
(Default) iexplore.exe file: %1
[HKEY_CLASSES_ROOT\http\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\http\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\https\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\https\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\ftp\Shell\Open\Command]
(Default) iexplore.exe %1
[HKEY_CLASSES_ROOT\file\DefaultIcon]
(Default) iexplore.exe,-1003
[HKEY_CLASSES_ROOT\file\Shell\Open\Command]
(Default) iexplore.exe %1
If you used the version that can't be uninstalled you can manually delete the following files in addition to changing the above info:
It also installs the following folders/files:
Application Data\Opera9\xxxxx (xxxx = too many to list; To remove, delete the main folder + the others listed)
\Windows\OperaL.exe
\Windows\wgtman.exe
\Windows\Opera9.exe
\Windows\Start Menu\Programs\Opera Widgets.lnk
\Windows\Start Menu\Programs\Opera Browser.lnk
& there is also the setup.dll setup info in \Windows\Appmgr
Finaly there are also these keys inserted into the registry; to remove, completely delete the following.
[HKEY_CLASSES_ROOT\_wgt_opwidget\DefaultIcon]
"" = %InstallDir%\Opera9.exe,-162
[HKEY_CLASSES_ROOT\_wgt_opwidget\Shell\Open\Command]
"" = ""\Windows\OperaL.exe" "%1""
[HKEY_CLASSES_ROOT\.wgt]
"" = "_wgt_opwidget"
[HKEY_CURRENT_USER\ControlPanel\Keybd\ChangeBackVKeyCode]
"Opera_MainWndClass" = dword : 00000008
[HKEY_LOCAL_MACHINE\Software\Opera\Info]
"SplashProgressFPS" = dword : 0000000A
"SplashProgressHeight" = dword : 00000008
"SplashscreenPortrait" = "\Windows\splash_218x170_a.png"
"SplashProgressImage" = "\Windows\splashanim.bmp"
"SplashscreenLandscape" = "\Windows\splash_218x170_a.png"
With this information you can now control what is opened by Opera, what is opened by PIE or you can manually uninstall to restore PIE functionality without having to restore or hard reset.
Another little trick to keep Opera, but to use PIE as the default for all of the web related content is to use a recent pre-Opera Sprite back up, & do a partial restore, only restoring the "System Settings" located within the "System Data" tab.
Click to expand...
Click to collapse
Doesn't seem to work for me. I change or delete the registry but it comes back.
Here is a cab I picked up on another forum that resets defaults back to PIE. Worked for me...
grandpareza said:
Thanks GS, this'll finally make me download Opera "9.5" and use it.
Click to expand...
Click to collapse
I agree. This is why I was not installing. Not that it really matter the amount of times a week I flash. But now I know what Registry Keys are being effected.
bigboyhf said:
Here is a cab I picked up on another forum that resets defaults back to PIE. Worked for me...
Click to expand...
Click to collapse
Thanks. I haven't tried it yet because I've already wiped my OS and started all over.
worked perfectly well on a french rom !
Thanx mate !
bigboyhf said:
Here is a cab I picked up on another forum that resets defaults back to PIE. Worked for me...
Click to expand...
Click to collapse
THANK YOU for that.. I was trying to make Opera my default and nothing would launch Opera or PIE. This fixed everything back for me.
This .cab works also for my german original HTC-WM 6.1 (7/2/2008) perfectly!
Thanks for the guy who make this for us...
hi
I am looking for a script or tool that will activate the wlan-option when ActiveSynch is connected? To save power, this tool should also disconnect wlan when AS is stopped. Someone knows already some tools for that?
or is it possible to get n toggle-button option for wlan as softkey?
thanks
Use this wifi toggle and assign it to a soft key with SoftKey manager.
If you install mortscript a fairly simple script can be written to toggle wifi on and off with an activesync connection. I have written a similar one to toggle wifi on automatically when I open pocket internet explorer or the Network plugin and off when I close them.
hello,
yes i am already using mortscript (to set the registry key showsim = 0). i tried to find the wlan-toggle-key in the registry to turn it on and of, but i didn't find it. and also i don't know how to get the activsync status...
thanks for your toggle-sricpt, i will use it for the first time...
Changing registry values to turn hardware on or off using mortscript does not work. That's why you need to get mortscript to run the toggle I attached.
Try this script
-----------------------------------------------------------------
VariableValue = 0
While (1)
#Detect for USB connection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 1 && VariableValue = 0)
#Turn on Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 1
EndIf
#Detect for USB disconnection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 0 && VariableValue = 1)
#Turn off Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 0
EndIf
Sleep 2000
Endwhile
-----------------------------------------------------------------
Remember to place the script or a link to the script in your Windows\Startup folder
works perfect! thanks!
neomagik said:
Changing registry values to turn hardware on or off using mortscript does not work. That's why you need to get mortscript to run the toggle I attached.
Try this script
-----------------------------------------------------------------
VariableValue = 0
While (1)
#Detect for USB connection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 1 && VariableValue = 0)
#Turn on Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 1
EndIf
#Detect for USB disconnection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 0 && VariableValue = 1)
#Turn off Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 0
EndIf
Sleep 2000
Endwhile
-----------------------------------------------------------------
Remember to place the script or a link to the script in your Windows\Startup folder
Click to expand...
Click to collapse
Hi neomagik,
Can you perhaps provide me with that script you have written please?,i don't know how to write scripts ...
Hi,
I made this little program for typing accented characters on the hardware keyboard. It's simple SIP, which means it will be shown as standard input method, but when you click on the icon, no keyboard will be shown. That's useful when you are using hardware keyboard and you are trying to type something, with this SIP no software keyboard will pop up and cover half of the screen. And it's automatically activated only in landscape, in portrait mode you can use your favorite software input method. This program will remember the input method you used before, and when you slide your keyboard back, this method will be set as active.
So when this input method is activated, you can simply type on hardware keyboard for example letter 'A', then press "SYM" key (next to the Space key) and the letter 'A' will be changed to 'Á'. This depends on your \Windows\Sym.txt file, which you can change to whatever you want. When you want to show the Symbol screen (default behaviour when you press "SYM" key), simply press Shift + SYM, or when you press SYM key after typing some letter, which is not in Sym.txt file, this screen will appear as well.
Installation:
1) download CAB file from here:
Code:
http://www.mobilnaut.net/cz/mnsym.htm
(click on "Stáhnout")
2) copy it into your device and install it
3) perform softreset
4) if you want to change the accented letters, change file \Windows\Sym.txt or \Windows\Sym.0409.txt to your own file
Uninstallation:
1) you can uninstall this application via Settings -> Remove Programs
Known issues:
1) In landscape mode Volume buttons doesn't work - many applications have the same problem, it's because of the api function I used - but in portrait mode everything's ok
2) it seems to be not compatible with S2U2
3) during boot process (green windows mobile screen) black bar with "Mobilnaut SYM" text could be shown, but it will disappear in a moment
Warning: This application is provided "as is", without warranty of any kind. Use it at your own risk!
Thank you...
This solved my keyboard problems and hardware sym key issues... super....
Doesnt work for me with Elite RC2 and S2U2 installed. The program installs, but the SYM button still brings up the table.
Unfortunatelly it's not compatible with s2u2 application... I don't use s2u2, so now I don't know why it doesn't work.
spoke too soon
Somehow, when I press the / and sym, it doesn't change the symbol to \
just gets an é same with . and sym key..
Anybody know how to fix this?
This is so frustrating...
It should show the window with symbol list, because SYM key works only with letters, not with symbols. So when you press "/" button, the SYM key won't work and the list of symbols will appear. Mybe in the future I'll add the support for symbols...
that's my whole problem :-D
Jimm98y said:
It should show the window with symbol list, because SYM key works only with letters, not with symbols. So when you press "/" button, the SYM key won't work and the list of symbols will appear. Mybe in the future I'll add the support for symbols...
Click to expand...
Click to collapse
somehow, my symbol pad doesn't show up..
How can I map the sym key to do that?
I think I need the file symselector.exe out of my windows folder, but It's not in Da_G's rom.
Can you maybe post it here?
I think that's why I cant use the sym key.
Can you add support, that would be so great..
Same behaviour when I press e, I can't scroll through the e with the accents, it just ads the same e' symbol.
Do you know how to fix this?
I tried ezinput, that solved some of my problems, and your cab is helpful.
It's just the final bit that's frustrating. I want my \ key
Any help would be greatly appreciated.
not symselector...
Ok, got an answer from Sleuth255 (thanks for that) that the symselector is just an invalid registry key.
So all hope is on you now mate, can you help me get my \ back?
Thanks bunch...
Any news???
Hey Jimmy..any news on the development of this soft to include symbols???
That would make this soft truly awesome..
And exactly what doesn't work with S2U2?
Seems to be running quote well on my device...
What are the problems people are encountering?
Compatibility issues with S2U2 are solved by the newest version of S2U2. Now I'm trying to add some new features, but I don't have much free time, so please be patient.
No Problem...
Jimm98y said:
Compatibility issues with S2U2 are solved by the newest version of S2U2. Now I'm trying to add some new features, but I don't have much free time, so please be patient.
Click to expand...
Click to collapse
All good things in life are worth waiting for..
Glad you're on it..
Keep up the good work
MAybe this helps....
fixed the sym key
http://forum.xda-developers.com/showpost.php?p=3065204&postcount=604
Jimm98y said:
Hi,
I made this little program for typing accented characters on the hardware keyboard. It's simple SIP, which means it will be shown as standard input method, but when you click on the icon, no keyboard will be shown. That's useful when you are using hardware keyboard and you are trying to type something, with this SIP no software keyboard will pop up and cover half of the screen. And it's automatically activated only in landscape, in portrait mode you can use your favorite software input method. This program will remember the input method you used before, and when you slide your keyboard back, this method will be set as active.
So when this input method is activated, you can simply type on hardware keyboard for example letter 'A', then press "SYM" key (next to the Space key) and the letter 'A' will be changed to 'Á'. This depends on your \Windows\Sym.txt file, which you can change to whatever you want. When you want to show the Symbol screen (default behaviour when you press "SYM" key), simply press Shift + SYM, or when you press SYM key after typing some letter, which is not in Sym.txt file, this screen will appear as well.
Installation:
1) download CAB file from here:
Code:
http://www.mobilnaut.cz/?a/1753
(click on "Mobilnaut SYM pro HTC Touch Pro" and then on "Stáhnout")
2) copy it into your device and install it
3) perform softreset
4) if you want to change the accented letters, change file \Windows\Sym.txt or \Windows\Sym.0409.txt to your own file
Uninstallation:
1) you can uninstall this application via Settings -> Remove Programs
Known issues:
1) In landscape mode Volume buttons doesn't work - many applications have the same problem, it's because of the api function I used - but in portrait mode everything's ok
2) it seems to be not compatible with S2U2
3) during boot process (green windows mobile screen) black bar with "Mobilnaut SYM" text could be shown, but it will disappear in a moment
Warning: This application is provided "as is", without warranty of any kind. Use it at your own risk!
Click to expand...
Click to collapse
I have a Fuze, so the keyboard layout is a little different. The SYM key is actually a combination of pressing FN+Space bar. However, when you press that, you get just the symbol panel... I would love to have the application you developed working!
I installed Mobilnaut SYM and it works very well
If you add support for the symbols in the future I propose following:
/ => \ |
( => [ { <
) => ] } >
Thank you for this nice software
help for other keyboard layouts?
As posted, I have a FUZE. Any way you can remap the SYM key to the one to the left of the Spacebar? On the FUZE keyboard, the SYM is obtained by pressing Fn+Space. This doesn't work for you Mobilnaut....
I'm sorry for late response, I was having hard time at school, too many exams in past few days. Well that would be a problem, because I don't have fuze so I can't test it. I'll see what can I do, when I'll have some time...
fuze layout
This is the Fuze layout, as it appears in eT9.Raphael.wwe.atnt.kmap. Would this help?
//
// N O T E: This file must be saved as Unicode
//
// This file contains the virtual keys mapping table for the
// Raphael device World-Wide English QWERTY layout.
// The mapping table is defined as follows
//
// VK_TPOUND = 0x78
// VK_TSTAR = 0x77
// VK_TAB = 0x09
//
// We do not support escape value yet. So the key/char values should be
// entered explicitly or by encoding start with 0x
//
// Format:
// {VK VK1 VK2 CH1 CH2}
// VK -> value from keyboard driver
// VK1 -> key mapped, interpret by IME
// VK2 -> key to interpret when for press and hold
// CH1 -> symbols produced by Fn + key
// CH2 -> symbols in 123 mode
// CH4 -> Key Index
// Top Row
// {1 1 1 ! ! 0xff} // original layout
{@ @ @ % % 0xff}
{- - - ¢ ¢ 0xff}
{! ! ! $ $ 0xff}
{( ( ( & & 0xff}
{) ) ) # # 0xff}
{' ' ' 1 1 0xff}
{" " " 2 2 0xff}
{; ; ; 3 3 0xff}
{: : : * * 0xff}
{/ / / = = 0xff} // 0xBD = VK_OEM_MINUS
{- - - + + 0xff} // 0xBB = VK_OEM_PLUS
// Second Row
// {0x09 0x09 0x00 0x00 0x00 0xff} // TAB - 0x09 = VK_TAB
// {0x09 0x14 0x14 0x00 0x00 0xff} // TAB - 0x09 = VK_TAB, 0x14 = VK_CAPITAL
{Q Q Q Q Q 0x00}
{W W W W W 0x01}
{E E E E E 0x02}
{R R R R R 0x03}
{T T T T T 0x04}
{Y Y Y 4 4 0x05}
{U U U 5 5 0x06}
{I I I 6 6 0x07}
{O O O O O 0x08}
{P P P P P 0x09}
{0x08 0x08 0x08 0x2E 0x2E 0xff} // BACKSPACE - 0x08 = VK_BACK, 0x2E = VK_DELETE
// Third Row
// {0xEC 0xEC 0x00 0x00 0x00 0xff} // FN - 0xEC = FN
// {0x14 0xEC 0xEC 0x00 0x00 0xff} // CAPS - 0x14 = VK_CAPITAL, 0xEC = FN
{A A A A A 0x0a}
{S S S S S 0x0b}
{D D D D D 0x0c}
{F F F F F 0x0d}
{G G G G G 0x0e}
{H H H 7 7 0x0f}
{J J J 8 8 0x10}
{K K K 9 9 0x11}
{L L L L L 0x12}
{0xF2 0x0D 0x00 0x00 0x00 0xff} // ENTER - 0x0D = VK_RETURN
// Fourth Row
{0xA0 0x10 0x10 0x00 0x00 0xff} // SHIFT - 0xA0 = VK_LSHIFT, 0x10 = VK_SHIFT
{Z Z Z Z Z 0x13}
{X X X X X 0x14}
{C C C C C 0x15}
{V V V V V 0x16}
{B B B B B 0x17}
{N N N 0 0 0x18} // Zero
{M M M M M 0x19}
{? ? ? ? ? 0xff} // 0xBF = VK_OEM_2 = VK_SLASH
{0xF1 0x26 0x26 0x21 0x21 0xff} // UP - 0x26 = VK_UP, 0x21 = VK_PRIOR (PAGE UP)
// Bottom Row
// {0xA2 0x11 0x00 0x00 0x00 0xff} // OK, 0xA2 = VK_LCONTROL, 0x11 = VK_CONTROL
{0xEC 0xEC 0x00 0x00 0x00 0xff} // FN - 0xEC = FN
// {0xEB 0xEB 0x00 0x00 0x00 0xff} // SMS - 0xEB = SMS
// {0xEF 0xEF 0x00 0x00 0x00 0xff} // MSG - 0xEF = MSG
{0xE6 0xE6 0x00 0x00 0x00 0xff} // SYM - 0xE9
{0xEA 0x12 0x00 0x00 0x00 0xff} // T9 Menu - 0x12
{0x20 0x20 0x20 0x00 0x00 0xff} // SPACE - 0x20 = VK_SPACE
{, , , , , 0xff}
{. . . . . 0xff}
{0xF5 0x25 0x25 0x00 0x00 0xff} // LEFT - 0x25 = VK_LEFT
{0xF3 0x28 0x28 0x22 0x22 0xff} // DOWN - 0x28 = VK_DOWN, 0x22 = VK_NEXT (PAGE DOWN)
uninstalling?
[- removed]
here's a pic of the layout...maybe this helps
If you can fix it, perfect... I would be grateful for ever!
using mobilnaut sym on Fuze?
Jimm, any chance you can take a look at how to trigger your software with a key other than SYM? Thanks a lot!
Okay, I'm trying to make parse a json file with a JavaScriplet.
I'm going through and pulling out data based on if a specific data set of the json matches a specific word in an array.
For example,
var arr = parsed data
For i = 0 to end
If arr.data.wall.color = "Red" var wallname = arr.data.wall.name
So if I do it like that, it works great. But I want to be able to put a variable in there. If I do this, it works:
var colorname = "Red"
var arr = parsed data
For i = 0 to end
If arr.data.wall.color = colorname var wallname = arr.data.wall.name
Obviously a local variable. But I want to use a Global variable... one I've already set in a different task. So in task 1 I set ColorName = "Red"
And then in task 2:
var arr = parsed data
For i = 0 to end
If arr.data.wall.color = ColorName var wallname = arr.data.wall.name
...which doesn't work. I read else where that you need to use global() to access global variables in Scriptlets, but trying that doesn't work:
If arr.data.wall.color = global(ColorName) var wallname = arr.data.wall.name
Nor does adding the percent sign anywhere seem to work. Any ideas what I'm doing wrong?
I'm fairly certain the format is: global('VarName')
So if you were doing a JSON read from data returned in the global %HTTPD variable: JSON.parse(global('HTTPD')).current_observation.icon
Try using the apostrophe's like: global('ColorName')