dupa

Author Topic: CyberUi  (Read 585 times)

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
CyberUi
« on: December 29, 2024, 11:51:42 am »
A new colorful skin for you all to use

For some reason the buttons don't show up on my 7.5Hal until I hover over them and hold the mouse button down, any suggestions?
« Last Edit: January 04, 2025, 03:22:08 pm by sybershot »

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: CyberUi
« Reply #1 on: December 29, 2024, 07:06:56 pm »
@sybershot
Wow, thats so cool brother

Im totally blown away


TYVM

cyber jedi

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: CyberUi
« Reply #2 on: December 29, 2024, 11:05:03 pm »
Cyberjedi You're very welcome


Checker57

  • Full Member
  • ***
  • Posts: 155
    • View Profile
Re: CyberUi
« Reply #3 on: December 30, 2024, 07:02:58 pm »
Building the most adaptive UI for your tastes is so rewarding.  I like your concept ... it looks like an AI Oscar's award podium! 

As per your question for suggestions... I don't have an answer to your issue, however, I've been using this plugin I found and modified slightly to suit my needs below for some time ... from 6 to 7.5 with no issues.  Perhaps you can deduce what went askew with yours by going over the code?

[Ultra Hal Assistant Plugin]
Type=Skin
Name=Tall Blue Mod
Author=GamerThom, modified by Checker57
About=Ultra Hal skin for use with haptek fullbods.

;Base size and bitmap of background
SkinPic=TallBlueSkinMod.bmp
SkinWidth=400
SkinHeight=720
SkinFontSize=8

;Coordinates of Animated Character
SkinFaceX=8
SkinFaceY=8
skinFaceWidth=380
skinFaceHeight=590

;Coordinates and bitmap of menu button
SkinMenuPic=TBMENU.bmp
SkinMenuX=8
SkinMenuY=608
SkinMenuWidth=54
SkinMenuHeight=18

;Coordinates and bitmap of microphone button
SkinMicPic=TBMIC.bmp
SkinMicX=8
SkinMicY=630
SkinMicWidth=54
SkinMicHeight=18

;Coordinates and bitmap of minimize button   
SkinMinimizePic=TBMIN.bmp
SkinMinimizeX=8
SkinMinimizeY=650
SkinMinimizeWidth=54
SkinMinimizeHeight=18
   
;Coordinates and bitmap of close button   
SkinClosePic=TBCLOSE.bmp
SkinCloseX=8
SkinCloseY=672
SkinCloseWidth=54
SkinCloseHeight=18

;Coordinates and color of Hal's output box
;The background of the output displayed is transparent to the background bitmap
SkinHalBGColor=16777215
SkinHalFGColor=0
SkinHalFontName=Verdana
SkinHalTalkAlign=Center
SkinHalTalkFontSize=10
SkinHalX=78
SkinHalY=654
skinhalWidth=300
skinhalHeight=56

;Coordinates and color of User's input box
;The background of the input displayed is transparent to the background bitmap
SkinUserBGColor=16777215   
SkinUserFGColor=0
SkinUserFontName=Verdana
SkinUserTalkAlign=Center
SkinUserTalkFontSize=8
SkinUserX=78
SkinUserY=630
skinuserWidth=300
skinuserHeight=12

;Microphone Meter Settings
SkinVolBGColor=2550255
SkinVolMode=3
 
;Coordinates and color of Caption where both Hal's and the User's name is displayed
;The background of the text displayed is transparent to the background bitmap
SkinTalkFGColor=0
SkinTalkFontName=Verdana
SkinTalkAlign=Center
SkinTalkFontSize=8
SkinTalkX=120
SkinTalkY=610
SkinTalkWidth=218
SkinTalkHeight=12

Transparency=

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: CyberUi
« Reply #4 on: December 31, 2024, 06:37:33 am »
@Checker57 indeed it is very satisfying to create one's own skin, I actually made a bunch of them a long time ago, I was most satisfied about this one https://www.ultrahal.com/community/index.php?action=profile;u=4408;area=showposts;start=750 for it utilized transparency and screen size. Thanks for code unfortunately, transferring my specs over to that one didn't help either, please note: the last line of your code should read Transparency=False or digits for a transparency mask.

