View Single Post
  #9333 (permalink)  
Old 01-16-2010, 08:27 PM
swampy395's Avatar
swampy395
PPCGeeks Regular
Offline
 
Join Date: Nov 2008
Posts: 90
Reputation: 275
swampy395 is becoming a PPCGeeks regularswampy395 is becoming a PPCGeeks regularswampy395 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: WM 6.5 Kitchen QVGA and VGA Developer Edition

Hello guys

Can anybody help me with some mortscript please

I'm trying to read, this ( Icon==//google.JPG ) from a *.txt file, and write it to reg
If i use this

data = ReadFile("\Windows\Opera9\opera6.txt")

#Get Icon
pos = Find(links[i],"Icon")
If (pos)
pos = pos + 6
len = Find(links[i], "CREATED",pos) - 19
Icon[i] = SubStr(links[i],pos,len)
EndIf

RegWriteString("HKLM","Software\Microsoft\CHome\Op era\Page"&ii,"Icon","\Windows\"&Icon[i])
I get this, \Windows\//google.JPG

But i need this, \Windows\google.JPG

I'v tryed and tryed other combination's give me an error "comma expected"
i have read the mortscript-manual but script's not realy my strong piont
someone help me please
Thanks in advance
best regards
swampy395
__________________
Reply With Quote