Help files applescript studio

Hi everyone!
Ok I've read all the info and this should be something pretty easy (I think), but for some reason I'm not getting it. Here's what I did:
1. Made an index.html page and put it in a folder named MyApp Help and put that folder in MyApp bundle>Contents>Resources>English.lproj folder.
2. Put header in the index.html file like this: <meta name="AppleTitle" content="MyApp Help">
3. Added 2 strings in the info.plist with the names CFBundleHelpBookFolder and CFBundleHelpBookName with both having the name MyApp Help as the input.
4. Added the files into xcode groups and files.
It seems based on what I read that this should be it? But still no help file. Right now it's possible not everything is linked properly in Interface Builder, but if I open the Help Viewer and go to Library it should be there now right? Any help would be appreciated thanks!
Reg

I got it working!!! But some feedback would be great because here's what happened:
I started a brand new AS application just to check out the settings on a new project and I noticed that if I clicked the help menu it would display a dialog saying no help available. Now I didn't remember having that in my app and sure enough I was right. The difference is I started with a droplet form and I had to add in the help menu because the standard menu on a droplet doesn't have anything. But this added-in help menu that I put didn't display a dialog like the standard menu from the application template. And there is no help menu in the cocoa palette, you must just insert a menu item and make it into help. So I just copied the entire menu from the application template into my app and it worked right away! That's great but I just don't get exactly what the problem was? And hopefully not everyone that starts with a droplet template has the same problem??? :D:D:D
Thanks...Reg