I'm thinking Running all my LLM's atm might be playing devil's advocate, but I'm testing them on doing some work atm and can't shut them down just yet to see.
however, if someone can test the skin out before I can restart my pc and let the community know the buttons shows up, would be greatly appreciated


Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3948
    • View Profile
Re: CyberUi
« Reply #5 on: December 31, 2024, 11:53:33 am »
I got the same results of No Buttons along the top where they should be.

Moved your button coordinated to 10, 10 and got same results of a no show.

Substituted some of my own Buttons to no avail.

Exchanged your background image for a different one and still none of your buttons showed.

The solution suddenly HIT ME!!

You need to take a screenshot and save your Background (CyberUI.jpg) with ALL of the included buttons!!

The magic then happens when someone clicks on one of them. They have to be able to see them in order to click them!

Man...I beat what's left of my tiny, old brain out! Haha!!

Give that a try then all you'll have to do it just submit the new CyberUI.jpg file for people to exchange with the old one.

Case closed...


In the world of AI it's the thought that counts!

- Art -

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: CyberUi
« Reply #6 on: December 31, 2024, 12:24:07 pm »
Thanks art for jumping in like that.....
Thanks sybershot for the concept.........
Im very humbled by all this peoples.




cyber jedi

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: CyberUi
« Reply #7 on: January 01, 2025, 11:18:46 am »
Quote
You need to take a screenshot and save your Background (CyberUI.jpg) with ALL of the included buttons!!
DOUGH!!!
@art thanks a million brother  ;D I don't got much hair left after I was pulling out over this one

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: CyberUi
« Reply #8 on: January 04, 2025, 03:23:08 pm »
fixed version uploaded

Art

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3948
    • View Profile
Re: CyberUi
« Reply #9 on: January 04, 2025, 10:22:49 pm »
Syber,

Some really nice work my friend!

All is working nicely as it should!

Thanks!
In the world of AI it's the thought that counts!

- Art -

sybershot

  • Hero Member
  • *****
  • Posts: 815
    • View Profile
Re: CyberUi
« Reply #10 on: January 06, 2025, 09:23:32 am »
Awesome, ;D Your welcome brother

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: CyberUi
« Reply #11 on: January 07, 2025, 05:38:50 pm »
sybershot, this is just mean
When it comes to plugins. this is POWER.


Rem Type=Plugin
Rem Name= forexlive
Rem Author= cyberjedi
Rem Host=All



Rem PLUGIN: PRE-PROCESS
'The preceding comment is actually a plug-in directive for
'the Ultra Hal host application. It allows for code snippets
'to be inserted here on-the-fly based on user configuration.

HalBrain.ReadOnlyMode = True 'this is so that the data doesnt go into hals brain
'Determines that you are talking about the forex.
If InStr(1,InputString, "forex",1) > 0 Then
UltraHal = Getforex(HalCommands)
ElseIf InStr(1,InputString, "forex",1) > 0 Then
End If

' This bad boy is a Forex Scraper with a twist, All the data Scraped is ported through Hals Voice. It took cyberjedi to pull it off. Enjoy.
' This also Breaks Hals speech limitations on how much he can say.
' Trigger= forex
'I put this together while listening to this. -->>>https://www.youtube.com/watch?v=aqXW57WM9TA
' I give myself about a 7.5 on cool ideas here


Rem PLUGIN: FUNCTIONS
Function Getforex(HalCommands)

