Script Panel - Work in progress

Hi All,
Working on a Script Panel to make scripts simpler to run in illustrator.
This is a work in progress...
Looking for some people to help test and make suggestions.
at the moment this is a Windows only program... Sorry Mac users
and right now it is still an AHK file.
so I'm looking for people who already use AHK (AutoHotKey)
both files need to be saved in the same directory. would be best if they had their own folder.
Settings file needs to be manually updated at this point and will need the path to your desired script folder and the path to your illustrator updated for it to work.
once AHK file is running it will scan the script folder for scripts.
will also scan sub folders but only 1 deep, this way groups of scripts can be organized.
Window will appear center screen, just drag the panel to where you want it.
so far you can mouse click any script to run it.
it is also tied to the "Tilde" or "Back Tick" / "~" or "`" no shift needed.
This will make the window active and allow you keyboard access to the scripts. ie. "Tilde 24 Enter" will run script 24
I have plans for settings window so any variable such as paths, font etc. can be set from the program.
And also will make the sub folders collapsible for simpler viewing.
Can't wait for thoughts and suggestions.
http://qwertyfly.com/files/Script%20Menu/

Bridgetalk is working.
now I'm having version issues. its running the script in CC, not CC2014.
tried:
       bt.target = "illustrator";            //hoping this would use current active
    bt.target = "illustrator-18";         //seen this used for CS versions but not CC+
    bt.target = "illustrator-18.0";       //seen this used for CS versions but not CC+
    bt.target = "illustrator-18.1.1";     //as displayed by alert(app.version);
    bt.target = "illustrator-18.064";     //as shown in ESTK target application
Also a little worried about the bridgetalk loading the whole script to a variable.
is this going to increase resources? (maybe not but not sure how to check)