Similar Messages

  • Help files measurement studio

    Hi you Gurus,
    I just bought full version of measurement studio. I installed it succesfully and started using it wihout problem untill I needed help ressources. The measurment studio did not installed any index extension help. I do not have acces to class,function definitions... Is that normal or what... Please help soon

    That is not normal. Where are you looking for the help? You should be able to find it in the Start Menu under Programs->National Instruments->Measurement Studio->Help->Measurement Studio Reference. If you do not see this, look for a Help directory under the directory where you installed Measurement Studio. If the Help directory is there, look for a file called msref.chm and double-click that to launch the help.
    - Elton

  • Help buttons Applescript studio

    Hi everyone!
    Well I learned a lot about the help menus since my last post:
    http://discussions.apple.com/thread.jspa?threadID=686085&tstart=0
    But I'm still stuck trying to get the help buttons that I installed on my interface to work. Specifically calling the help book is my problem. So if I have this connection in my script:
    on clicked theObject
    if name of theObject = "help button" then
    -- here's where I want to call my help book to open in help viewer
    end if
    end clicked
    I know there must be a simple command to open it, but all the documentation that I read it's not using the Applescript commands. The only "success" I've had is using some of these commands:
    http://developer.apple.com/documentation/Carbon/Conceptual/ProvidingUserAssitApp leHelp/appendixb/chapter_7_section_1.html#//appleref/doc/uid/TP30000903-CH210-BGBBGBDC
    But even if I can get it to work the viewer opens first the main Mac help page and then switches to my page. Sometimes it even shows my page with "Mac Help" as the title??? I know there's a simple command to this I just can't figure out what it is? Thanks in advance for your help!
    Reg

    I got it working!!! But some feedback would be great because here's what happened:
    I started a brand new AS application just to check out the settings on a new project and I noticed that if I clicked the help menu it would display a dialog saying no help available. Now I didn't remember having that in my app and sure enough I was right. The difference is I started with a droplet form and I had to add in the help menu because the standard menu on a droplet doesn't have anything. But this added-in help menu that I put didn't display a dialog like the standard menu from the application template. And there is no help menu in the cocoa palette, you must just insert a menu item and make it into help. So I just copied the entire menu from the application template into my app and it worked right away! That's great but I just don't get exactly what the problem was? And hopefully not everyone that starts with a droplet template has the same problem??? :D:D:D
    Thanks...Reg

  • AppleScript Studio/Xcode problem - Problem with text entries! Please help!

    Hey, I've been up for hours each night looking for solutions to this but still have had no luck.
    I am creating an app in Xcode/Applescript studio that will ask you to enter how many times you would like system events to repeat a certain keystroke. First of all, the code would look something like this:
    on click theObject
    If the name of theObject is equal to "myApplication" then
    (Right here would be where the variables representing text in an input in the app's window would be, which I have absolutely no clue what to type.)
    tell application "text edit"
    activate
    tell application "system events"
    keystroke x (x representing a variable)
    end tell
    end tell
    end clicked
    and that's about as far as I can get. I want a variable representing the text in the main text entry box, but I have no clue how to access that text, or even know if it's submitted or detected when I hit a button. Hopefully you're following, as I am way to confused to fully explain it, but please try and help me out if you can.

    Hi Kamprath445,
    Though this mentions iTunes, I think it has good examples you can use...
    http://dougscripts.com/itunes/itinfo/keycodes.php
    More in depth...
    http://developer.apple.com/documentation/applescript/conceptual/applescriptlangg uide/conceptual/ASLR_variables.html

  • Help button question Applescript Studio

    Hi everyone!
    My help menu works just fine but to get my help button on the main window to work I set the default app for my file to Help Viewer. Then I script the open file command in Finder to open the file which is in my app bundle. It works fine and I was never able to get the cocoa command to open the help file to work with my button. My question is though I just realized that if I would click the help button multiple times it would open multiple windows of the same file in Help Viewer. That doesn't seem to be cool as I would hope it would realize the file is already open and not open the same file again? Any thoughts on how I can resolve this?
    If it helps here's a link to my past posts:
    http://discussions.apple.com/thread.jspa?threadID=693971&tstart=0
    Thanks for the help!
    Reg

    My help menu works just fine
    You don't say whether or not you changed the normal setup for the Help menu item to make it work "just fine"... Typically the help menu item has a connection in Interface Builder to the First Responder's showHelp: method. Assuming you did not change this, and this is what is working fine, then there's no reason that you can't also set up your help button to work in the same way (no AppleScript code would be needed).
    In Interface Builder...
    - First turn off the "on clicked" action for your help button in the AppleScript pane of the Inspector window (so clicking the button doesn't trigger any AppleScript code).
    - Then select your help button and <Control>-drag from the help button to the "First Responder" icon in the "MainMenu.nib" window. As you're dragging you'll see a blue line following the mouse.
    - Release the mouse button once the line goes from your button to the First Responder and you see a blue square surrounding the "First Responder" icon. This will cause the "Target/Action" pane to open in IB's Inspector window and you will see a long list of "Actions for First Responder".
    - Scroll down and highlight the "showHelp:" method then click the "Connect" button. A little circle will appear next to the "showHelp:" item indicating the connection has been made.
    - Save your nib file and rebuild your app.
    Now when you click on your help button it will do a Cocoa call to the First Responder's showHelp: method allowing it to work just like the help menu item.
    Steve

  • AppleScript Studio - Huge .nib file?

    I'm creating my first AppleScript Studio application, and I've noticed that one of the nib files used in the project has grown to a huge size (20MB)... and I'm wondering why, and whether this is normal?
    (One other has grown to ~5MB, the other three are small ~50kB - around what I'd expect.)
    I do have two buttons that show icons - but the files are small ~100kB each... not enough to explain 20MB worth of nib. (Besides, I thought that the icon files are stored separately - they are copied to the resources folder by XCode.)
    It's not a huge concern at the moment, because everything works, and 20MB is not huge... I'm just concerned that such a simple App has an interface file that's 20MB (the entire app builds to 27.2MB, with 26.2MB of nibs... surely that's not normal?
    Any ideas?
    EDIT: Sorry, I should have mentioned that I'm using IB v 3.0 (629) on Leopard 10.5.2.
    Message was edited by: OSXAlex

    Michael,
    I guess you should be able to do this using a shell script and "curl" - the one problem with curl is that it won't honor your system's proxy settings...
    Andreas

  • Icon and Help file

    Hi there,
    Would someone please be able to help me with these;
    I need to put an appropriate Icon in the "About" window of my application.
    Also, I would like to be able to add a help file to this too.
    P.S - I am working in Xcode.
    Thanks, Ricky.
    http://web.mac.com/rickydamelio

    Hi Ricky,
    Information about adding customized icons to your xcode application.
    Here is documentation about help in xcode apps.
    Also, here's a link to the AppleScript Studio Programming Guide, that you may find of use.
    John M

  • Applescript studio app and plist???

    Hi everyone!
    If I have an Applescript studio app and I don't write anything to a plist is it still possible the app will make it's own plist for any reason? Seems to be but I can't tell for sure because seems not to be consistent. Any help would be great!
    Thanks,
    Reg

    On second thought, the plist file might be created if
    you display something. I just did a clean install so
    everything's new. Let me check with one of the apps
    that displays a an open dialog or something.
    Yes there are certain things in AS Studio that will write to a plist file. One example I know of is if you give any of your windows an "Auto Save Name" (in the "Attribute" pane of IB's inspector pane). The "Auto Save Name" will be used as the key to a plist entry that auto-saves the window's size and position on screen. When you re-run your app the window will be opened with the size and location stored in the plist.
    I believe kel may also be correct that if your app displays an open or save dialog then some state information about those dialogs will be saved to your plist.
    You can always use "plutil" to convert the plist file from binary to xml and then display the contents to see what's in there...
    <pre>
    plutil -convert xml1 /path/to/file.plist
    cat /path/to/file.plist
    </pre>
    Steve

  • Applescript Studio and Menus

    I am using Applescript Studio and Leopard.
    I have created an application that has menus in it. I can call the menus fine.
    For example, this works:
    on choose menu item theObject
    if (name of theObject is "Test Menu 1") then
    display dialog "You chose Test Menu 1"
    end if
    end choose menu item
    All I want to do is have the user make a choice from the menu, and based on that choice, call an external script. I'm stumped. Any help with this?
    on choose menu item theObject
    if (name of theObject is "Test Menu 1") then
    -- What goes here?
    end if
    end choose menu item

    Sample code.
    Note:
    Four (4) menu items were added to the projects' 'File' menu, and titled 'External Script "Eins"' (Command 1), 'External Script "Zwei"' (Command 2), 'External Script "Drei"' (Command 3), and 'External Script "Vier"' (Command 4).
    Four (4) script files were created ('Eins.scpt', 'Zwei.scpt', 'Drei.scpt', and 'Vier.scpt') and saved to the 'Desktop'. The 'Drei.scpt' and 'Vier.scpt' files were dragged to the projects 'Groups & Files' list into 'Resources'.
    -- Code starts here --
    on choose menu item theObject
    -- Example of calling scripts - external to the AppleScript Studio application.
    if ((name of theObject) is "externalScript01") then run script (((path to desktop from user domain) as string) & "Eins.scpt") as alias
    if ((name of theObject) is "externalScript02") then run script (((path to desktop from user domain) as string) & "Zwei.scpt") as alias
    -- Example of calling scripts - internal to the AppleScript Studio application.
    if ((name of theObject) is "externalScript03") then run script (((path to me) as string) & "Contents:Resources:Scripts:Drei.scpt") as alias
    if ((name of theObject) is "externalScript04") then run script (((path to me) as string) & "Contents:Resources:Scripts:Vier.scpt") as alias
    end choose menu item
    -- Code ends here --

  • Create a tab view item in obj-c for use in applescript studio

    I'm making an application with applescript studio. I want to be able to add tab view items to a tab view at the press of a button. The problem I have is applescript studio doesn't allow me to create a new tab view item. So I'm thinking I can create the tab view item using objective-c, pass that to my applescript, then add it to my tab view.
    In applescript I plan to use the following call methods to first create the tab view item object, and then add it to my tab view. The objective-c code which is called from the first line in the applescript code is below that. When I run my code I'm getting an error saying newTVI is not defined... so maybe you can see my error! Be kind to me because I'm new to objective-c and I'm sure that's where my problem lies. Anyway, I'd appreciate any help.
    ==Applescript calls to create and add a new tab view item
    set newTVI to call method "returnNewTabViewItem" of class "makeNewTabViewItem"
    call method "addTabViewItem:" of objMainTV with parameter newTVI
    ==Objective-c code to create the tab view item
    ==makeNewTabViewItem.h==
    #import <Cocoa/Cocoa.h>
    @interface makeNewTabViewItem : NSTabViewItem
    NSTabViewItem *newTVI;
    -(NSTabViewItem *)returnNewTabViewItem;
    @end
    == makeNewTabViewItem.m==
    #import "makeNewTabViewItem.h"
    @implementation makeNewTabViewItem
    -(NSTabViewItem *)returnNewTabViewItem
    newTVI = [[[NSTabViewItem alloc] initWithIdentifier:nil] autorelease];
    return newTVI;
    @end

    Please, any ideas?

  • How can I use AppleScript Studio to display an image

    How can I use AppleScript Studio to display an image in a dialog?

    Add an image well to your window in Interface Builder.
    You can also add an image file to the Resources group of your Xcode project and then set the image to be displayed inside the image well directly in Interface Builder. No AppleScript code is needed if the image is contained within your app bundle and can be set ahead of time like this.
    If the image is contained in your app's bundle but you need to set or change the image at run time then you can use a line of AppleScript to load it into the image well using just it's filename:
    set image of image view "yourImageView" of window "yourWindow" to load image "YourImageFile.jpg"
    If you need to load an image from an arbitrary location outside your app's bundle then use a path to the image file...
    set image of image view "yourImageView" of window "yourWindow" to load image "/path/to/YourImageFile.jpg"
    Steve

  • Where is the Crystal Reports developer help file?

    Hi everyone,
    I'm looking for the CR devloper help file - the one that documents the object model for programming against CR from .Net.  Any ideas?
    Would be good if CR installed a helpfile link in the Start menu > Programs etc like other products.
    Thanks,
    Rod

    Hi Rod,
    See this kbase article on how to install them:
    [1530989 |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333330333933383339%7D.do]- Crystal Reports for Visual Studio 2010 help files
    Also, if you got to help.sap.com, click on the Business Objects tab, select All... and the filter on Crystal Reports for VS .NET there is a SDK chm file.
    Thank you
    Don
    Edited by: Don Williams on Jun 27, 2011 6:56 AM

  • Where is the Help File in VB examples?

    Hi,
    I'm running through the examples of Measurement Studio for VB6. 
    When the project runs, pressing the [Help] button invokes an help file.  However, when not running, while looking at the callback for the [Help] button I can only see  the procedure  'Private Sub CWHelpButton1_GotFocus()'.  There's nothing in this procedure to call the help file.
    How does the help file invoked?
    Thanks
    Rafi

    It looks like that button is designed to just give help about additional examples:
    http://digital.ni.com/public.nsf/allkb/AB2EA98D18D​2F12E862565ED006BAA3F
    What information exactly are you looking for when you ask  "Can anybody tell me how to obtain this information?"
    Richard S -- National Instruments --Applications Engineer -- Data Acquisition with TestStand

  • Installing Applescript Studio

    Hi,
    Where can I get AppleScript Studio? I can't find it preinstalled on my Mac Mini, nor on the MacOS X double CD. Is there some place I can download it without needing to get the full XCode or Dev Tools?
    Thanks!
    Raph

    AppleScript Studio is not a separate "tool"... it's more or less just a different type of project that you can create and build in Xcode. So you'll use Xcode for creating your AS Studio source files and building your product and you'll use Interface Builder for creating your user interface and connecting the objects in your interface to the AppleScript handlers that they trigger.
    I suppose it does seem like a big download if you are under the impression that AS Studio is just an extension of plain vanilla AppleScript. But in some ways AS Studio is almost more like an extension of Cocoa. An AS Studio app can make use of most or all of the user interface items that Cocoa can use and it can control/interrogate those items using handlers and properties that AS Studio provides. In addition, through the use of AS Studio's "call method" you can make direct calls to Cocoa methods to perform actions that AS Studio doesn't provide out of the box.
    Steve

  • Download help file for VE2008

    I am a rookie at this, know a little about C++ and Win32. Need to download the VE2008 help file into the VE application. Right now as I type it has been downloading it for hours, seems to be stuck, please help. Thanks.
    Also had to use the unique name jakemichael, but my preferred handle is neferkamichael and my account is under [email protected], this login said neferkamichael was already in use, please help sort this out. Thanks.

    Hi jakemichael,
    Thank you for posting in MSDN forum.
    Could you tell me where you download the help file?
    Do you mean that you add some contents and update them under Help View?
    >>Also had to use the unique name jakemichael, but my preferred handle is neferkamichael and my account is under [email protected], this login said neferkamichael was already in use.
    Could you please share me a screen shot about your issue.
    In addition, I suggest you could try to run your VS Express2008 as admin and then check if you can download this help file.
    Actually you know that we didn't support the VS2008 since it was a really old version. So if possible, I suggest you could try to download this latest version of the VS Express 2013 and then check this issue again.
    https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx
    If you have any update message about your issue, please tell me.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • How to get Portal user from a standalone Java application

    Hi, I have a standalone Java application from where I need to fetch the Portal User Information like userid and email id. I am using the below line of code iUser = UMFactory.getUserFactory().getUserByLogonID("e017939"); I have included the jar file c

  • ORA-03113: Error while upgrading the Database from 11.1.0.6 to 11.1.0.7

    Hi, I am trying to upgrade the database from 11.1.0.6 to 11.1.0.7 on OEL operating system. After applying the patch "6890831" when trying to start the database using "Startup Upgrade" command I am getting the below error. ORA-03113: end-of-file on co

  • Mass change for  condition record

    I try to change the condition record for material with validity period of one year starting next year Jan 1st. Since that material is already exists in the system with validity period of current date to 12/31/9999, it is not saving my changes. When i

  • Problem in selecting the count

    This the query which gives output as select substr(c.department_edesc,1,15)Department ,      substr(a.employee_code,1,8)Code,      substr(b.employee_edesc,1,20)Name ,      SUBSTR(min(a.log_time),1,8) INTIEM,      SUBSTR(max(a.log_time),1,8) OUTTIEM,

  • ERROR REPORTE RPCPAYMX_CFDI_MANAGER

    Buen día Hugo: Por medio del presente solicito tu apoyo, al activar la nota 1953642 marco el siguiente error en el reporte RPCPAYMX_CFDI_MANAGER, el cual nos dice que no existe el campo FISCAL_PAGE_DATE", nos puedes apoyar para ver en donde se tiene