Const SVSFlagsAsync = 1
Const DontShowWindow = 0
Const WaitUntilFinished = 1
Set WshShell = CreateObject("Wscript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")
Set Sapi = CreateObject("SAPI.SpVoice")
For Each Voice In Sapi.GetVoices
i = i + 1
Next
For loopvar = 0 to i-1
if loopvar = CInt(confirm_voice) then
Set Sapi.Voice = Sapi.GetVoices.Item(loopvar)
end if
Next
Set xmlDoc = CreateObject("Microsoft.XMLDOM")
Set WshShell = CreateObject("Wscript.Shell")
Set FSO = CreateObject("Scripting.FileSystemObject")
HalMenu.HalCommand "<SPEAK>" & "Reading headlines !" & "</SPEAK>"
For loopvar = 0 to 2
If tempconfirm = loopvar then
if tempconfirm = 1 then
HalMenu.HalCommand "<SPEAK>" & "Currently reading " & confirm & " latest headlines" & "</SPEAK>"
else if tempconfirm = 1 then
HalMenu.HalCommand "<SPEAK>" & "Okay ." & "</SPEAK>"
wscript.quit
else
HalMenu.HalCommand "<SPEAK>" & "Currently reading " & confirm & " latest headlines " & "</SPEAK>"
end if
end if
xmlDoc.async = false
xmlDoc.load("https://www.forexlive.com/rss/") ' This is where u put you own rss feed .xml
Set nodelist = xmlDoc.selectNodes("rss/channel/item")
i = 3
For Each item In nodelist
Set f1 = item.selectsinglenode("title")
Set f2 = item.selectsinglenode("description")
HalMenu.HalCommand "<SPEAK>" & f1.text & "</SPEAK>" ' these two lines are the Magic of the plugin
HalMenu.HalCommand "<SPEAK>" & f2.text & "</SPEAK>" ' these two lines are the Magic of the plugin
i = i + 1
if i = tempconfirm then
wscript.Quit
end if
Next
end if
Next
End Function
« Last Edit: January 07, 2025, 05:44:50 pm by cyberjedi »

cyberjedi

  • Hero Member
  • *****
  • Posts: 984
  • The Mighty Hal Machine
    • View Profile
Re: CyberUi
« Reply #12 on: January 07, 2025, 06:12:32 pm »
Rem Type=Plugin
Rem Name=Dreaming Picture Thoughts
Rem Author=cyberjedi
Rem Host=Assistant


'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
'------------------
' Define the Help
'------------------
lblPlugin(0).Caption = "Alice will show you pictures of it's thoughts in dreams. Say: INDEX IMAGE to index the image folder. Supports JPG, PNG, And GIF"
lblPlugin(0).Move 120, 120, 3300, 1000
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
cmdPlugin(0).Move 320, 650, 2100, 375
cmdPlugin(0).Caption = "Help on this plugin"
cmdPlugin(0).Visible = True
'------------------
' Define the Picture Mood listbox
'------------------
lblPlugin(1).Caption = "Alice Picture Mood level"
lblPlugin(1).Move 320, 1300, 4000, 1000
lblPlugin(1).WordWrap = True
lblPlugin(1).Visible = True
cboPlugin(0).Move 320, 1600, 1800
cboPlugin(0).AddItem "Very high"
cboPlugin(0).AddItem "High"
cboPlugin(0).AddItem "Average"
cboPlugin(0).AddItem "Low"
cboPlugin(0).AddItem "Minimal"
cboPlugin(0).Visible = True
cmdPlugin(1).Caption = "Apply Changes"
cmdPlugin(1).Move 320, 2100, 1600, 375
cmdPlugin(1).Visible = True
'------------------
' Update the listbox with the current value stored in the table
'------------------
If HalBrain.CheckTableExistence("pvrParameter") = True Then
pvrPictureMood = HalBrain.TopicSearch("PICTURE", "pvrParameter")
If pvrPictureMood = "" Then pvrPictureMood = 1
Select Case pvrPictureMood
Case 100
cboPlugin(0).Text = "Very high"
Case 75
cboPlugin(0).Text = "High"
Case 50
cboPlugin(0).Text = "Average"
Case 25
cboPlugin(0).Text = "Low"
Case 10
cboPlugin(0).Text = "Minimal"
End Select
End If
End Sub





