page count of .tif file

vbscript

    Next

  • 1. Help with script
    I would like to determine if a machine is a workstation or a server. I am running the script below, but it keeps erroring out, by saying "<machine> does not have wmi installed" ' Specify NetBIOS name of the computer strComputer = "\\image1 ' Trap the error if WMI is not installed, or if the compute ' is off line On Error Resume Nex Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2" If Err.Number <> 0 The On Error GoTo Wscript.Echo strComputer & " does not have WMI installed Els On Error GoTo Set colComputers = objWMIService.ExecQuery ("SELECT * FROM Win32_ComputerSystem" For Each objComputer In colComputer intRole = objComputer.DomainRol Select Case intRol Case strRole = " is a standalone workstation Case strRole = " is a member workstation Case strRole = " is a standalone server Case strRole = " is a member server Case strRole = " is a backup domain controller Case strRole = " is a primary domain controller End Selec Wscript.Echo strComputer & strRol Nex End I
  • 2. Example/Help needed : Enumerating the ACLs for OUs
    The AD where I work is all messed up... they have ACL'd OUs differently. Some OUs have the ability to create Computer objects, reset Computer object passwords, and change the Computer ebject... and other OUs do not. We need to find out which OUs have these permissions and contact the OU owners before we remove the specific permissions... we are locking down the domain. Does anyone have a script where I can specifically iterate through the OUs and pull the object ACLs for the containers OR iterate through the AD, look at each computer object and pull the ACLs on those. I prefer the OU method as it is a few hundred vs 100k+ computers. thanks for the help!
  • 3. Need help to split a string into text and numeric values !!
    Hi, I need a way to extract the numbers from units. I read each value into a variable strline and then need to split the units and numbers into 2 seperate variables var1 and var2. Here's the input.txt file and part of the code. Thanks, SA Part of the code: ============ strline=objFileR.readLine Do until objFileR.AtEndofStream if RegExprTest("K|M|MHz|GHz", strline) then 'var1 = gets numbers 'var2 = gets units Input.txt: ====== 200K 750K 1M 915MHz 433.92MHz 802.11GHz 2.4GHz 2.45GHz
  • 4. Extended stored procedures and WSC
    Hi I have seen an example of how to wrap a com object up using TSQL and extended stored procedures. I have seen how to use WSC files both after they are registered and by referencingthe file. What I would like to know is, can you use SQL to consume a WSC file and whether you can use it without registering it? Basically I want to write com objects using script and use them via tsql..has anyone ever done anything liek that/

Re: page count of .tif file

Postby Alexander Popkov » Sat, 24 Apr 2004 17:14:04 GMT

> I need to resolve the page count of a .tif file using vbscript.  Anybody
know how to do this?

I know about a component counting pages in TIFF file:
 http://www.**--****.com/ 


Similar Threads:

1..tif file page count

2.Using MODI to convert multi-page tif to single page tif

I have thousands of multipage tif images in many subdirectories that I need 
to convert into single page tifs.  I have vba code to do this (written in MS 
Access) that loops thru the directory tree and I can access info about the 
tifs using MODI.  What I'm looking to do now is convert/save the existing 
multiple page tif to a series of single page tifs so they can be imported 
into our image repository.  Anyone know how to do this?  For example, if the 
current multiple page tif is six pages is would create six single page tifs 
(e.g. sample1_page1.tif,sample1_page2.tif,...

Thanks.

3.join two tif files to one tif file

Hello there

I need to Storage of tifs.

I need to joins these tifs to one tif, accoding to some data on it.

Is there a way to do this on code?


4.View page 2 of TIF file with PictureBox

I'm using a picturebox control to view .tif files in a directory.  Some of 
these files have a second page.  Is there any way to view the other pages in 
this instance?

5.MSO Picture Manager has no support for 2 page tif files

6. File conversion, Tif file to a ico file format

7. how to count the number of pages of a file

8. count number of pages in a tiff file



Return to vbscript

 

Who is online

Users browsing this forum: No registered users and 97 guest