Learning AppleScript

Hi everybody,
I have:
Folder with a buch of mht files that I want to convert to html.
Firefox with UnMHT addon installed which allows me to view and save mht pages as html.
AppleScript Editor.
The script for accomplishing this would basically consist of the follwong steps:
Open the folder with mht files.
Open Firefox.
Tell Firefox to open the first file on the list.
Tell Firefox to save the file as html in the same folder.
Tell Firefox to close the file.
Repeat the process 3-5 till the last file.
End
I managed to write a script that does steps 3-5. The script looks like this:
tell application "Firefox"
    activate
end tell
tell application "System Events"
    tell process "Firefox"
        open "/Users/admin/Desktop/Test/webpage.mht"
        keystroke "s" using {command down}
        delay 1
        keystroke return
        delay 1
        keystroke "w" using {command down}
    end tell
end tell
It doesnt work perfectly. Now the next step is to repeat the same process for all the files within the folder. How to do that? What do I need to learn?
Sincerely,
Marino

Firefox is not scriptable and your solution is probably as close as you will get..
set myFolder to (path to desktop as text) & "Test"
activate application "Firefox"
tell application "System Events"
    set myFiles to every file of folder myFolder whose visible = true
    repeat with aFile in myFiles
        set pPath to aFile's POSIX path
        tell process "Firefox"
            open pPath
            keystroke "s" using {command down}
            delay 1
            keystroke return
            delay 1
            keystroke "w" using {command down}
            delay 1
        end tell
    end repeat
end tell