Sub cmdPlugin_Click(Index)
Dim pvrTempQuery()
Dim pvrPicture, pvrPictureMood
Select Case Index
Case 0
HalMenu.HalCommand "<RUNPROG>pvrJpgHelp.html</RUNPROG>"
Case 1
'------------------
' Convert the listbox in a value
'------------------
Select Case cboPlugin(0).Text
Case "Very high"
pvrPictureMood = 100
Case "High"
pvrPictureMood = 75
Case "Average"
pvrPictureMood = 50
Case "Low"
pvrPictureMood = 25
Case "Minimal"
pvrPictureMood = 10
End Select
'------------------
' If the Parameter table does not exist, I create it
'------------------
HalBrain.ReadOnlyMode = False
pvrTableName = "pvrParameter"
If HalBrain.CheckTableExistence(pvrTableName) = False Then
'Create table if it doesn't exist
HalBrain.CreateTable pvrTableName, "TopicSearch", "miscData"
End If
'------------------
' Search if it contains the PictureMood parameter
'------------------
pvrPicture = "PICTURE"
If HalBrain.TopicSearch(pvrPicture, pvrTableName) = "" Then
'------------------
'Creates the record storing the new value
'------------------
HalBrain.AddToTable pvrTableName, "TopicSearch", pvrPicture, pvrPictureMood
Else
'------------------
'Updates the record storing the new value
'------------------
HalBrain.RunQuery "UPDATE " & pvrTableName & " SET topic = " & pvrPictureMood & " WHERE searchString = " & """" & pvrPicture & """", pvrTempQuery
End If
End Select
End Sub

Sub OptionsPanel()
lblPlugin(0).Caption = "Enables talking dream mode."
lblPlugin(0).Move 130, 180, 3400, 1200
lblPlugin(0).WordWrap = True
lblPlugin(0).Visible = True
End Sub


Rem PLUGIN: SCRIPT_LOAD
Script_Load = Script_Load & "<DREAMOUTLOUD>"




Rem PLUGIN: FUNCTIONS
'
'------------------
' Declare variables
'------------------
Dim PicLastIdleResponse, MyPicMediaDir, PicDefaultLoad, PicDudOut


Rem PLUGIN: PLUGINAREA7
'------------------
' Begin measuring pause time and capture userName
'------------------
PicLastIdleResponse = Now
PicDudOut = 0

Rem PLUGIN: PLUGINAREA1
If OriginalSentence <> "" Then
MyPicMediaDir = PicMediaDir()
PicDefaultLoad = MyPicMediaDir & "DefPic.jpg"
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(PicDefaultLoad) Then
Set objWSHShell = CreateObject("WScript.Shell")
objWSHShell.Run """" & PicDefaultLoad & """"
End If
End If
Rem PLUGIN: PLUGINAREA5
'The comment above tells Ultra Hal Assistant to insert the following code
'on-the-fly into the main brain code in the section referenced.



'------------------
' Check if the user asked for reorganizing the Image table
'------------------
pvrJpg = False
If InStr(UserSentence, " INDEX ") <> 0 And InStr(UserSentence, " IMAGE ") <> 0 Then pvrJpg = True

If pvrJpg = True Then
'------------------
' If the Image table does not exist, I create it
'------------------
HalBrain.ReadOnlyMode = False
pvrTableName = "pvrJpg"
If HalBrain.CheckTableExistence(pvrTableName) = False Then
' Create table if it doesn't exist
' It must be of type Brain, to allow partial text search
HalBrain.CreateTable pvrTableName, "Brain", "miscData"
Else
' The 260 parameter is 256 + 4 = Yes/No with Default = No
pvrAnswer = MsgBox("Shall I delete the existing image index and recreate it from scratch?", 260, "Image Reindexing")
If pvrAnswer = 6 Then
HalBrain.RunQuery "DELETE FROM " & pvrTableName, pvrTempQuery
End If
End If
'------------------
' Ask which is the main Image folder
'------------------
pvrJpgFolder = InputBox("Which main folder to you want to reindex?", "Image Reindexing", "c:\pict")
'------------------
' Read the main Image folder
'------------------
Set pvrFso = CreateObject("Scripting.FileSystemObject")
If pvrFso.FolderExists(pvrJpgFolder) Then
GetResponse = "I have indexed all the Image files in the specified folder and subfolders. "
HalBrain.ReadOnlyMode = False
pvrCurrentFolder = pvrJpgFolder
Call pReadFolder(pvrCurrentFolder, pvrJpgFolder)
Else
GetResponse = "The folder " & pvrJpgFolder & " does not exist on your computer. "
End If
HalBrain.ReadOnlyMode = True
End If