Similar Messages

  • Works in ExtendScript and not in Script Panel [JS, CS3]

    I've adapted the FindChangeByList script to work with a particular page.
    The trouble is a couple of text boxes need to be removed entirely.
    So I've included the lines:-
    var myDoc = app.activeDocument;
    var myPageItems = myDoc.allPageItems;
    for(var i=myPageItems.length-1;i>=0;i--)
        if(myPageItems[i].constructor.name.toString()=="TextFrame")
    if (myPageItems[i].contents == "WIN £50"||myPageItems[i].contents == "WIN £100") {
    myPageItems[i].select();
    myPageItems[i].remove();
    ... then the script gets down to doing the changes prescribed by the list
    myObject = app.documents.item(0);
    myFindChangeByList(myObject);
    When I run the script in ExtendScript the boxes vanish as intended.
    But when I run it from the InDesign scripts panel, the text frames stay where they are and their contents get changed along with the contents of the other text frames.
    I've alt clicked the script in the scripts panel to make sure I've got the right script. It's one of those head-scratchy-am-I-going-dafter affairs.

    After testing the box deletion part in the scripts panel and thus checking that it wasn't the culprit, I saved the box deleter script and the specialised FindChangeFromList script in the InDesign Scripts folder (so they don't appear in the Scripts Panel) and wrote an Applescript which does two "do scripts". When run from the scripts panel this script does the job. Inelegant, I know, but ours is not to reason why, ours is to get it working.

  • JS Scripts not working in CS3

    When I was using CS2 2 years ago I was asked to make a calendar for a client. I used a script from Adobe Exchange. I have been asked to do the same this year. I am now running CS3... however this is the first time I have used my scripting panel since I upgraded and am having some troubles.
    I looked though a list of possible scripts and picked a few to try... But non of them seemed to work. I kept on trying more and more but none of them would run (even fairly new ones). I noticed that the file extentsion for this scripts is .JS but the scripts that come with CS3 is .JSX. I tried changing the extension but that did nothing.
    When I double click on the script from the scripting pannel it does nothing. just a micro second of seeing the spinning wheel and then back to the normal cursor.
    Any help? Am I missing something?
    Also this is on a Mac OS

    Thanks Dave
    Based on the information you have posted I have been doing everything correctly. But I am still having no luck.
    I did read an article by David Blatner on InDesign Secrets that talks about using the "Version" folders at http://indesignsecrets.com/using-old-scripts-in-cs3.php
    He mentions at the end a tip for people having trouble:
    >Bonus Script Troubleshooting Tip
    >By the way, Ive gotten a couple of emails from people who simply cant get their scripts to run on their Mac. They even did clean installations and the scripts still dont work. I was flummoxed, but Ryan Russelldedicated InDesignSecrets fancame up with a solution that worked for him. He noticed (with the help of Adobes tech support) that some of his folder names on his hard drive were slightly wrong.
    >Specifically, the folders in this path:
    >User>Library>Preferences>Adobe InDesign>Version 5.0
    >werent named the same as in this path:
    >User>Library>Cache>Adobe InDesign>Version 5.0
    >Apparently, thats all it takes for InDesign to break. He renamed the folders and all his scripts suddenly started working again. I dont know if that will help anyone else, but its worth looking into.
    Now I had a look at both folders and compared the two... they appear to be completely different and don't seem to relate at all. I don't know what I should try based on this suggestion.

  • (CS3 JS) script runs differently from Scripts Panel vs. ESTK2

    First things first: INDD CS3 / Javascript
    I have a strange thing happening and am wondering if y'all have run into this as well. I have a fairly simple script (primarily just find/change queries). It works like a charm when running it from ESTK2; however, when running it from the scripts panel within INDD, it skips two of the find/change queries inexplicably. 90% of the script works the same, but there are two sections of the script that seem to just not fire.
    And yes, I have made double-sure that I am running the same script and that the one I am running from ESTK2 and from INDD are the exact same, saved versions.
    Is there a fundamental difference between running from the scripts panel and firing from ESTK2? I ran both on the same template, then undid each step-by-step, and it appears that both times the script ran the queries in the same order; however, when it hit a certain spot in the script, one version (the one fired from ESTK2) shows where the text was deleted, and the other looks like it did nothing.
    Is this something that any of you have run across as well? If necessary, I can post the code; however, I figured at this point, I would just ask the general theoretical question of why there might be a difference.
    Thanks!
    Matt Hollowell

    Thanks for the response Kasyan and Peter. I was beginning to feel like that lone person afflicted by some rare scripting illness. I am going to try and solve this later today. I am thinking maybe I need to target INDD with a statement or define an application specific variable or something to ensure that the script "knows" what it is supposed to be doing when run from the scripts panel. I am still confounded why it would run differently, and all I can think is that when it is run from ESTK2, it understands something inherently that needs to be specifically defined when run from the scripts panel.
    The other strange thing is that 90% of the script works as expected; it's just two specific find/change arguments that seem to get skipped.
    If I can figure out what is going on, I will post here, in case someone in the future runs across a similar problem.
    Matt

  • Blank Preflight and Script Panel Indesign CS5

    This problem has reocurred - started after I first installed CS5 with a blank Preflight panel only, but has been stable for many months (actually stable is not a word I associate with CS5). Both the Preflight and the Script panel are now blank - when yesterday they were fully functioning. Can anyone help with this. If any more wheels fall off my CS5 I am going to bite the bullet and revert to CS4.
    Thanks.

    Just updated CS to latest and
    everything is working.

  • JQuery script not working after DW update

    After updating to the latest DreamWeaver Version 12 build 5861 a jQuery script for collapsible panels no longer works.
    I had used the script many times in the past few years on various sites and when I open the html and php pages I created in the past the script still runs in Live View and as a web page.
    As I mentioned above since I updated to build 5861 the script no longer works for any new pages I create. I used FireFox view source to confirm the links to the jQuery engine and the actual script are correct. I have placed the engine script link above the actual script, as well as deleted additional links to other engines used by other plug-ins.
    Any thoughts would be appreciated.

    I discovered the cause but not the solution.
    After the update and the creation of a new site the first element I created involved a jQuery script and when I went to check it's functionality it failed. I have been mostly obsessing on getting various scripts to work. As I mentioned if I placed the code in the head all was fine, if I linked to a script file it failed and according to FireFox view source the html was linked to the file.
    Well a few minutes ago I bypassed the script issue and placed an image in a document and saw that Dreamweaver wrote the code as a absolute path to the image rather than a relative path.
    Before the update DW accepted a relative path for the scripts such as:
        <script type="text/javascript" src="scripts/diQuery-collapsiblePanel.js"></script>
    After the update I can get the scripts to work if I enter absolute paths:
        <script src="http://localhost/panel/scripts/diQuery-collapsiblePanel.js"></script>
    The funny thing is that the CSS files work fine with relative paths.
    I thought perhaps I set the site up incorrectly and had the links referencing the Site Root instead of the document but thats not the case. It is set to Document and should be creating Relative paths to images.
    I can not see any other Preference settings involving the way paths are written. I would really like to get back to Relative paths for all elements.
    Any thoughts?

  • When placing each search result in its own collapse panel, only first panel works (PHP foreach loop)

    Hi there,
    <?php foreach ($results as $result): ?>
      <div id="CollapsiblePanel1" class="CollapsiblePanel">
        <div class="CollapsiblePanelTab">
    <?php echo htmlspecialchars($result['name'], ENT_QUOTES, 'UTF-8'); ?>   
        </div>
        <div class="CollapsiblePanelContent">
      <?php echo htmlspecialchars($result['description'], ENT_QUOTES, 'UTF-8'); ?>
        </div>
      </div>
      <?php endforeach; ?>
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
      </script>
    Above is the segment where I want to generate a list of results using PHP/SQL. I know for sure that there isn't anything wrong with the PHP, there's something about the collapsible panels that I can't get my head around...
    WHAT I WANT IT TO DO:
    Display the result of my query, each in a collapsible panel with the Name in the panel's tab and the additional Description on the panel's content area. Do this for all results.
    WHAT IT DOES:
    The above, except that only the first collapsible panel works (collapses fine). The results following are still in collapsible panels with the exception that they don't collapse at all.
    So can anyone come up with a good solution to fix this? Something quick will do (that I don't have to make drastic changes to my code), I suspect that it has something to do with this line:
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
    That it recognizes the first panel as CollapsiblePanel1, the other panels are just unknown... I don't know, that's all I can come up with. Thanks for your time.

    Thanks for the tip Gramps, got to the solution!
    <?php foreach ($results as $result): ?>
      <div id="CollapsiblePanel<?php echo htmlspecialchars($result['id'], ENT_QUOTES, 'UTF-8'); ?>"  " class="CollapsiblePanel">
        <div class="CollapsiblePanelTab">
    <?php echo htmlspecialchars($result['name'], ENT_QUOTES, 'UTF-8'); ?>  
        </div>
        <div class="CollapsiblePanelContent">
      <?php echo htmlspecialchars($result['description'], ENT_QUOTES, 'UTF-8'); ?>
        </div>
      </div>
    <script type="text/javascript">
    var CollapsiblePanel<?php echo htmlspecialchars($result['id'], ENT_QUOTES, 'UTF-8'); ?> = new Spry.Widget.CollapsiblePanel("CollapsiblePanel<?php echo htmlspecialchars($result['id'], ENT_QUOTES, 'UTF-8'); ?>");
      </script>
      <?php endforeach; ?>
    By allowing the script to loop and matching the id. Nice suggestion for the accordion but unfortunately the code above was just an example... the actual results will include tables, <hr> and whatnot.
    Being new to the Dreamweaver scene (actually to be honest, I've only started learning about web development a week ago) why are the Spry js (or just Spry in particular) files so large? Are there plugins/methods I can get to delete some features I don't need? I have absolutely no experience with JS... yet.

  • Ann: Script Panel replacement for CS5

    I've been working on a fun project the last few weeks in the new Extension Builder for CS5.
    Here's what I came up with (I think it's very cool!) :
    http://in-tools.com/wordpress/script-bay/script-panel-replacement-for-the-entire-creative- suite
    Harbs

    I don't think Adobe pays very much for this stuff, unfortunately...
    I'm gonna have some more fun with it yet. Stay tuned...
    Harbs

  • Scripts stoped worked!

    Help! I always use the CornerEffects script and now it no longer works - and it appears that none of my scripts work. I've been copying and pasting shapes that I've already applied with the CornerEffects script, but this is quite limiting.

    Run this one-line script:
    app.scriptPreferences.userInteractionLevel = 
    UserInteractionLevels.INTERACT_WITH_ALL;
    (Save as plain text with a jsx extension and place in your Script 
    Panel folder. Open up your script panel and double click.)
    Harbs
    http://www.in-tools.com
    Innovations in Automation

  • Script runs differently from ESTK and Scripts panel

    Recently I was reported about a problem with one of my scripts, that packages ID documents: a guy wrote me that when he runs it from ESTK, script works fine, but when run from Scripts panel — creates empty folders, does nothing more but generates an error (there's an error handler in the script that logs errors into a text file):
    Error: Invalid value for parameter 'versionComments' of event 'packageForPrint'. Expected String, but received TRUE.
    It's strange, because I don't use this optional parameter in the script.
    BTW, on my computers it works ok, both in ID and ESTK.
    Does anybody encountered this problem? Any ideas on why this happens?
    Kasyan

    He probably has his scriptPreferences version set to 5. To make your script foolproof, you should probably set the scriptPreferences yourself (and restore them when you are don to be nice...)
    BTW, kAppVersion = parseFloat(app.version) is a more readable form for getting the version number...
    Harbs

  • CS4, script files are not showing in script panel

    I dont ever use scripts but I did have one i downloaded to use for CS3.  Its been a while but I thought I just dropped it into the Scripts folder and it would show up in the scripts panel in InDesign.  I just put that same script in my new CS4 scripts folder and its not showing up.  I even restarted ID to make sure and it still doesnt.  Is there something im forgetting?

    CS4 has a slightly different model.
    In the Scripts folder, there is a folder called "Scripts Panel". For scripts to show within the Scripts panel in InDesign, place your scripts within this internal folder.

  • Script that worked in CS does not work in CS4 - multiple open page, print , pdf export and close

    I had a script that worked great for me in Indesign CS. But now does not work in CS4. Anyone knows what needs to be done to make it work again ?
    When I drop folder with indesign files on top of this script:
    1. opens first page
    2. turns specific layer on
    3. prints using preset
    4. exports using preset
    5. close without saving
    6. next page
    Anyone who can give me solution or idea how this should work is greatly appreciated.
    on open sourceFolders
    repeat with sourceFolder in sourceFolders
    tell application "Finder"
    try
    -- If you would like to include subfolders, you say - every file of entire contents of folder…
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias list
    on error -- work around bug if there is only one file
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias as list
    end try
    end tell
    if idFiles is not {} then
    tell application "Adobe InDesign CS4"
    set user interaction level to never interact
    repeat with i from 1 to count of idFiles
    open item i of idFiles
    tell document 1
    try
    set visible of layer "ImagesTag_Layer" to true
    end try
    set myPreset to "letter size" -- name of print style to use
    with timeout of 700 seconds
    print using myPreset without print dialog
    end timeout
    set myPreset1 to "pdf preset name" -- name of pdf export style to use
    set myName to the name -- name includes .indd should remove at some point          
    with timeout of 700 seconds
    export format PDF type to "users:temp:Desktop:pdf:" & myName & ".pdf" using myPreset1 without showing options -- set path here format ComputerName:Folder1:Folder2:......:FileName.pdf
    end timeout
    close without saving
    end tell
    end repeat
    set user interaction level to interact with all
    end tell
    end if
    return 10 -- try again in 10 seconds
    end repeat
    end open

    (Disclaimer: me not an AS guy!)
    First thing I noticed is the interaction level is set off. If you comment out this line
    set user interaction level to never interact
    you might be able to pinpoint the exact error -- ID will display a standard "failed" dialog, hopefully showing the line that it fails on.
    A quick question: the script assumes two presets in your InDesign: one for print ("letter size") and one for PDFs ("pdf preset name"):
    set myPreset to "letter size" -- name of print style to use
    set myPreset1 to "pdf preset name" -- name of pdf export style to use 
    Do these actually exist in your CS4, with the same (non)capitalization and spaces?

  • Auto GR/IR for Semi Finished goods in Work in Progress stage.

    Dear All,
    What are account postings going to happen while issuing semi finished goods from from one process to other process by using Auto GR/IR.
    Regards,
    Venkat.

    Dear sapper2000,
    Work in progress:If my understanding is correct,then any unfinished product can be said as work in progress.
    Work in process or progress  are  partially completed goods, parts, or subassemblies that are no longer part of the raw
    materials inventory and not yet part of the finished products inventory.Check this link to explore more on this topic,
    http://wiki.sdn.sap.com/wiki/display/ERPFI/UnderstandingResultsAnalysisforWIP
    Regards
    Mangalraj.S

  • How do I untick "Don't ask again" on Script Stopped Working

    I started getting a pop up telling me something similar to "A script has stopped working, do you want to stop it or continue" with two buttons accordingly. Also there was a tick box saying "Don't show this again".
    I got sick of it happening so regularly and having to tick the Continue button - well it didn't tell me which script had stopped working and I wanted to Firefox to keep working and have all my plugins to continue working so clicked the Continue button, it would be good to know which script is not working so that it might help find out what's wrong and why it's not working... it's like most things that go wrong on PCs, "There has been and error, ---- will now close" Tell us what the error is so that we can report it to the programmers and they can fix it !?!?!?!?!
    Anyway, I ticked the "Don't ask again" and clicked Continue...
    Now Firefox pauses for about 5 seconds and sometimes longer every so often, and occasionally I see what appears to be this warning dialogue box flicker onto the screen for a split second...!?
    How do I untick this box so that I get the buttons back so that I can stop the script working and then I'll be more likely to find out what's making this script not work by some part of Firefox or a plugin then not working and tell someone about it, rather than making things slow down so much...
    I didn't know I had all the plugins listed below installed, where do they come from as I don't remember telling the machine that I've got Netscape- which I haven't as far as I know...?!
    == This happened ==
    Not sure how often
    == I ticked the box telling it not to tell me again and continue...

    reset "dom.max_script_run_time" under about:config
    http://support.mozilla.com/en-US/kb/warning+Unresponsive+script

  • Help! Script that works in 8.1.7 does not work in 9.2.0

    I have a generic hot backup script that runs well in our 8i environment where I source the username and password for SYS from a secured txt file. However I could not get the script to work in our recently installed 9.2.0 environment.
    Below is an extract of the hot backup script:
    # Set environment
    . ${HOME}/BACKUP/${DBNAME}.env
    CONNECT_STRING=`${HOME}/admin/Util/syspass.sh sys $DBNAME`
    export CONNECT_STRING
    #Define some commands and files
    SQLPLUS="${ORACLE_HOME}/bin/sqlplus -s ${CONNECT_STRING}"
    TIME_STAMP=`date +"%d-%b-%Y"`
    # Test for duplicate filenames
    $SQLPLUS <<-EOF
    var numfiles number;
    BEGIN
    SELECT count(*) into :numfiles
    FROM dba_data_files a, dba_data_files b
    WHERE a.file_name != b.file_name
    AND SUBSTR(a.file_NAME, INSTR(a.file_name, '/', -1) + 1)
    = SUBSTR(b.file_NAME, INSTR(b.file_name, '/', -1) + 1);
    END;
    exit :numfiles
    EOF
    FILE_ERROR=$?
    echo "Number of duplicate files $FILE_ERROR"
    if [ $FILE_ERROR -gt 0 ]; then
    echo "Aborting, ... $FILE_ERROR duplicate filenames"
    exit
    fi
    As per the extract above,
    in our 8.1.7 environment,
    (1) the command CONNECT_STRING=`${HOME}/admin/Util/syspass.sh sys $DBNAME`
    will result in CONNECT_STRING=sys/xxxxxx@<sid>
    (2) the command SQLPLUS="${ORACLE_HOME}/bin/sqlplus -s ${CONNECT_STRING}"
    will result in SQLPLUS=/usr/oracle/product/8.1.7/bin/sqlplus -s sys/xxxxxx@<sid>
    (3) and when issue $SQLPLUS <<-EOF
    it connects fine and execute the procedure successfully.
    in Oracle 9.2.0,
    (1) the command CONNECT_STRING=`${HOME}/admin/Util/syspass.sh sys $DBNAME`
    works fine with result same as in 8.1.7 - CONNECT_STRING=sys/xxxxxx@<sid>
    (2) the command SQLPLUS="${ORACLE_HOME}/bin/sqlplus -s ${CONNECT_STRING}"
    works fine with result SQLPLUS=/usr/oracle/product/9.2.0/bin/sqlplus -s sys/xxxxxx@<sid>
    (3) However, when issue $SQLPLUS <<-EOF returns an error:
    ERROR:
    ORA-28009: connection to sys should be as sysdba or sysoper
    How can I fix that??
    Is it because of the username/password structure (sys/xxxxxx@<sid>)??
    I would like to keep such username/password format if possible.
    I have also tried to hard coded the username/password for variable SQLPLUS as:
    SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -S '/ as sysdba'"
    But it still doesn't work when issue $SQLPLUS, it returns the following:
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
    <logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
    <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
    "-H" displays the SQL*Plus version banner and usage syntax
    "-V" displays the SQL*Plus version banner
    "-L" attempts log on just once
    "-M <o>" uses HTML markup options <o>
    "-R <n>" uses restricted mode <n>
    "-S" uses silent mode
    Any ideas as to how to have the script run in 9.2.0??
    Your help is much appreciated.

    Hi, I tried CJ’s suggestion; however it still doesn’t work for me.
    I tried assigning the command line to a variable, I tried to log in directly from the command line, and both don’t work (see below). What did I do wrong??
    $ SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -S \"sys/xxxxxx@<sid> as sysdba\""
    $ echo $SQLPLUS
    /usr/oracle/product/9.2.0/bin/sqlplus -S "sys/xxxxxx@<sid> as sysdba"
    $ $SQLPLUS
    Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
    where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
    <logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
    <start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
    "-H" displays the SQL*Plus version banner and usage syntax
    "-V" displays the SQL*Plus version banner
    "-L" attempts log on just once
    "-M <o>" uses HTML markup options <o>
    "-R <n>" uses restricted mode <n>
    "-S" uses silent mode
    $ sqlplus "sys/xxxxxx@<sid> as sysdba"
    SQL*Plus: Release 9.2.0.4.0 - Production on Wed Mar 24 08:53:05 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges

Maybe you are looking for

  • Display Username on G/L account line item display of T-code FAGLB03

    Hi Experts: Now I have a issue,we want to display the header level username (BKPF-USNAM) on the list of G/L account line item display.What I want to ask is if there is another report existed in which contain this field? Or only change the standard co

  • Usage of  sync-asyn bridge problem in BPM in particular scenario

    scenario is to send a Stock availability check from one suboffice to other suboffice which does not involve any R/3 activities. I need to send SOAP request to XI, BPM receives request through synchronous interface. BPM has to send request to DB throu

  • ITunes store does not connect

    When I try to log into iTunes, I keep getting this error message: "We could not complete your iTunes store request.  The network connect was lost.  There was an error in the iTunes store.  Please try again later."  I've tried EVERYTHING from the help

  • VisualAge 2.0 and WebLogic 4.5.1

    anyone that can tell me what I should do exactly for developing/debugging EJB's using WebLogic 4.5.1 and VA/Java 2.0 ? I've seen some messages going around on that matter but I still end up with the notorious Dr. Watson the moment the demopool is cre

  • Why can't got element from XML

    I try to load an XML element from an XML file using HTTPService Object . But The loaded object always null . Here is my XML Content <?xml version="1.0" standalone="no"?> <manifest identifier="imsmanifest.xml" version="1.3" xmlns=" http://www.imsgloba