Call it "EASY WRITING..." with AppleScript !

Does anyone know if there is a way to edit a post, once you send it to the board. Perhaps to catch a typo, change the title, etc.
I wanted to change :
FROM : AppleScript - Worth Seeing...
TO : Call it "EASY WRITING..." with AppleScript !
But could not find a way to edit my post.
I apologize for re-submitting the same post with a different name.
All,
If you use AppleScript at all, this is pretty slick, compared to anything else I found on the web for writing to files.
Call it "EASY WRITING..." with AppleScript !
http://www.mac-specialist.com/r/asckdirs.html
Best Regards,
Bill Hernandez
Plano, Texas

You can edit the post, but only for a short period (15 minutes? 30 minutes?) after you create it.
When you look at the thread there'll be an additional 'Edit' link in the header along with the 'Reply' and 'Email' links. Once the post has been there long enough the Edit link goes away.

Similar Messages

  • Call it "EASY WRITING..." with AppleScript ! (Updated)

    Just finished several updates to :
    Call it "EASY WRITING..." with AppleScript !
    http://www.mac-specialist.com/r/asckdirs.html
    Hope some of this is helpful, I only recently started learning AppleScript in a disciplined manner, so I apologize if I am posting too much stuff. If some of this stuff is helpful let me know, if not let me know also. I tend to get excited as I figure out new stuff, and like to share things I've learned...
    Best Regards,
    Bill Hernandez
    Plano, Texas

    You can edit the post, but only for a short period (15 minutes? 30 minutes?) after you create it.
    When you look at the thread there'll be an additional 'Edit' link in the header along with the 'Reply' and 'Email' links. Once the post has been there long enough the Edit link goes away.

  • Calling portal v2 pages with parameters in a jsp

         Hello everybody,
         I'm currently trying to create, in a jsp, a link to a portal-v2 page with parameters.
    Practically :
    [JSP / Portlet 1]
         - a 1st jsp generates some links, all to the same page but each sets a different value to a parameter (for example a productId in a list).
    [JSP / Portlet 2]
         - a 2nd jsp gets this parameter and use it (for example it displays the details of the chosen product).
    So the 1st portlet would be jsp (coded by a portlet designer) and clicking a link would lead to another page (chosen by a page designer) which would hold the 2nd portlet (= 2nd jsp, coded by the same portlet designer).
         Writing the second jsp is easy : getting parameters is described in many examples and pdk articles.
         But I can't find the java methods to use to generate the link. More precisely I don't know how to call the portal page (which would then be a jsp1's parameter). Adding the parameter is well described in the jpdk API-Doc.
         I've tried to use portal events but they seem to work only in an html form. So I supposed it was a wrong way.
    As I've lost myself so many times in the API-Doc and I didn't find any jpdk sample about that, I would be really thankfull if someone has an idea (may I hope for a sample code ? :-)
    Thanks.
    Jean-Roch

    I'm having a similar problem!
    I have a JSP page which I have published as a portlet to Portal. The JSP portlet is placed on Portal a page. I need to call this Portal page with some parameters in the URL, which should get passed to the JSP portlet.
    In the JSP portlet I used this syntax in release 1 to retrieve the URL parameters:
    String p_itemID = request.getParameter("item_id");
    That worked great in release 1, but not in release 2.... I think the problem is that you need to define which parameters a portlet has, then map those portlet parameters to page parameters in the page properties. In dynamic page - portlets you define bind variables to accomplish this. But how do you do in JSP portlets? When you try to map Page Parameters to the JSP portlet you'll find that Portal doesn't think that the JSP portlet has any parameters. Hence the page parameters does not get passed to the portlet.
    (More info: JDBC----getImportedKeys() )
    I've looked at the Multipage example and the forminput example. But I don't see how pass a parameter in the URL to the very first JSP portlet from looking at those examples. I do see how you can pass parameters to the next JSP portlet, but that's not my problem. Maybe I'm missing something obvious...
    Any ideas?

  • Problem with AppleScript command "Duplicate"?

    Hi all.
    I'm relatively new to AppleScript so I hope I can get some help here.
    I'm writing a script for Aperture 3.0.3 that
    1. Makes 4 new versions of the currently selected image
    2. Applies 4 different image adjustment presets to the new versions.
    3. Presents the 4 adjusted versions on screen.
    Making duplicate versions with AppleScript was easy enough, but how do I get an ID for the newly created versions? The "Duplicate" command doesn't return any information at all.
    How do I talk to image versions created with the duplicate command?
    Can anyone help?
    Message was edited by: Monostratos

    Hi,
    I'm also interested in a script like that. Have you had any success?
    I've found this site, where you can purchase a similar script:
    http://www.apertureexpert.com/storedetails/applescript-4-up-auto-levels-curves-r gb-luminance.html
    /Christian

  • How to call the DLL writing in Vb6.0 from testsatnd?

    Hi,
    I want to call a dll writting in VB6.0 from teststand. But as i see from the "Step Setting" in teststand, only the C/C++ Dll can be selected in the "adapter" type. I try to use this one as my adapter to call my VB6.0 dll, in result, there is no function can be seen in the "function" tab in teststand.Anyone know how to call the DLL writing in Vb6.0?
    Solved!
    Go to Solution.

    Hi Ivan,
    Just to be sure that your DLL is not wrong
    you have check if all functions are well and present.
    There is  tool called "Dependency Walker"   You can download it at http://dependencywalker.com/ .
    With it you can look "inside" your dll
    If you will see your functions there, you will see them (in my case !!always!!) in TestStand, too.
    Hope this helps 
    Greetings
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Create Smart Folder with Applescript?

    Hi
    Is there a way to create a Smart Folder with Applescript?
    many thanks
    LJ

    thanks neil.
    one other question. once i've made this folder i'll want to use it.
    it occurs to me that i might not be able to use the same code to
    call the folder after it's been created since, while the date may
    be the same, the time won't be.
    how do i stored the new folder name as it's being created so that
    i can call it later in the script?
    thanks again,
    BabaG

  • I can't seem to "close" my documents on MSoft Word with AppleScript!

    Hi
    I have tons of documents open on MSoft Word and wish to close some of them. Luckily, those that I wish to close all start with the word "book", so I was thinking I could actually automate that with AppleScript hence avoid closing them one by one.
    I wrote the following code:
    tell application "Microsoft Word"
    count (document)
              set countresult to result
              repeat with incrementValue from 1 to countresult
                        if name of document incrementValue starts with "book" then
      activate document
      close document
                        end if
              end repeat
    end tell
    To my surprise, it didn't work!
    I got the following under "Replies", which showed that AppleScript did indeed try to close the document that starts with "book":
    tell application "Microsoft Word"
    count every document of current application
      --> 6
    get name of document 1
      --> "book_mac_OS_X_and_iOS_internals.htm"
    activate
    close document
    get name of document 2
      --> "applicable books.htm"
    get name of document 3
      --> "What Do You Want Homespace to Do.htm"
    get name of document 4
      --> "URL_repository_for_outcomes.htm"
    get name of document 5
      --> "SYNTHESIS - History a Step Back.docx"
    get name of document 6
      --> "SYNTHESIS - History a Step Back.docx"
    end tell
    But when I went back to Word, I still saw the document there!
    I actually added an additional line (I didn't include the code in that which I pasted here) asking to count the number of documents in Word AFTER the so-called "close", and the number remains 6.
    Can anyone enlighten me on this?
    Regards,
    junxiang99

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • Download image from URL with applescript

    I want to download an image from an website (and internal IP address) using applescript,
    now I have found a script that works (Download jpeg image to folder with AppleScript from URL).
    But, the web page requires a username and password...
    When I convert the downloaded JPEG into a HTML by simply changing the extension, quick look displays the webpage's 401 unauthorized error page...
    Does someone know how to make the applescript input the username and password?

    The answer depends on how the authentication is managed.
    There are two common ways of implementing authentication in web browsers and knowing which one is used here is essential to scripting the request. One is also significantly harder than the other.
    The first (easy) way is that the username and password can be submitted with the request. This is the original model and is easy to script - if you're using the curl model then it's just a matter of adding the -user switch to the command line:
           -u, --user <user:password>
                  Specify the user name and password to use for server authentica-
                  tion. Overrides -n, --netrc and --netrc-optional.
    This model is a little less secure, though, but might still be used on internal sites since it's easy to implement.
    The other option is that the site uses cookies - you log in via a web form and the server gives your cookie which you then send with subsequent requests and are used to validate your access. This is a more secure, but is harder to implement because there is a multi-step process - login via the web form, capture the cookie, submit the cookie with the download request.
    If you're not familiar with the different methods it can sometimes be hard to tell which one you need, and since it's an internal site there's no way anyone else can check... so you'll need to describe how you login to the site (or are prompted for authentication) before anyone can provide a direct answer.

  • Move images to album with Applescript

    Hello,
    I am writing an applescript to make new albums and move all image versions of a given project to that album.
      tell my_project to set my_album to (make new album with properties {name:my_project_name})
      tell my_project to move every image version of my_project to my_album
    The new album is created but the images are not moved.
    tell my_project to move every image version of my_project to album my_album
    doesn´t work either.
    How can i move the images

    I tried your script, and it works on my Mac  when I write it like this:
    When I tested the script below, all selected images had been added to the album "testAlbum":
    Sorry, I cannot copy and paste the code here -- the editor messes it up:
    tell application "Aperture"
      set imageSel to (get selection)
      if imageSel is {} then
      error "Please select an image."
      else
      repeat with i from 1 to count of imageSel
      move item i of imageSel to the album "testAlbum"
      end repeat
      -- return the album "testAlbum"
      end if
    end tell

  • Where can I find "Getting Started with AppleScript"?

    I googled it. And it doesn't show any links from Apple. I'm trying to learn AppleScript and the Language guide says to go through the Overview first which in turn recommends going through Getting Started with AppleScript.
    I even searched Mac Reference Library but it just doesn't show up!
    Any help?
    Neerav

    No, certainly not. I mean, I don't know any AppleScript, but I can say with certainty that the answer to that question is no.
    Objective-C is a programming language that is an extension of the C language. It is the language that is used to develop applications for Mac and iPhone. Other languages like C++ and Java can be used as well, but Objective-C is the language that Apple really intends for you to use for Mac and iPhone development, since it is heavily integrated with the Cocoa framework (for Mac developemt) and Cocoa Touch framework (for iPhone development). You need to know the C language to learn the Objective-C language, and you need to know the Objective-C language to work with the Cocoa or Cocoa Touch frameworks, but AppleScript is a totally separate and different animal from these things. AppleScript is a scripting language, and although it can technically be used to create applications from what I understand, it is mainly used as a mechanism for controlling applications. For example, you could use AppleScript to tell a certain application to perform a certain task everyday at a certain time. You can use it to create automated workflows and whatnot. I think that's what it's mainly meant for.
    It's worth noting, however, taht there is a development environment called AppleScriptObjC. I don't really know anything about this, except that it allows for AppleScript to be used as the primary programming language.
    I found a lot of this information at [Wikipedia's AppleScript page|http://en.wikipedia.org/wiki/AppleScript], so you might want to consider looking over it real quick -- it might be helpful. Here is the link to [Wikipedia's Objective-C page|http://en.wikipedia.org/wiki/Objective-c] and [Wikipedia's Cocoa page|http://en.wikipedia.org/wiki/Cocoa_%28API%29]. As someone said on these forums, Wikipedia is far from the last word on any subject, but those links might be helpful for you for just getting an idea of what these things are all about.
    Hope that helps some. Please let us know if you have any other questions.

  • How to detect beep sounds with AppleScript?

    I have a small dilema.
    I created a script that I know generates the standard mac error sound a.k.a. beep sound. I want to detect cases where it does not generate. IS there any way to verify with applescript if the beep sound plays at all?
    I mean I hear it, but I want it logged as beep sound played/not played.
    any ideas are welcome!

    You need to generalize the problem to how do you detect an error in another application.
    Typically, aplications will return an error code when they find an error.  This will cause an excpetion in your applescript app. To detect the error you put the call in a try block.
    So what program are you calling?
    Did you wrie the other app?  If so, return a non-zero error code.
    Robert

  • How do you receive a call on your computer with the new OS X?

    How do you receive a call on your computer with the new OS X?

    The following quotation is from http://www.apple.com/ios/whats-new/continuity/
    The link shows a picture of the Notification. Below it says there is "nothing to set up" but I believe that you need to have FaceTime activated (signed in) on both devices as there is a setting on iPhone/iPad in Settings > FaceTime where you turn "iPhone Cellular Calls" on/off.
    Sometimes when your iPhone rings, it’s not where you are. Maybe it’s charging in another room. Or it’s buried in your backpack. But your Mac or iPad is sitting right there. Now you can make and receive phone calls on those devices as long as your iPhone running iOS 8 is on the same Wi-Fi network. Incoming calls show the caller’s name, number, and profile picture. Just click or swipe the notification to answer, ignore, or respond with a quick message. And making a phone call from your iPad or Mac is just as easy. Simply tap or click a phone number in Contacts, Calendar, or Safari. It all works with your existing iPhone number, so there’s nothing to set up.

  • Problems with AppleScript and MS Office 2011

    The script below used to work great for converting MS Word files to PDF files.  However, sometime during the last few months it has stopped working and will no longer compile without error.  Possibly after upgrading to Mavericks but I'm not exactly sure when it stopped working, could have been an update to Office.  Anyway, the error I'm getting when I compile is a Syntax Error, "Expected end of line but found class name".  The editor highlights "document" in the line "set the_doc to active document".  I'm not very familiar with Applescript but I have opened the scripting dictionary for Microsoft Word in the Applescript editor and I do see "active document" as a property of the "document" object.  So why doesn't the compiler recognize it?  Am I missing something obvious or was there some sort of change in Mavericks that broke this functionality?
    I've been pulling my hair out trying to get this script working again  but I have not had any luck.  I've tried uninstalling and reinstalling Microsoft Office per instructions from Microsoft.  I have all the latest updates and patches. Any help would be greatly appreciated.
    Here is the original code which used to work just fine.
    -- Stephen Norum
    -- [email protected]
    property pdf_ext : ".pdf"
    on remove_extension(file_path)
        -- remove the extension if it exists
        set stripped to do shell script ("F=" & quoted form of file_path & " ; echo ${F%.*}")
        return stripped
    end remove_extension
    on get_pdf_path(doc_path)
        set doc_path to remove_extension(doc_path)
        -- Try the simple name first
        set pdf_path to (doc_path & pdf_ext)
        -- Otherwise, number the pdfs
        set counter to 1
        tell application "Finder"
            repeat while (exists pdf_path)
                set pdf_path to (doc_path & " " & counter & pdf_ext)
                set counter to counter + 1
            end repeat
        end tell
        return pdf_path
    end get_pdf_path
    on run {input, parameters}
        repeat with file_name in input
            tell application "Microsoft Word"
                open file_name
                set the_doc to active document
                set doc_path to path of the_doc
            end tell
            set pdf_path to get_pdf_path(doc_path)
            tell application "Microsoft Word"
                save as active document file name pdf_path file format format PDF
                close active document
            end tell
        end repeat
        tell application "Finder"
            activate
        end tell
        return input
    end run

    try this syntax:
                        tell application "Microsoft Word"
      save as (active document) file name pdf_path file format PDF
                        end tell
    Apparently they changed the enumeration label from format PDF to just plain old PDF without bothering to update the scripting dictionary or ensure backward compatibility. If you want to know how they managed to do that, they are still not using sdef or even scriptSuite xml files, but are loading the scripting information from old-school (i.e. os 8 or os 9 style) resource files.
    I've occasionally considered writing Microsoft a proposal to redo the Office scripting dictionaries so they are less crazy-making, but I'm not sure I'd survive the attempt.

  • Trying to launch modal window in safari with Applescript

    Hello,
    I am writing a web-based app that needs to launch a modal browser window from an applescript file. No addressbar, no toolbar, etc. (the pc side uses a .vbs file to do the same thing.) It's like a popup, but this is from my app. Im not launching it from another web page.
    I can do it with applescript and "System Events" :
    tell application "Safari"
    activate
    make new document with properties {URL:"http://IPADDRESS/default.aspx"}
    do JavaScript ("self.resizeTo(500,480);") in document 1
    tell application "System Events"
    keystroke "B" using {command down, shift down}
    keystroke "/" using command down
    keystroke "|" using command down
    end tell
    end tell
    But this affects the entire Safari application so new windows opened by the user appear the same way. I need it to only affect the window that is opened. I tried some JS "toolbar=no" type commands but it did not have any effect. I must admit my JS and AS is very basic at this point so it could have been poor syntax..
    Can any of you fine folks suggest a way to do this?

    It's not what you want to hear, I'm afraid, but as far as I know there's no way to directly access placeholders other than the title and body in Keynote.
    I did see mention of parsing XML to change values of individual items, but it might be overkill for what you want to achieve.
    Perhaps if you explain what you are trying to do someone will come up with a helpful suggestion.

  • Test call of TP ended with return  0212

    while releasing a transport request, getting the following error message-
    test call of TP ended with return  0212
    your transport request cannot be exported , since all the requirements are not fulfilled
    calling transport control (tp) program "TP EXE CHK DEVK908291  pf=usr/sap/trans/bin/tp_domain_PRD.pfl -Dtransdir=usr/sap/tr"
    which checks the export requirement , returned the following information
    returned code from tp :0212
    further processing is terminated
    Please help if anyone has any clue
    Regards
    Al Mamun

    Hi Eric,
    Thanks for your reply,
    I have checked the configuration, looks ok. The path is ok, I missed the / before usr while typing this message.
    one thing I checked that there is no cofile or datafile corresponding to that transport. Same thing is happening while releasing  other transports.
    Is it mount problem?
    Al Mamun

Maybe you are looking for

  • Userexit in mb1b, mb1c

    Hi.. Is there any userexit on mb1c in screen Enter other goods receipts : New Items,   i want to find a exit which gets activated when one enters the material. Does any one have a idea>? I checked on the zuexit and activated break points to each but

  • Difference Between two exe folders.

    Hi Gurus, I am new to this SAP world. Right now I am learning new things in SAP. I have one doubt after installing NetWeaver 2004. I found two exe folder in the SAP directory. 1. usr\sap\<sid>\DVEBMGS00\exe 2. usr\sap\<sid>\sys\uc\...\exe Can any one

  • Tracking every time a method is called in some object?

    Hi, I would like to use reflection to log every time some method is called in an object. Example; public class A { public void x () { } public void y () { } I would like some automatic mechanism that would allow me to register this object such that e

  • Difference in file size in photoshop and bridge

    when I save an image in photoshop (file size 26mb) it  shows as a 70.7 mb in bridge or window explorer. Why?

  • Why can't I install Firefox on my ipad mini?

    I keep getting the message that my system doesn't support Firefox. I believe is is iOS 10.6.3 so it looks like it should work.