Sycamore Posted April 12, 2009 Posted April 12, 2009 I'm sending 4096x2048 .jpg files (along with other small sizes that work fine) to buttons and also to a relatively small splash screen in Cosmic SkyCycling, a script I worked up for Oblivion. The larger jpg files are just "not there" when the script displays them on screen in Vista(Utimate64bit) (you can open them normally outside the script and they look ok). The script displays them just fine in XP. I have tried a number of simple things such as compatibility mode and other settings in the properties screen of the exe, but none of my tweaks fixed the problem. Obviously, I can fix things if I resave the jpg files with a lower resolution (2048x1024 images are ok, for instance), and that's what I'm doing for now - we just released the software so I'd like to get the download repaired asap. However, it would be great to hear from anyone that might be aware of this issue. Thanks.
BinaryBrother Posted April 12, 2009 Posted April 12, 2009 I'm not aware of any imaging issues in Vista, but I do know that the following can cause problems... #RequireAdmin with UAC OFF, I think there is a bug on the tracker about this... No #RequireAdmin with UAC enabled can result in very odd things... If Win_Vista and UAC = Enabled, then #RequireAdmin... SIGNATURE_0X800007D NOT FOUND
Mat Posted April 12, 2009 Posted April 12, 2009 (edited) If Win_Vista and UAC = Enabled, then #RequireAdmin... There must be a way to access those settings and add it into #requireadmin? If Regread ("HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System", "ConsentPromptBehaviorAdmin") <> 0 Then #RequireAdmin EndIf I don't have vista, so can't test, I don't even know if autoit lets you have an include/requireadmin within a conditional statement... Even better...Build it into the requireadmin, so this little script is unneccessary. Edited April 12, 2009 by mdiesel AutoIt Project Listing
BinaryBrother Posted April 14, 2009 Posted April 14, 2009 It does at the header of the file... Such as Line 1--> If @OS = "Win_Vista" Then Line 2--> #RequireAdmin Line 3--> EndIf I'm pretty sure that works, but I've noticed that putting it later in a file is bad news... SIGNATURE_0X800007D NOT FOUND
Mat Posted April 14, 2009 Posted April 14, 2009 surely thats only testing the OS? mine reads the value of the key (Which to disable UAC you put to 0). So it knows not only if its on vista, but also if its enabled or disabled. I don't know if mine works, but it looks like it should. AutoIt Project Listing
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now