'------------------
' From time to time, Hal will show a picture, according to the subject
' For example, you say: "I like cats"
' Hal might show a picture of a cat
'------------------
'------------------
' check the current image mood factor
'------------------
pvrPictureMood = HalBrain.TopicSearch("PICTURE", "pvrParameter")
If pvrPictureMood = "" Then pvrPictureMood = 0
pvrPictureMood = CInt(pvrPictureMood)
pvrKeywords = ""

If pvrPictureMood > 0 Then
pMediaintHighNumber = 110
pMediaintLowNumber = 1


Randomize
pMediaintNumber = Int((pMediaintHighNumber - pMediaintLowNumber + 1) * Rnd + pMediaintLowNumber)


If pMediaintNumber < pvrPictureMood Then
pvrNameToPlay = ""
If pvrNameToPlay = "" Then
pvrKeywords = WN.FindFirstNoun(UserSentence, True)
pvrKeywords = Trim(Ucase(pvrKeywords))
If pvrKeywords <> "" Then
pvrKeywords = " " & pvrKeywords & " "
pvrKeywords = Replace(pvrKeywords,", "," , ",1,-1,vbTextCompare)
pvrKeywords = Replace(pvrKeywords," ","xx",1,-1,vbTextCompare)
pvrKeywordList = Split(pvrKeywords, ",")
For i = Lbound(pvrKeywordList) To Ubound(pvrKeywordList)
pvrNameToPlay = HalBrain.QABrain(pvrKeywordList(i), "pvrJpg", 0)
Next
End If
End If

If pvrNameToPlay = "" Then
pvrKeywords = WN.FindFirstNoun(UserSentence, False)
pvrKeywords = Trim(Ucase(pvrKeywords))
If pvrKeywords <> "" Then
pvrKeywords = " " & pvrKeywords & " "
pvrKeywords = Replace(pvrKeywords,", "," , ",1,-1,vbTextCompare)
pvrKeywords = Replace(pvrKeywords," ","xx",1,-1,vbTextCompare)
pvrKeywordList = Split(pvrKeywords, ",")
For i = Lbound(pvrKeywordList) To Ubound(pvrKeywordList)
pvrNameToPlay = HalBrain.QABrain(pvrKeywordList(i), "pvrJpg", 0)
Next
End If
End If

If pvrNameToPlay = "" Then
pvrKeywords = HalBrain.RemoveExtraSpaces(HalBrain.ExtractKeywords(" " & UserSentence & " "))
pvrKeywords = Trim(Ucase(pvrKeywords))
If pvrKeywords <> "" Then
pvrKeywords = " " & pvrKeywords & " "
pvrKeywords = Replace(pvrKeywords,", "," , ",1,-1,vbTextCompare)
pvrKeywords = Replace(pvrKeywords," ","xx",1,-1,vbTextCompare)
pvrKeywordList = Split(pvrKeywords, ",")
For i = Lbound(pvrKeywordList) To Ubound(pvrKeywordList)
pvrNameToPlay = HalBrain.QABrain(pvrKeywordList(i), "pvrJpg", 0)
Next
End If

End If
If pvrNameToPlay = "" Then
pvrKeywords = WN.FindFirstNoun(UserSentence, True)
pvrKeywords = Trim(Ucase(pvrKeywords))
If pvrKeywords <> "" Then
pvrKeywords = CurrentSubject
pvrKeywords = "xx" & pvrKeywords & "xx"
pvrKeywords = Replace(pvrKeywords,", ","xx,xx",1,-1,vbTextCompare)
pvrKeywordList = Split(pvrKeywords, ",")
For i = Lbound(pvrKeywordList) To Ubound(pvrKeywordList)
pvrNameToPlay = HalBrain.QABrain(pvrKeywordList(i), "pvrJpg", 0)
Next
End If
End If
If pvrNameToPlay <> "" Then
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(pvrNameToPlay) Then
Set objWSHShell = CreateObject("WScript.Shell")
objWSHShell.Run """" & pvrNameToPlay & """"
End If