Similar Messages

  • Trying to learn Applescript

    I am referencing this 'guide':
    Adobe Illustrator CS6 Scripting  Reference: AppleScript
    I am trying some of the examples in this guide with my copy of CS6 and have yet to get a single example to do anything.
    Clearly I am missing something ridiculously obvious.
    Can anybody throw some light on this?
    Thanks
    Sean

    Oh I don't know the reason for that without examples… I started out scripting with AppleScript and its fine… What you do need to take into consideration is the pros on cons of each given language… This can be pretty confusing when starting out… So heres my brief overview…
    AppleScript ( mac ) & Visual Basic ( pc ) offer wider access to your system and it's other applications… While you will get help offered here you may find more and better help elsewhere… certainly with the core code less so with the app itself as all may not use it… Each of these is platform specific…
    If your new to scripting then Adobe also offers ExtendScript… this is used more widely here in these forums and is platform agnostic…
    Im not trying to push you in any direction but you should do a little studying and determine which suites your needs best…
    What is it that you want to automate…? does it use non Adobe apps… what OS does it need to run on… and so on…
    Personally I started out using AppleScript but now prefer ExendScript ( not quite as easy but there you go ).
    Nothing to stop you learning more than one if need be… once you've got a grip of the basic principles of maths, strings, loops and such theres not a massive difference between them…

  • Book Recommendation to Learn Applescript?

    I'd like to buy the title: "Applescript Programming for the Absolute Beginner" published by the company Thomson. The title fits me perfectly and it's one of the shorter books out there (the basics are more than enough for me at this point).
    It was published in July of 2007 though.
    I'm wondering, is Applescript today significantly different from the Applescript of 2.5 years ago or mostly the same? Would I be foolish to purchase a title written before 2010?
    I'm living in Japan at this time so unfortunately there are no English books that I can peruse at the bookstore : (. Hah.
    Thanks for your input!

    Tony is completely correct about there being a lot of online resources, but that being said the professionalism of a good book can't be denied. Also personally I never found that perfect tutorial on applescript online that I was looking for (though I am sure it is out there).
    I'd like to add on a wholly personal note, which could easily be contested, that applescript is not the best first programming language to learn. Due to its english like syntax it is often unclear (at least to me) and any tutorial will be forced to spend a lot of time on aliases/folders/files and scripting finder and other apps which I feel should be extensions you learn after the basics. (One tutorial I remember the first thing you learn is how to make the computer speak "Hello World." using the command 'say'. Really? Does this help you learn anything about programming?)
    I tried to get a handle on (pun intended) applescript a few years back but just got frustrated as I was learning how to go through the motions but not what was going on behind them. After learning C (excellent online tutorials) I can now compare every functional aspect of applescript to a lower level language and just had to add on the use of higher level scripting to get better at applescript.
    Just my two cents though.
    Also I've found that the title of any book or resource which contains "Absolute Beginner" is extremely tedious, no matter the subject, as it will constantly reinforce basic points and ignore anything it feels to complicated. I prefer a basics or even standards book which makes you refer to earlier parts in the book and outside subjects (at least it will tell you what they are) on your own.
    In summary: if all you want is the basics of applescript to move files around on your computer then you should find all of it online and not need to buy the book; if you want to learn a programming language and be able to actually program then I'd recommend a different language first and buying a more advanced applescript book later.
    Good Luck,

  • Applescript new file

    Hi everybody
    I am quite new to Mac and new to programming.
    I am learning Applescript. I am trying to write a simple script that I can add to the title bar of Finder.
    I want the script to show a choose file box where I input the name of a file to create and choose the destination to save it to.
    Then click ok and it saves it where I want and as i want including Tags
    I can do the first part, show the choose file name with properties. the problem I have is how to get Applescript to then save it where I want.
    The best I can do so far is to have the script saved as what I want but only in the default location which is set to desktop. How do I get Applescript to get the location of where I chose and put it into a variable so that I can then tell Applescript to make new file at the variable with the name entered in the choose file name box
    Any help would be grateful
    Thank you

    Once you have the result from choose file name you can use open for access to create the file, followed by write to write data to it, and close access to clean up when you're done:
    -- prompt the user for the file name:
    set fn to choose file name
    -- open (and create) the file:
    set f to open for access fn with write permission
    -- write some data to it:
    write "blah" to f
    -- and close it when you're done:
    close access f
    So I think 'open for access' is the part you were missing. It creates the file if it doesn't already exist, otherwise it allows you to overwrite/append data to an existing file.

  • Removing "Run Only" attribute on AppleScript?

    So, let's say I wrote a killer script. Now I want to use it as the base for another script, but i inadvertently saved my script as "run only".
    Is there a way to change the attribute of this file (Sort of like a dos attrib command on a pc?)

    You either misunderstand "Andreas's hope" or misrepresent it. It has nothing whatsoever to do with "open source", and whether or not you know how to crack into someone's deliberately hidden scripting does not in the remotest way affect your learning of AppleScript. It has to do with data protection. I am sure you are not in favour of making piracy easier.
    I have spent many years encouraging people to learn AppleScript and helping them with their scripting. A decompiler could conceivably give information to someone with good scripting abilities, but what use it could possibly be to someone learning scripting is beyond me. If you are sincere in wishing to improve your scripting then I can assure you that if you found a suitable decompiler it would - unless you were very expert - only give you incomprehensible gobbledegook. A decompiler is most assuredly NOT a learning tool.
    My apologies for upsetting you. Happy scripting!
     

  • Applescript buttons returned from display dialog

    Hi!
    I have been learning Applescript for about a month and found the following issue which I thought was an easy implementation.
    On the "text returned" I get the error condition described. Do not understand!
    Any help would be appreciated.
    display dialog ("ENTER COMPANY NAME") with title ("TOTAL SHARE SPECIFICATION")
    buttons {"Cancel", "Company"} default button "Company" default answer ""
      set BUTTON_Returned to button returned of the result
      set CompanyName to text returned of the result
    error "Can’t get text returned of \"Company\"." number -1728 from text returned of "Company"
    MacBook 6.1     OS X Yosemite     Vn 10.10.1
    Script Editor  Vn. 2.7 (176)
    Applescript 2.4
    Regards

    No question that Applescript can be frustrating to learn. Many things about it have to be figured out by trial and error and when dealing with scripting applications all bets are off. The application designer can pretty much do as they want so what works in one app might not work in another even though you are using the same and correct applescript
    I find Introduction to AppleScript Language Guide by Apple to be a good source of answers and usually always have it open when I'm scripting  for quick reference.
    Spend some time getting familiar with the script editor. It is intelligent and can usually steer you in the right  direction when it comes to debugging.  Especially get use to and pay attention to the colors it assigns to items in your script.
    For example in your original script notice the colors of Button_Returned and CompanyName (your variables) and compare those to result and button returned. Also notice how text returned is a different color from button returned even though both are essentially the same thing. This is an indication that something is not right and it is where the error message occurred. (for a list of the default colors used open the Script Editors preferences and look at the Formatting tab).
    Notice  also how the editor formats your scripts, again the way the script gets formatted can tell you a lot if there is an error.
    Finally the error messages while cryptic can offer some clues. In your case the error message was
    error "Can’t get text returned of \"Company\"." number -1728 from text returned of "Company"
    generated by the line
    set CompanyName to text returned of the result
    The last part of the error message is essentially the line that caused the error after evaluation. So here result evaluated to “Company” which doesn't seem right, display dialog returns a record.
    Finally there is the log statement which will print its value to the log window
    Hope this helps
    regards

  • AppleScript Additions...Huh?

    I'm trying to learn AppleScript. I have the script below, that's supposed to generate prime numbers. It comes with an "AppleScript Addition" called "Math Commands".
    Is there something I'm supposed to do with the AppleScript addition in order to get the Primes script to run?
    Thanks,
    Bob
    local min, max, neverZero, maxDiv, divTry, res
    -- Here you can set any range that suits you
    set {min, max} to {1, 100}
    set res to {}
    -- By some people's opinion, 1 is not considered a prime
    if min = 1 then set min to 2
    -- 2 is special, so it has to be handled in its own way
    if min = 2 then set {res, min} to {{2}, 3}
    -- We can't use even numbers, because they are never primes, except for 2
    if min mod 2 = 0 then set min to min + 1
    repeat until min > max
    set maxDiv to («event Måthfloo» («event Måthsqrt» min)) as integer
    set {neverZero, divTry} to {true, 3}
    repeat until divTry > maxDiv
    if min mod divTry = 0 then
    set neverZero to false
    exit repeat
    end if
    set divTry to divTry + 2
    end repeat
    if neverZero then set res to res & min
    set min to min + 2
    end repeat
    {Numberofprimes:length of res, Listofprimes:res}

    Hi Bob,
    Is it the Math Commands mentioned here?
    http://osaxen.com/files/mathcommands1.0.html
    If so I think it is written for OS9 and won't work in OSX.
    This script doesn't need an OXAN in OSX. Try this:
    local min, max, neverZero, maxDiv, divTry, res
    -- Here you can set any range that suits you
    set {min, max} to {1, 100}
    set res to {}
    -- By some people's opinion, 1 is not considered a prime
    if min = 1 then set min to 2
    -- 2 is special, so it has to be handled in its own way
    if min = 2 then set {res, min} to {{2}, 3}
    -- We can't use even numbers, because they are never primes, except for 2
    if min mod 2 = 0 then set min to min + 1
    repeat until min > max
    set maxDiv to round (min ^ (1 / 2)) rounding down
    set {neverZero, divTry} to {true, 3}
    repeat until divTry > maxDiv
    if min mod divTry = 0 then
    set neverZero to false
    exit repeat
    end if
    set divTry to divTry + 2
    end repeat
    if neverZero then set res to res & min
    set min to min + 2
    end repeat
    {Numberofprimes:length of res, Listofprimes:res}
    Best wishes
    John M

  • How do I print duplex via AppleScript?

    Hello - I am new to applescript and having a bit of difficulty trying to get started. My initial goal is fairly straightforward: each day (via an iCal action) download a specific URL and print it. Specifically, it's my daily newspaper and I'd like it waiting on the printer in the morning.
    Most things worked very well via Automator, but I can't specify print options going that route (at least as far as I know). So, it my first good reason to learn AppleScript. However, I've perused quite a few sites and searched this forum, but can't figure out how to specify printer options like two sided printing.
    Can anyone please point me in the right direction.
    Not sure if you need this, but the printer type is a canon ip4300

    When you say "Adobe", do you mean Acrobat or Reader (for PDFs), or one of Adobe's many other programs?
    Usually, the option to print duplex is part of the print driver, and should appear in the print dialog regardless of the application.
    Some apps have their own front to the print dialog, but you should still be able to get the rest of it.
    The orientation is usually controlled by specifying Long Edge or Short Edge.

  • Error when compiling AppleScript for CS2, need help

    I've recently started learning AppleScript, and while I'm no stranger to programming I'm a little lost when it comes to errors like this one. I have both InDesign CS2 and InDesign CS3 installed so I'm not sure if my problem is caused by that, they were installed before I started working on this mac. I've also been recently upgraded from Tiger to Leopard, in case that might be a probable cause.
    Basically, my problem stems from this:
    tell application "Adobe InDesign CS2"
        get active document
    end tell
    When I try to compile this I get a Syntax Error that says "Expected end of line but found class name." and highlights "document". I've also had problems trying to use things like "page 1" or "view preferences" with similar errors. With the case of things like "page 1" I've had to replace it with "item 1 of pages" to get it to compile.
    If I change it to "Adobe InDesign CS3" it works fine, but I need to compile for CS2 for backwards compatability. Strangely, this method works:
    set indesign to application "Adobe InDesign CS2"
    tell indesign
        using terms from application "Adobe InDesign CS3"
            get active document
        end using terms from
    end tell
    Does this mean my CS2 dictionary is broken? I can view it fine from the Script Editor, and I've seen things like "active document" used in example scripts, so this syntax error is confusing me.

    I'm not sure why you're getting that error, but a couple of things:
    Using "document 1" instead of "active document" is not a bad habit,
    because there are cases where active document doesn't work.
    When you compile the scripts, the version is somewhat irrelevant -- when
    you go to run them, they look for a running application of the same creator
    code, and use that. It's a bit like when you double-click on a document in
    the Finder -- it doesn't matter what version of ID you made it in, it will
    try to open in whatever version is running first.
    Shane Stanley <[email protected]>
    AppleScript Pro Sessions <http://scriptingmatters.com/aspro

  • How do I execute AppleScript when I open my computer?

    I would like to have several actions execute when I open my macbook air. I am just learning AppleScript and I would like to do this in AppleScript.

    SleepWatcher

  • Is this feasible with Applescript?

    I'm trying to figure out how to make the following happen for a law firm. I describe it in a short version, and then detail it in a long version.
    I'm told that Hazel nor Automator isn't really the solution.
    And if applescript is the best solution, then the next question is, where is a recommended place for me to do some "dummies" courses in learning Applescript?
    Short version:
    A Law firm would like to basically input a small set of data, such as a new Client's name and relevant contact details, and have a folder generated that includes subfolders. Inside the subfolders would be sets of documents that are automatically used with every new client, such as letter of introduction, contract, probate, will, etc. Ideally there would also be a step-by-step checklist generated with each client.
    Long version (my initial design document):
    ESTATE PLANNING
    FOLDERSNew Client Folders
    Client Documents
    Correspondence
    Estate Planning DocumentsSignatures
    Attorney Notes
    Funding
    Grant Deed(s)
    Preliminary Change of Ownership Form
    Letters to Financial Institutions
    COMMON LETTERSConcept: Type in certain data which would generate following:
    Engagement Letter – Hires Law Firm
    Funding Letter – What is missing or needed
    Closing Letter
    Trust Administration Letter
    Email Introducing Firm & Attachment (Indiv/Partnered/Married)
    Email – Closing Letter
    PROBATE
    FOLDERSNew Client Folders
    Client Documents
    Correspondence
    Pleadings
    Attorney Notes
    Discovery
    COMMON LETTERSConcept: Type in certain data which would generate following:
    Engagement Letter – Hires Law Firm
    Closing Letter
    (Other letters?)
    LITIGATION
    FOLDERS
    New Client Folders
    Client Documents
    Correspondence
    Pleadings
    Attorney Notes
    Discovery
    COMMON LETTERS
    Concept: Type in certain data which would generate following:
    Engagement Letter – Hires Law Firm
    Closing Letter
    (Other letters?)
    GENERAL CONSIDERATIONS
    1.  Process should include detailed checklist for each major area – EP, PRO, LIT;

    So you're looking for some help writing (part of) a software package that caters to the practice of law?
    These packages have been written before.  If you don't use one or customize one of the existing packages, then spend the time to look and see what the packages provide and (where that's available) how.
    LawStream and Desk Space Attorney are two that showed up in a quick search, and Firm Manager is cloud-based with OS X connectivity, and it is quite certain that there are other local and hosted packages for legal practices available.
    Or yes, you can roll your own customized legal practice package.  I probably wouldn't touch AppleScript here for much, if you're going to get paid to create a custom solution.  I'd probably using some combination of Python and bash for scripting, and Objective-C and Cocoa for applications, and probably some bridging, depending on what you're doing.  Ways to send mail and log calendar events from Python and Objective-C code do exist, too.
    For a full-on practice-management package, you're heading toward the creation of a state table (to control the sequencing that's typical here, do this task, then log that, fill those document fields from that document, then do whatever else, suggest some considerations to the attorney or the clerk based on the context, then generate an entry for the bill; that sort of thing), a document revision management system (for the masters and for the copies sent to the clients), the usual connections to mail and calendar, a mail-merge package to insert the changes from the customer database into the master copies of the documents, an audit trail both for accountability and billing, and a document store.  Using a directory tree would be an obvious approach for a simple implementation, but that doesn't tend to scale all that well; using a database or potentially a source code control package such as Mercurial (Hg) or git would be more typical.
    In general, AppleScript would not be my choice of implementation language here; not for something a practice was going to depend on.  There might well be cases where AppleScript would be useful and would be part of the solution, but GUI scripting isn't the most robust long-term approach for an application.  And there are other tools that can sequence stuff.  Could you generate a set of directories pre-populated with master copies of documents with an AppleScript script?  Sure...  A bash shell script or a Python script, ObjC, or most other languages could manage this, too.

  • A question about applescript

    Hi:
         I am learning applescript and trying to follwo example in books. I found that I can not change the width of name column under list view of Finder just as the examples. My script is as below:
    tell application "Finder"
      activate
              tell list view options of the front Finder window
                        tell column name column
                                  set its width to 2000
                        end tell
              end tell
              tell the front Finder window
                        set current view to list view
              end tell
    end tell
    tell application "Finder"
      activate
              tell list view options of the front Finder window
                        tell column name column
                                  get its width
                        end tell
              end tell
    end tell
    ==> I can set the value of "width". But I can find any change in the finder window.
                                                  Thanks!!!

    There is a problem with Finder windows reflecting scripted changes.
    You can get around this by closing and then re-opening the window after you make the change.  Something like this for the first part of your script.
    tell application "Finder"
      activate
              set thisFolder to target of front Finder window --<-- store the window
              tell list view options of the front Finder window
                        tell column name column
                                  set its width to 2000
                        end tell
              end tell
              tell the front Finder window
                        set current view to list view
      close --<-- close the window
              end tell
      open thisFolder --<-- re-open the window
    end tell

  • Applescript equivalent of Automator's "Combine PDF"?

    Folks -
    I'm starting to learn Applescript, and working to use it to help automate some workflows in a prepress department.
    I'm trying to write a script that (among other things) will combine a folder full of PDFs into one file before passing it along to the next step. This is easy using Automator, but the only Applescript equivalent that I've found calls for Acrobat to launch and combine the files - this seems to run more slowly than the Automator version, which doesn't appear to call Acrobat at all. I thought I'd try scripting Preview to do the same thing, but I didn't realize that Preview isn't scriptable.
    Is there a way I can accomplish this without combining Automator and Applescript, or am I out of luck? (I have a sneaking suspicion that this may involve a shell script, which would mean that I'm out of my depth.)
    Thanks for any ides on this one..
    -Andy Gill

    Hi Andy,
    I thought I'd try scripting Preview to do the same thing, but I didn't realize that Preview isn't scriptable.
    Using [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html], it should be relatively easy to write a script that will do what you are asking for. The drawback, however, is that such a script would have to open Preview.app and so could not run inconspicuously in the background.
    Maybe you might want to have a look at these two Mac OS X Hints articles:
    [10.5: Use Preview to merge or create multi-page PDFs|http://www.macosxhints.com/article.php?story=20071114191806624]
    [10.6: Combining documents in Snow Leopard's Preview|http://www.macosxhints.com/article.php?story=20090915223224601]
    Hope it can help.

  • InDesign ExtendScript...is this worth learning?

    Hello,
    I have been trying to learn AppleScripting so that I might automate more of my of my InDesign stuff. When searching for more books, I came across a book by Shirley W.Hopkins called automating Adobe InDesign CS4 with ExtendScript. Does this scripting option seem to be a good one to learn, even over AppleScripting? It seems like a valuable option if I want to focus on InDesign, but I would like to hear from others if they are using it and is it worth the learning curve?
    thanks!!
    babs

    sstanleyau wrote:
    It seems like someone could simply write a JavaScript API/interpreter that interfaced with AppleScript. Then JavaScript would work on a Mac for other apps, too. 
    Someone did, several years ago; it was in Script Debugger. It's since been abandoned due to overwhelming lack of interest.
    Cool. I'll look it up. Thanks.
    If Apple were as committed to open standards as they claim, we'd already have JS that could automate a Mac.
    The only claimed commitment was to "open Web standards", which has nothing to do with IAC languages like AppleScript. And if they did implement js scripting at a system level, it would of necessity be different to Adobe's custom implementation (running outside an app's environment raises a whole lot of other issues). So people would have a choice of two flavors of js, instead of js and something else -- that seems like a retrograde step to me (and would make life around here really interesting).
    I was being partially facetious on this point. Just poking a little fun at the Apple worship (I'm a Mac user as well, but for lack of a better alternative).
    My opinion as someone who codes quite a bit, is that terseness is a preferred quality in a computer language.
    And many people who code quite a bit would probably agree with you. (Whether that's because that's how they learned to code is another question.) But the point of using a natural-language like interface for AppleScript was to make it accessible to those who don't necessarily "code quite a bit". One size doesn't suit all.
    Actually, I was a designer before I was a developer (and I still am a designer). I work almost entirely with designers (and not other developers). So I have a reasonably balanced perspective on this. The idea of a "natural-language" is a bit bogus. Especially because programming is about logic, so "natural" should reflect an ease of writing logical statements. You still have to learn an entirely arbitrary language with Applescript (especially arbitrary in English, which is loaded with synonyms, so you can't guess keywords), it's just more verbose. And it still has to write logical statements. Something that is truly oriented to a non-coder, omits code entirely (e.g., Automator).
    I'm not suggesting one-size fits all, I'm all for different languages for different purposes...if I can state it a bit hyberbolically...just that a tissue box does not make a great shoe, though it may cover your foot.

  • Remapping Apple Remote keys with AppleScript and SofaControl

    Hello,
    I am attempting to write a bit of code in AppleScript to map the buttons on my Apple Remote to certain keys on my keyboard.
    This is all I want:
    (Remote = Keyboard)
    left = Fn+F7
    right = Fn+F9
    play/pause= Fn+F8
    (You might notice these are the media keys)
    I am using an application from the app store call SofaControl for this, I know no other way (ControllerMate won't give me general access to the Apple Remote).
    The problem with SofaControl is that it seems to be application specific, which is annoying: I don't want to be switching applications to play or pause a song on Spotify.
    Advanced information
    SofaControl gives you a few (what look to be) functions for assigning keys to buttons, here is an example of a preinstalled Spotify script:
    on rcActivate()
              -- this code is executed when the script is activated
              -- typically the target application gets activated
              ignoring application responses
                        tell the application "Spotify" to activate
              end ignoring
    end rcActivate
    on rcPlay()
              -- send Space to Spotify
              simulate keycode 49
    end rcPlay
    on rcLeft()
              -- send Command-Left Arrow to Spotify
              simulate keycode 123 with command
    end rcLeft
    on rcRight()
              -- send Command-Right Arrow to Spotify
              simulate keycode 124 with command
    end rcRight
    on rcPlus()
              -- send Command-Up Arrow to Spotify
              simulate keycode 126 with command
    end rcPlus
    If anyone can help, I'll reiterate my simple requirments:
    I do NOT want this to be application-specific, I have disabled all other pre-installed scripts that came with SofaControl, so this should be the only one with access to the remote. (I want to control the media key from any space/desktop I'm on.)
    I just want the three afforementioned keys mapped, nothing else. I'm hoping this is as simple as:
         (*for the play button*)
         on rcPlay()
                simulate keystroke "Fn"+"F8"
         end rcPlay
              … or something like that (don't laugh, I don't know AppleScript!!)
    Hopefully it isn't that complicated and someone can help. I'm only asking because I really don't want to learn AppleScript just for the sake of doing this.

    You'll need a program such as ired lite or mira or remote buddy to do that, but yes, it's possible.
    http://www.filewell.com/iRedLite/
    http://twistedmelon.com/mira/
    http://www.iospirit.com/remotebuddy/

Maybe you are looking for

  • Extra row in data grid

    after I load a object into data grid created from a web service it will always seem to create a new blank row. When I get a error after clicking on it, it always says "-1" for the rows count. when I shrink the size of the datagrid it elminates some o

  • Connecting my SC-2345 chassis to my laptop

    I have a SC-2345 that I use to collect bridge-based strain gauge data.  For years now, I've been using a 6036e PCMCIA DAQ card to get the data into my laptop.  However, I'd like to get a newer, faster laptop and no longer have the option of getting o

  • How to change the description of variant article

    Hi All, I need to append some value( size or country) to the variant article description. suppose if the generic article no is 123456 (football shoe)then the variant article numbers will be 123456001 , 123456002 etc...which is done by default by SAP.

  • Nook app show books but cannot open books

    I downloaded the Nook app for my new iPad. No problems for 3 weeks. However, today, I can open the app and it shows the library with appropriate books, but books cannot be opened. I can click on book - and the app closes. Any suggestions?

  • Huffman code in Image processing

    huffman code in Image processing.... How to implement Huffman code in a VI using I/P from Histogram.........means probablity