AppleScript - help for a complete beginner

I used one of the Applescript examples to create an email and it modified so that it fills the theAddress, theSubject and the first part of theBody automatically. Now, I wish I could add extra blocks / paragraphs of the text to theBody by using a dialog box in which I could take a number of blocks of text from 1 to 20 to say. I have these blocks of text in a TextEdit file and I guess that these blocks should be identified / name in some way, using AppleScript so that a list can be created and implemented in a dialog box.

I have no programming experience and reflected on the AppleScript Language guide, but I am still unable to figure out how do it.

Can someone help me with this?

jashook wrote:

I could take a number of blocks of text from 1 to 20 of say. I have these blocks of text in a TextEdit file and I guess that these blocks should be identified / name in some way, using AppleScript so that a list can be created and implemented in a dialog box.

If you mark your blocks like this one (a label followed by a colon):

Then code like below will you might see a list that looks like this (command-click for multiple selections):

With this result:

SG

say application 'Finder '.

the value f to (Choose file) as alias

the value p to (read as 'class utf8 ' f) of paragraphs

the value b to select from list p with prompt "choose 1 or more blocks:" with multiple selections allowed

train is false then return

end say

myBlocks game to «»

Repeat with I in BS elements

value to the myBlocks myBlocks & (I like text)'s text ((offset of ': ' in (I like text)) + 2) thru - 1 & return

end Repeat

return myBlocks

Tags: Mac OS & System Software