End If
End If
End If


Rem PLUGIN: FUNCTIONS
'The preceding comment is actually a plug-in directive for
'the Ultra Hal host application. It allows for code snippets
'to be inserted here on-the-fly based on user configuration.

Function pReadFolder(pvrCurrentFolder, pvrJpgFolder)
Set pvrFso = CreateObject("Scripting.FileSystemObject")
Set pvrFolder = pvrFso.GetFolder(pvrCurrentFolder)
'------------------
' Read all the files in the current folder
'------------------
Set pvrFiles = pvrFolder.Files
For Each pvrFile in pvrFiles
'------------------
' It's an JPG, PNG, Or GIF file; I add it to the table
'------------------
If UCase(Right(pvrFile, 3)) = "JPG" Then
pvrImage = Ucase(pvrFile)
pvrImage = Replace(pvrImage, ".JPG", "")
pvrLen = Len(pvrImage)
pvrPos = InStrRev(pvrImage, "\")
pvrRight = pvrLen - pvrPos
pvrImage = LTrim(Right(pvrImage, pvrRight))
pvrImage = " " & pvrImage & " "
pvrImage = Replace(pvrImage," ","xx",1,-1,vbTextCompare)
HalBrain.AddToTable "pvrJpg", "Brain", pvrImage, pvrFile
End If

If UCase(Right(pvrFile, 3)) = "PNG" Then
pvrImage = Ucase(pvrFile)
pvrImage = Replace(pvrImage, ".PNG", "")
pvrLen = Len(pvrImage)
pvrPos = InStrRev(pvrImage, "\")
pvrRight = pvrLen - pvrPos
pvrImage = LTrim(Right(pvrImage, pvrRight))
pvrImage = " " & pvrImage & " "
pvrImage = Replace(pvrImage," ","xx",1,-1,vbTextCompare)
HalBrain.AddToTable "pvrJpg", "Brain", pvrImage, pvrFile
End If

If UCase(Right(pvrFile, 3)) = "GIF" Then
pvrImage = Ucase(pvrFile)
pvrImage = Replace(pvrImage, ".GIF", "")
pvrLen = Len(pvrImage)
pvrPos = InStrRev(pvrImage, "\")
pvrRight = pvrLen - pvrPos
pvrImage = LTrim(Right(pvrImage, pvrRight))
pvrImage = " " & pvrImage & " "
pvrImage = Replace(pvrImage," ","xx",1,-1,vbTextCompare)
HalBrain.AddToTable "pvrJpg", "Brain", pvrImage, pvrFile
End If

Next
'------------------
' Read all the subfolders in the current folder
'------------------


Set pvrSubFolders = pvrFolder.SubFolders
For Each pvrFolderObject in pvrSubFolders
'------------------
' Pay attetion here: This is recursive! We must be sure that it will get to an end
' Since we are reading directories on a hard disk, the number of recursions
' should never be infinite. However, a very big number of subfolders and files
' might lead to memory problems or to performances bottlenecks.
' I've tested it on a folder containing about 100 subfolders and 3.000 files,
' and got acceptable performances (less than 5 minutes)
'------------------
Call pReadFolder(pvrFolderObject, pvrJpgFolder)
Next

End Function

'Directory
Function PicMediaDir()
Set fso = CreateObject("Scripting.FileSystemObject")
PicMediaDir = fso.GetAbsolutePathName(".") & "\pics\"
End Function

Rem PLUGIN: MINUTE_TIMER

If PicDudOut = 0 Then
If PicLastIdleResponse <> "" Then
If (Now - PicLastIdleResponse > 3 / 1440) And (Now - PicLastIdleResponse < 4 / 1440) Then
PicDudOut = PicDudOut + 1
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(PicDefaultLoad) Then
Set objWSHShell = CreateObject("WScript.Shell")
objWSHShell.Run """" & PicDefaultLoad & """"
End If
End If
End If
End If