Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
Here is a sample project that uses multiple images and relies a lot on the format of the naming to apply the items correctly. It also uses a new dll from Worm rather than the exe. The dll converts more than just jpgs to bmps and it is smaller. All good.
I am getting so close I can smell it, From your file,I put in a picture on the sample little box, and not the picture shows up when I click for a preview, but it doesn't save to the desktop wall paper when i click the resolution sizes.
If you want to share your project/code, I may be able to help that way as well. If you don't want to post it, PM me for my e-mail or upload it somewhere and PM me the link.
IT WORKED IT WORKED!!! I must have been tired yesterday, but it worked fine this morning, Now I have to figure out where to put my jps, and also how to install a screen saver,
NP. I am glad it worked. I have done that before. Tired eyes. I tried to troubleshoot some code a while back and sat there for 45 mins at around midnight trying to get it to work, I had dialog.message actions all over trying to figure out where the varialbe was failing and come to find out it was the case in one of my variables. D'oh
Thanks for all your help. One more question not sure how to do it. I notice on some computers in office I get the message. Error in saving bitmap. when I try to save the wallpaper to the desktop. Could I save the images as bitmaps then change the code to skip the conversion part then run the code from that point on, installing the bmp to the wallpaper? Just a thoght.
Any ideal why it doesn't save to bmp on some computer?
Is the file converted? I would check to see if the file is converted first and then see why it is not being applied. There is not a check in the function to check to see if the file exists before applying it as the wallpaper.
Maybe you could just try the conversion process with the dll to see if it converts. The ToBMP.dll that Worm created returns "ERROR" if there was an error in the process. Use a dialog.message action to see what the return result is from the dll action.
I believe i got it working by deleting the if code concerning jpgs that goes to program created by worm
"function SetWallpaper(tile,style,img)
local imagesplit = String.SplitPath(img)
if imagesplit.Extension == ".bmp" then
--copy the image to the windows folder
.....
I saved my files to bmps, and skipped the process. now, it doesn't work when i change the name from your sample. (constantine) hahahha. it works with the previewing and everything, exect when i click on the 800x600 or other size for to download, nothing happens.
I believe i got it working by deleting the if code concerning jpgs that goes to program created by worm
"function SetWallpaper(tile,style,img)
local imagesplit = String.SplitPath(img)
if imagesplit.Extension == ".bmp" then
--copy the image to the windows folder
.....
I saved my files to bmps, and skipped the process. now, it doesn't work when i change the name from your sample. (constantine) hahahha. it works with the previewing and everything, exect when i click on the 800x600 or other size for to download, nothing happens.
Willie
yes that is true that it will not work because the SplitPath action was used to build the 800x600 or 1024x768 scheme. I tried to make the code more flexible rather than hard code everything.
I got it to work also, the machine that I had a problem on was one which I did not have administrative privillages on. I spent a half of day trying to fix it before someone told me.
Comment