Similar Questions

  • I'm in the most recent update to LR CC. My tools are acting funky. Any help for a beginner?

    I'm in the most recent update to LR CC. My tools are acting funky. The button "done" when the adjustment tool is open is missing and is editing with the Red overlay and not showing me the effect. I'm failr again to the present. Any help for a beginner?

    Try to press T to activate the toolbar. Maybe the toolbar is disabled and that's why you don't see the Finish button.

  • 14 inches: help for laptop

    I was using my laptop when it is off. Now all I get when it starts is hp and swirling points. Tried to take the battery and now the button. Nothing seems to work.   Can anyone help please.

    The hard drive has failed and needs to be replaced. If you are still in warranty HP will send a replacement. If this is not the case, a laptop SATA hard detail can be used. Just be sure to get a quality at least equal the original in order to use recovery disks. It may be big, but not small ability more. For example if you have a 500 GB hard drive you can use a 750 GB hard drive, but not a 320 GB hard drive.

    If you need help for selection/replacement of the hdd post back with the complete model & product number as indicated on the Service tag on the bottom of the laptop.

    How can I find my model number or product number

  • DDL required for the complete installation was not found. Error 1603. What should do?

    DDL required for the complete installation was not found. Error 1603. What should do? A link where to download the required DLL? Kindly help please.

    I tried everything, but received the same message. Attached to the screenshot.

  • Context-sensitive help for objects on the tabs (bug?)

    If a command or the indicator is on a tab, the context-sensitive help for that apparently no longer works. It's particularly embarrassing for clusters of complicated example.

    Is there a workaround I'm mising?

    Example: This is the context for a cluster (A) and for the same cluster help when placed on a tab of the control (B). Case B is obviously completely useless.

    Hi Altenbach,

    It is true that it is not fixed for 2009.  I checked the condition of the CAR and it does not just he makes to the 2009 version.  It is always open and it looks like they still want to fix in the future, but no guarantee on which version.

  • any time, I try to open adobe photo shop elements 2.0 it says could not start because the volume windows uses for virtual memory did not enough of free space see windows help for more information

    When I try to open adobe photo shop elements 2.0 message that says: cannot start adobe because volume windows uses for virtual memory doesn't have enough free space, which could lead to stability problems see windows help for information can help you

    Hi gregoryandme,

    ·         Did you do changes on the computer before the show?

    Follow these methods.

    Method 1: Uninstall and reinstall the Adobe photo shop program.

    Method 2: Perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow step 7 the link to start the computer to a Normal startupmode.

  • You are running an operating system that Photoshop no longer supports. See the system requirements for a complete list of the supported platforms.

    You are running an operating system that Photoshop no longer supports. See the system requirements for a complete list of the supported platforms.

    What should I do?

    Hello

    What is the operating system you have?

    Please refer to the Photoshop system requirements

    Creative cloud desktop application download via the link below.

    Download Adobe Creative cloud apps | Free trial of Adobe Creative Cloud

    * He'd help you download an older version of PS that is compatible for your operating system.

  • IM Download premiere pro on mac nut cc, it is said "you run an operating system that Premiere Pro no longer supports. See the system requirements for a complete list of the supported platforms. "How can I fix

    m download first pro cc on nut of mac, it is said "or running an operating system that Premiere Pro no longer supports. See the system requirements for a complete list of the supported platforms. "How can I fix

    Hello

    Please see system requirements below: -.

    Premiere Pro system requirements for Mac OS and Windows

    I hope this helps you!

  • "You run an operating system supporting Illustrator is more." See the system requirements for a complete list of the supported platforms. »

    I am with a printing company large format and I'm trying to download the trial for illustrator to have a better understanding of what I do. I am a first time user and have virtually no experience in this field, I received this message "you run an operating system supporting Illustrator is more." See the system requirements for a complete list of the supported platforms. "I don't know the measures that must be taken to be able to download it?

    Here's what I know on this computer, I use google chrome.


    My system is Windows Vista Home Premium Service Pack 1

    Manufacturer Toshiba

    Intel Core 2 Duo CPU T5750 @ 2.00GHz processor 2.00 GHz
    Memory (live RAM) 4.00 GB

    Type 64-bit operating system

    C: 230 GB of free GB 296

    I don't know if you need this information or not but any help will be greatly appreciated.

    Thank you!

    Brittany

    The message indicates that your system does not neet the system requirements for the version of Illustrator, you are trying to use.  If this is the latest version of Vista is probably too old to meet the requirements.  In any case, here is a link to the system requirements for all versions of Illustrator... choose the one that you try to use and compare their needs to your system to see where you come up short...

    Illustrator - http://helpx.adobe.com/illustrator/system-requirements.html

  • [Windows8] An UPDATE Manager grayed out, Adobe CS6 help button will be not to download any .pdfs help for viewing offline. Is low server now?

    VERY frustrated here. In the past, my use of the Adobe software was increased CONSIDERABLY by the availability of assistance in offline mode. It was can be found, hotlinked, independently operated, was well organized and VERY useful. I was able to solve problems more myself and teach me how to use the new tools. I hear now we just get a .pdf file. We need the old aid system in return. You can simply take content in .pdfs and cut and paste to the old style program. But here's the beef I have today:


    Just installed CS6 Production Premium on a machine of Win8. Sometimes I have to edit in areas without internet. This means that I sometimes have to access offline help. I have pressing F1 and adobe help manager says "awaiting download. I connect to the net after a reboot and load the adobe help Manager. I select the products I want help for (all) offline, I select "notify me when updates to help are available," it says waiting for download on all products. The UPDATING box does not work (in gray), I've hit, and I don't see any download from (confirmed by watching the activity on the resource monitor network traffic and disk). So I close adobe help Manager and reopen it. Now, it says 'Not available' and once again the UPDATE is grayed out. Well, I don't have any help files, then it would be REALLY great if the Adobe help Manager could do his job and download them. My guess is that Adobe has a server down which communicates with Adobe help Bishop and deploys client files Adobe help Mgr. It is a basic feature and really needs fixing.


    It's a good thing that I know enough about Premiere Pro to teach a class about it (making a documentary, and you can teach class too), but I still have much to learn about audition, prelude, speedgrade, etc.. I need F1 help feature in all programs of CS6. Online help is good in theory, but some of us edit in areas without net access.


    So specifically, what should I do to activate Adobe help Archbishop over the phone to an adobe server and download the last .pdfs help? Yes, it is possible for me to find a .pdf file and download it manually, but that COMPLETELY defeats the goal of Adobe help Bishop what can do to make Bishop to help Adobe do planned to use? Adobe: Can you check to make sure that your servers that help Bishop communicates with are still operational? Mega thanks to anyone who helps solve this problem. I'm guessing that I'm not the only guy with this problem.

    I'm really sorry that you are having problems. I asked the relevant team to address this issue.

    From now on, the best way is to download the CS6 help PDF from the Web. You can then configure your product to open the help PDF downloaded when you select the menu help/press F1 by following the steps described in this article.

    Thank you

    Mallika Yelandur

  • I'm trying to download creative cloud, but the link says "you run an operating system that InDesign can't stand. See the system requirements for a complete list of the supported platforms. »

    I'm trying to download creative cloud, but the link says "you run an operating system that InDesign can't stand. See the system requirements for a complete list of the supported platforms. "How can I download it? Please help me I have a project due tomorrow and the labs are closed

    I use Mac OS X 10.6.8

    OS X 10.6.8 is not supported.

    You will need to either upgrade your operating system or your computer.

  • Received the following message when you try to install Photoshop CC "you run an operating system that Photoshop no longer supports. See the system requirements for a complete list of the supported platforms. "So I use Windows Vista not sure do I

    Hello

    I received the following message when you try to install Photoshop CC, "you run an operating system that Photoshop no longer supports. See the system requirements for a complete list of the supported platforms. »

    I use Windows Vista so not sure what to do now! Any help would be greatly appreciated thanks.

    CC of Photoshop only works on Windows 7 or Windows 8/8.1. No Vista.

    System requirements | Photoshop

  • "help for Lightroom files were not properly installed.

    I get the above error when trying to access the help file. What should do?

    I saw that the same question was triggered earlier this year but remained unanswered.

    When I check the updates, I learned that my software is up to date.

    Basically, Adobe move or in many cases have already moved away from being installed on your hard drive help files. Setup base Lr is more includes help documents, instead it will take you to the page that I shared with you earlier.

    I hope above allows, otherwise, the extract page Adobe community help Known Issues explained futher. It is not specific to Lightroom, but seeks to "excuse" the problem you see.

    http://helpx.Adobe.com/Creative-Suite/KB/known-issues-community-help.html

    Question: Local help is not available

    Adobe plans to offer files of reference PDF for download in June 2012 and apologizes for the inconvenience. If you encounter error messages, such as "Adobe Help Vieweris not available. Please reinstall the application," see the troubleshooting document:http://helpx.adobe.com/creative-suite/kb/help-manager-troubleshoot-error-codes.html

    Online help is updated and provides a complete reference. Online help for all Adobe products is available at http://helpx.adobe.com/support/

    Note:

    In almost all cases, there is NO need to reinstall the application of CS product or the help Manager.  Error strings are obsolete and incorrect. See the Troubleshooting document referenced above for more details and troubleshooting steps.

  • Where can I find help for tools > Web Developer?

    I'm helping a friend change his web site. Where can I find help for the Tools menu > Web Developer?

    Specifically, I need to find where I can edit the HTML code, preferably in a WYSIWYG environment (that is, not laced with HTML tags), then how can I save the new file (s).

    Firefox does not have a built-in html WYSIWYG editor. You can download an html editor, based on the Mozilla code as Firefox, free like KompoZer or BlueGriffon.

    http://KompoZer.NET/

    http://BlueGriffon.org/

  • There is no help for the usrp blocks screens

    For power, where are the docs for help for the USRP & USRP related blocks (host side & lvfpga blocks)? Help is dimmed in the menus. If they came with the driver, they should be grouped in with something not obvious & has not installed. Where are they?

    BTW, I use NU-USRP 15.00.

    Thank you.

    apchar,

    Try to use context-sensitive help on the pilot of the USRP RIO screw Either click on the "?" in the upper right corner of the block diagram, or press Ctrl-H and hover over the screws of RIO USRP. You should see the additional help documentation.

Maybe you are looking for